NestDaddy

TokenLab MCP Server

io.github.hedging8563/tokenlab ยท v0.6.48

TokenLab MCP server: generate images and video, call models. 32 default and 89 full-profile tools.

Connect Runs on your machine

Terminal
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]
claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
TOKENLAB_API_BASE
Optional
Optional TokenLab API base URL. Defaults to https://api.tokenlab.sh.
TOKENLAB_API_KEY
Optional, secret
Optional TokenLab API key. Required for LLM inference, multimodal generation, async task, embedding, rerank, and translation tools.
TOKENLAB_REQUEST_TIMEOUT_MS
Optional
Optional request timeout in milliseconds. Defaults to 120000.
TOKENLAB_MCP_TOOL_PROFILE
Optional
Optional generated tool profile: catalog, core (default), or full.
TOKENLAB_MCP_SCHEMA_MODE
Optional
Optional tool schema mode: portable, exact, or strict. Defaults to the selected profile's tested mode.
TOKENLAB_MCP_MAX_FILE_BYTES
Optional
Optional maximum local upload size per file. Defaults to 104857600 bytes.
TOKENLAB_MCP_INLINE_BYTES
Optional
Optional maximum response size returned inline. Defaults to 2097152 bytes.
TOKENLAB_ARTIFACT_DIR
Optional
Optional local directory for response artifacts that are not returned inline.
TOKENLAB_MANAGEMENT_TOKEN
Optional, 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 published13 Nov 2026
Last updated13 Nov 2026
Registry nameio.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.