kosli-dev/mcp-server and distributed as both an npm package (@kosli/mcp-server) and a .mcpb desktop bundle.
How it works
Rather than ship a tool per Kosli endpoint, the server generates a catalog from Kosli’s OpenAPI spec and exposes three generic tools:
The typical flow is: the LLM calls
search_actions to discover the right action ID and its parameter schema, then calls execute_read_action or execute_write_action with the chosen ID. Both execute tools accept an optional fields array to request only specific top-level fields in the response, which keeps token usage down.
Prerequisites
- Node.js v20 or higher
- A Kosli API token
- An MCP-capable client (Claude Code, Claude Desktop, or any other)
Install
- Claude Code
- Claude Desktop (.mcpb)
- Claude Desktop (manual)
- Other MCP clients
Run from your project directory, or add
--scope user to install globally:Configuration
The server reads configuration from environment variables.Example prompts
Once connected, try prompts like:- “List the environments in my org and tell me which are compliant.”
- “Show me the last 5 deployments to prod-aws.”
- “What attestations are on trail
release-456in flowmy-release?” - “Create a new flow called
payments-api.”
Limitations
- The catalog is generated from a snapshot of the OpenAPI spec. New endpoints land when the catalog is regenerated and a new package is published.
- LLM clients may need several
search_actionscalls before settling on the right action ID for ambiguous queries. - Response shapes are whatever the Kosli API returns. Use the
fieldsparameter on execute calls to trim large responses.
Feedback
Tell us what you think - email support@kosli.com or open an issue atkosli-dev/mcp-server.