MCP server for TokenLab model discovery, pricing, native endpoints, and inference helpers.
MCP server for TokenLab model discovery, pricing, native endpoints, and inference helpers. That is what the tokenlab mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
OpenAPI-generated Model Context Protocol server for TokenLab public model discovery, pricing, native LLM endpoints, multimodal generation, async tasks, files, embeddings, rerank, translation, resources, prompts, and the broader developer API.
The server publishes 14 tools. What each one is for:
TOKENLAB_API_BASE — optional, defaults to https://api.tokenlab.shTOKENLAB_API_KEY — optional; required for text inference, multimodal generation, async task, embedding, rerank, and translation toolsTOKENLAB_MCP_TOOL_PROFILE — optional, catalog, core (default), or fullTOKENLAB_MCP_SCHEMA_MODE — optional, portable, exact, or strict; defaults to the selected profile's tested modeTOKENLAB_REQUEST_TIMEOUT_MS — optional request timeout in milliseconds, defaults to 120000TOKENLAB_MCP_MAX_FILE_BYTES — optional maximum local upload size per file, defaults to 104857600 (100 MiB)TOKENLAB_MCP_INLINE_BYTES — optional maximum binary/JSON response size returned inline, defaults to 2097152 (2 MiB)TOKENLAB_ARTIFACT_DIR — optional output directory for non-inline response artifacts, defaults to the OS temp directory under tokenlab-mcppackage.json.mcpName — io.github.hedging8563/tokenlabWebsite — https://tokenlab.sh/mcpDocs — https://docs.tokenlab.shOpenAPI — https://docs.tokenlab.sh/openapi.jsonConfiguration is passed through the environment: TOKENLAB_API_BASE, TOKENLAB_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
This sits in the file and storage access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. TokenLab's toolset — TOKENLAB_API_BASE, TOKENLAB_API_KEY, TOKENLAB_MCP_TOOL_PROFILE and 11 more — is a fair guide to whether it matches your workflow. It is maintained by hedging8563; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| TOKENLAB_API_BASE | optional, defaults to https://api.tokenlab.sh |
| TOKENLAB_API_KEY | optional; required for text inference, multimodal generation, async task, embedding, rerank, and translation tools |
| TOKENLAB_MCP_TOOL_PROFILE | optional, catalog, core (default), or full |
| TOKENLAB_MCP_SCHEMA_MODE | optional, portable, exact, or strict; defaults to the selected profile's tested mode |
| TOKENLAB_REQUEST_TIMEOUT_MS | optional request timeout in milliseconds, defaults to 120000 |
| TOKENLAB_MCP_MAX_FILE_BYTES | optional maximum local upload size per file, defaults to 104857600 (100 MiB) |
| TOKENLAB_MCP_INLINE_BYTES | optional maximum binary/JSON response size returned inline, defaults to 2097152 (2 MiB) |
| TOKENLAB_ARTIFACT_DIR | optional output directory for non-inline response artifacts, defaults to the OS temp directory under tokenlab-mcp |
| package.json.mcpName | io.github.hedging8563/tokenlab |
| Website | https://tokenlab.sh/mcp |
| Docs | https://docs.tokenlab.sh |
| OpenAPI | https://docs.tokenlab.sh/openapi.json |
| Skills | https://github.com/hedging8563/tokenlab-skills |
| Profile | Endpoint tools |
{
"mcpServers": {
"tokenlab": {
"command": "npx",
"args": ["-y", "@tokenlabai/mcp-server"],
"env": {
"TOKENLAB_API_BASE": "your-value",
"TOKENLAB_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| TOKENLAB_API_BASE | Credential the server authenticates with. | Yes |
| TOKENLAB_API_KEY | Credential the server authenticates with. | Yes |
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.