TokenLab MCP Server for Zed
io.github.hedging8563/tokenlab
TokenLab MCP server: 31 default and 80 full-profile tools for models, media, tasks, and files.
client:Zed
transport:stdio
runtime:npm
Install TokenLab MCP Server in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"tokenlab": {
"command": "npx",
"args": [
"-y",
"@tokenlabai/mcp-server"
],
"env": {
"TOKENLAB_API_BASE": "<TOKENLAB_API_BASE>",
"TOKENLAB_API_KEY": "<TOKENLAB_API_KEY>",
"TOKENLAB_REQUEST_TIMEOUT_MS": "<TOKENLAB_REQUEST_TIMEOUT_MS>",
"TOKENLAB_MCP_TOOL_PROFILE": "<TOKENLAB_MCP_TOOL_PROFILE>",
"TOKENLAB_MCP_SCHEMA_MODE": "<TOKENLAB_MCP_SCHEMA_MODE>",
"TOKENLAB_MCP_MAX_FILE_BYTES": "<TOKENLAB_MCP_MAX_FILE_BYTES>",
"TOKENLAB_MCP_INLINE_BYTES": "<TOKENLAB_MCP_INLINE_BYTES>",
"TOKENLAB_ARTIFACT_DIR": "<TOKENLAB_ARTIFACT_DIR>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs