TokenLab MCP server: generate images and video, call models. 32 default and 89 full-profile tools.
Connect Runs on your machine
claude mcp add tokenlab -e TOKENLAB_API_BASE=<TOKENLAB_API_BASE> -e TOKENLAB_API_KEY=<TOKENLAB_API_KEY> -e TOKENLAB_REQUEST_TIMEOUT_MS=<TOKENLAB_REQUEST_TIMEOUT_MS> -e TOKENLAB_MCP_TOOL_PROFILE=<TOKENLAB_MCP_TOOL_PROFILE> -e TOKENLAB_MCP_SCHEMA_MODE=<TOKENLAB_MCP_SCHEMA_MODE> -e TOKENLAB_MCP_MAX_FILE_BYTES=<TOKENLAB_MCP_MAX_FILE_BYTES> -e TOKENLAB_MCP_INLINE_BYTES=<TOKENLAB_MCP_INLINE_BYTES> -e TOKENLAB_ARTIFACT_DIR=<TOKENLAB_ARTIFACT_DIR> -e TOKENLAB_MANAGEMENT_TOKEN=<TOKENLAB_MANAGEMENT_TOKEN> -- npx -y @tokenlabai/[email protected]
{
"mcpServers": {
"tokenlab": {
"command": "npx",
"args": [
"-y",
"@tokenlabai/[email protected]"
],
"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>",
"TOKENLAB_MANAGEMENT_TOKEN": "<TOKENLAB_MANAGEMENT_TOKEN>"
}
}
}
}
{
"mcpServers": {
"tokenlab": {
"command": "npx",
"args": [
"-y",
"@tokenlabai/[email protected]"
],
"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>",
"TOKENLAB_MANAGEMENT_TOKEN": "<TOKENLAB_MANAGEMENT_TOKEN>"
}
}
}
}
{
"servers": {
"tokenlab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tokenlabai/[email protected]"
],
"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>",
"TOKENLAB_MANAGEMENT_TOKEN": "<TOKENLAB_MANAGEMENT_TOKEN>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
TOKENLAB_API_BASEOptional | Optional TokenLab API base URL. Defaults to https://api.tokenlab.sh. |
TOKENLAB_API_KEYOptional, secret | Optional TokenLab API key. Required for LLM inference, multimodal generation, async task, embedding, rerank, and translation tools. |
TOKENLAB_REQUEST_TIMEOUT_MSOptional | Optional request timeout in milliseconds. Defaults to 120000. |
TOKENLAB_MCP_TOOL_PROFILEOptional | Optional generated tool profile: catalog, core (default), or full. |
TOKENLAB_MCP_SCHEMA_MODEOptional | Optional tool schema mode: portable, exact, or strict. Defaults to the selected profile's tested mode. |
TOKENLAB_MCP_MAX_FILE_BYTESOptional | Optional maximum local upload size per file. Defaults to 104857600 bytes. |
TOKENLAB_MCP_INLINE_BYTESOptional | Optional maximum response size returned inline. Defaults to 2097152 bytes. |
TOKENLAB_ARTIFACT_DIROptional | Optional local directory for response artifacts that are not returned inline. |
TOKENLAB_MANAGEMENT_TOKENOptional, secret | Optional workspace Management Token (mt-...) for webhook tools in the full profile. Separate from inference API keys; never put it in tool arguments. |
Details
| Package | @tokenlabai/[email protected] (NPM, stdio) |
| First published | 13 Nov 2026 |
| Last updated | 13 Nov 2026 |
| Registry name | io.github.hedging8563/tokenlab |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
