Thanks for your interest in the Kosli MCP Server!
git clone https://github.com/kosli-dev/mcp-server.git
cd mcp-server
npm install
npm run build
npm test- Create a branch from
main. - Make your changes — run
npm testandnpm run buildbefore pushing. - Open a pull request against
main.
- Commits and PR titles follow Conventional Commits (
feat:,fix:,docs:, etc.). - TypeScript with
strict: true. Relative imports use.jsextensions (ESM). - Tests use Vitest. Run with
npm testornpm run test:watch.
The server exposes three tools — search_actions, execute_read_action, and execute_write_action — driven by a catalog generated from Kosli's OpenAPI spec. See CLAUDE.md for a detailed architecture overview.
In most cases, just regenerate the catalog:
npm run generate-catalogThe new endpoint becomes discoverable automatically. No code changes needed.
npm run pack:mcpb
open kosli-mcp-server-*.mcpb # opens Claude Desktop install dialogYou don't need to touch the version for an ordinary change — maintainers bump it when cutting a release. If you do, use npm version rather than editing package.json:
npm version patch --no-git-tag-version # or minor / majorThat updates package.json, package-lock.json, and the generated src/version.ts together. src/version.ts is generated by scripts/sync-version.mjs and should never be edited by hand; npm run sync-version repairs it if it drifts, and npm test fails when it does.
Releases are automated via GitHub Actions. See the Releasing section in CLAUDE.md for the full procedure.