corti-mcp
v1.0.0
Published
Claude Desktop stdio-to-Streamable HTTP proxy for Corti API
Downloads
90
Maintainers
Readme
@corti/mcp
MCP proxy for Claude Desktop — bridges stdio ↔ Corti's Streamable HTTP API.
Claude Desktop (stdio) ↔ @corti/mcp ↔ Corti API (HTTPS)Quick Start
No installation needed — run directly with npx:
npx @corti/mcp --key crt_your_api_key_hereGet your API key from app.corti.wiki → Settings → MCP Keys.
Claude Desktop Setup
Add the following to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"corti": {
"command": "npx",
"args": ["-y", "@corti/mcp", "--key", "crt_your_api_key_here"]
}
}
}Tip: The
-yflag skips thenpxinstall prompt so Claude Desktop doesn't hang.
Restart Claude Desktop after saving the config. You should see Corti appear in the MCP servers list.
Options
| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| --key / -k | ✅ | — | Corti MCP API key (crt_…) |
| --endpoint / -e | ❌ | https://api.corti.wiki/mcp/ | Upstream MCP endpoint |
Custom endpoint (self-hosted)
{
"mcpServers": {
"corti": {
"command": "npx",
"args": [
"-y", "@corti/mcp",
"--key", "crt_your_key",
"--endpoint", "https://your.corti.instance/mcp/"
]
}
}
}Claude Code / Windsurf / Cursor
Any MCP-compatible client that supports stdio servers works the same way.
Claude Code:
claude mcp add corti -- npx -y @corti/mcp --key crt_your_keyWindsurf / Cursor — use the same JSON block in their respective MCP config files.
How It Works
@corti/mcp is a transparent proxy:
- Receives MCP JSON-RPC messages from Claude Desktop via stdin
- Forwards each request to the Corti API at
https://api.corti.wiki/mcp/over HTTPS, injectingAuthorization: Bearer <key> - Streams responses back to Claude Desktop via stdout
No data is stored locally. All processing happens in the Corti cloud.
Security
- Your API key is passed via CLI args and stored only in Claude Desktop's config.
- The proxy adds the key as an HTTP
Authorization: Bearerheader on every upstream request. - Use workspace-scoped MCP keys — never your account password.
Troubleshooting
Claude Desktop shows "Server failed to start":
- Make sure
node≥ 18 is on your PATH - Run
npx @corti/mcp --key crt_xxxmanually in a terminal to see error output
"Missing required option '--key'":
- Your config is missing the
--keyarg. Double-check your JSON config.
Tools not showing up:
- Your API key may not have access to any workspace. Log in to app.corti.wiki and create a workspace first.
Development
git clone https://github.com/heavaa/corti.git
cd corti/packages/mcp-proxy
npm install
npm run build
npm test
# Run locally
node dist/index.js --key crt_xxxLicense
MIT © Heavaa
