2kw.ai
v8.0.3EU-hosted AI platform: OpenAI-compatible LLM gateway, document extraction, transcription, agents.
Values you need
| Variable | What it is | |
|---|---|---|
AI_2KW_API_KEY | required secret | API key for the 2kw.ai platform |
AI_2KW_BASE_URL | optional | Override the API base URL for self-hosted deployments |
AI_2KW_MEMORY | optional | true opts agent runs into agent memory (X-Backbone-Memory: enabled) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-server -e 'AI_2KW_API_KEY=<AI_2KW_API_KEY>' -- npx -y --package=@2kw/ai-mcp-server@8.0.3 2kw-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"--package=@2kw/ai-mcp-server@8.0.3",
"2kw-mcp"
],
"command": "npx",
"env": {
"AI_2KW_API_KEY": "<AI_2KW_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"--package=@2kw/ai-mcp-server@8.0.3",
"2kw-mcp"
],
"command": "npx",
"env": {
"AI_2KW_API_KEY": "<AI_2KW_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "AI_2KW_API_KEY",
"id": "ai-2kw-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-server": {
"args": [
"-y",
"--package=@2kw/ai-mcp-server@8.0.3",
"2kw-mcp"
],
"command": "npx",
"env": {
"AI_2KW_API_KEY": "${input:ai-2kw-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@2kw/ai-mcp-server@8.0.3", "2kw-mcp"]
env = { "AI_2KW_API_KEY" = "<AI_2KW_API_KEY>" }For AI agents
- Ask the user for: AI_2KW_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: 2kw_chat, 2kw_create_response, 2kw_get_response, 2kw_cancel_response, 2kw_list_models, 2kw_list_agents, 2kw_list_agent_catalog, 2kw_get_agent, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json