kosli-dev/mcp-server and distributed as an npm package (@kosli/mcp-server) and as a .mcpb bundle for Claude Desktop.
This server reads the data in your Kosli organization. To let an AI assistant search this documentation instead, see AI access to these docs. The two are complementary, and you can connect both.
How it works
Rather than ship one tool per Kosli endpoint, the server generates a catalog of actions from Kosliβs OpenAPI spec and exposes three generic tools:
These are the tool names your client shows as the assistant works, and the name in the prompt when it asks you to approve a write.
Prerequisites
- Node.js v22 or higher, for the
npx-based install methods. You do not need it for the.mcpbbundle, because Claude Desktop ships its own Node runtime. - A Kosli API key. Use a personal API key when you run the server on your own machine, or a service account key for automation.
- An MCP-capable client, such as Claude Code or Claude Desktop.
Install
- Claude Code
- Claude Desktop (.mcpb)
- Claude Desktop (manual)
- Other MCP clients
Run this from your project directory, or add
--scope user to install it globally:Configuration
The server reads its configuration from environment variables.Example prompts
These prompts only read data, so they run without an approval step. Replace the environment, flow, and trail names with your own.Environments and compliance
- βWhich of my environments are non-compliant, and why?β
- βWhat is running in
prod-awsright now?β - βHas anything changed in
prod-awssince yesterday?β
Audit and evidence
- βList every deployment to
prod-awsin the last 30 days.β - βWhat attestations are on trail
release-456in flowmy-release?β - βWhich artifacts running in
prod-awshave no security scan attestation?β
Limitations
- The action catalog is generated from a snapshot of the OpenAPI spec. New endpoints become available when the catalog is regenerated and a new version of the package is published.
- Ambiguous questions may take several
search_actionscalls before the assistant settles on the right action. - Responses are whatever the Kosli API returns. Large responses consume a lot of context, so ask for specific fields when you can.
Feedback
The server is in beta and we want to hear how it works for you. Email support@kosli.com or open an issue inkosli-dev/mcp-server.