mcpField
2

2kw.ai

Local

About 2kw.ai

EU-hosted AI platform: OpenAI-compatible LLM gateway, document extraction, transcription, agents

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"ai-2kw": {
"command": "npx",
"args": [
"-y",
"@2kw/ai-mcp-server"
],
"env": {
"AI_2KW_API_KEY": "<AI_2KW_API_KEY>",
"AI_2KW_BASE_URL": "<AI_2KW_BASE_URL>",
"AI_2KW_MEMORY": "<AI_2KW_MEMORY>"
}
}
}
}
Run commandnpx -y @2kw/ai-mcp-server
Environment variables to set
AI_2KW_API_KEYSecretAPI key for the 2kw.ai platform
AI_2KW_BASE_URLOverride the API base URL for self-hosted deployments
AI_2KW_MEMORYtrue opts agent runs into agent memory (X-Backbone-Memory: enabled)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@2kw/ai-mcp-server8.0.3

Tools

197

Saved tool list · updated 3d ago

ParameterTypeRequiredDescription
stoparrayNoStop sequences
modelstringYesModel identifier in 'provider/model' format
toolsarrayNoTool definitions for function calling
top_pnumberNoTop-p (nucleus) sampling
messagesarrayYesChat messages array
max_tokensnumberNoMaximum tokens to generate
temperaturenumberNoSampling temperature (0-2)
tool_choiceanyNoTool choice: 'auto', 'none', 'required', or object
response_formatobjectNoResponse format constraint
response_format.typeenumYestext | json_object
presence_penaltynumberNo
frequency_penaltynumberNo

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.