@kommit/cli
v0.1.7
Published
CLI to install the Kommit MCP server for AI coding tools
Downloads
908
Maintainers
Readme
@kommit/cli
Connect Kommit to your AI coding tools with a single command.
npx @kommit/cli@latest --client claude-codeKommit gives your AI tools persistent project memory — specs, decisions, learnings, and context that carry across sessions.
Quick Start
npx @kommit/cli@latest --client claude-codeThis opens your browser to authenticate, then writes the MCP config to your project. Restart your editor and Kommit is connected.
Supported Tools
| Client | Transport | Config Location |
|--------|-----------|-----------------|
| Claude Code | Native URL | .mcp.json |
| Cursor | Native URL | .cursor/mcp.json |
| VS Code | Native URL | .vscode/mcp.json |
| Claude Desktop | stdio | claude_desktop_config.json |
| Windsurf | stdio | ~/.codeium/windsurf/mcp_config.json |
| Cline | stdio | VS Code global storage |
| Zed | stdio | ~/.config/zed/settings.json |
| Codex | stdio | ~/.codex/config.toml |
| Goose | stdio | ~/.config/goose/config.yaml |
| Gemini CLI | stdio | ~/.gemini/settings.json |
| Aider | stdio | ~/.aider/mcp.yml |
| And more... | | |
Clients with Native URL transport connect directly to the Kommit API — no proxy process needed. Stdio clients use mcp-remote as a bridge.
Options
--client AI tool to install for (interactive prompt if omitted)
--key API key — skip browser auth (useful for CI/CD)
--global Write to global config instead of project-local
--name Server name in the config (default: "kommit")Examples
# Interactive — prompts you to pick a client
npx @kommit/cli@latest
# Direct install for Cursor (global config)
npx @kommit/cli@latest --client cursor --global
# Headless / CI — provide key directly
npx @kommit/cli@latest --client claude-code --key km_your_key_hereHow It Works
- CLI starts a local server and opens your browser to
getkommit.ai/cli-auth - You log in and click "Authorize"
- Kommit creates an API key and sends a short-lived code back to the CLI
- CLI exchanges the code for the key and writes your config file
The API key never appears in your browser URL or history.
Links
License
MIT
