TokenLab MCP Server for Grok
io.github.hedging8563/tokenlab
TokenLab MCP server: 31 default and 80 full-profile tools for models, media, tasks, and files.
client:Grok
transport:stdio
runtime:npm
Install TokenLab MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"tokenlab": {
"type": "stdio",
"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>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs