{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.hedging8563/tokenlab",
  "slug": "tokenlabai.mcp-server",
  "title": "TokenLab MCP Server",
  "summary": "TokenLab MCP server: generate images and video, call models.",
  "version": "0.6.51",
  "serverKey": "tokenlab",
  "pageUrl": "https://mcpkglabs.com/tool/tokenlabai.mcp-server",
  "installMdUrl": "https://mcpkglabs.com/tool/tokenlabai.mcp-server/install.md",
  "trust": {
    "score": 94,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T11:50:46.88060355Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@tokenlabai/mcp-server@0.6.51",
        "tokenlab-mcp-server"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add tokenlab -- npx -y --package=@tokenlabai/mcp-server@0.6.51 tokenlab-mcp-server"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"tokenlab\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@tokenlabai/mcp-server@0.6.51\",\n        \"tokenlab-mcp-server\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"tokenlab\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@tokenlabai/mcp-server@0.6.51\",\n        \"tokenlab-mcp-server\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"tokenlab\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@tokenlabai/mcp-server@0.6.51\",\n        \"tokenlab-mcp-server\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.tokenlab]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@tokenlabai/mcp-server@0.6.51\", \"tokenlab-mcp-server\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "TOKENLAB_API_BASE",
      "required": false,
      "secret": false,
      "description": "Optional TokenLab API base URL. Defaults to https://api.tokenlab.sh.",
      "help": "Optional TokenLab API base URL. Defaults to https://api.tokenlab.sh.",
      "placeholder": "<TOKENLAB_API_BASE>"
    },
    {
      "name": "TOKENLAB_API_KEY",
      "required": false,
      "secret": true,
      "description": "Optional TokenLab API key. Required for LLM inference, multimodal generation, async task, embedding, rerank, and translation tools.",
      "help": "Optional TokenLab API key. Required for LLM inference, multimodal generation, async task, embedding, rerank, and translation tools.",
      "placeholder": "<TOKENLAB_API_KEY>"
    },
    {
      "name": "TOKENLAB_REQUEST_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Optional request timeout in milliseconds. Defaults to 120000.",
      "help": "Optional request timeout in milliseconds. Defaults to 120000.",
      "placeholder": "<TOKENLAB_REQUEST_TIMEOUT_MS>"
    },
    {
      "name": "TOKENLAB_MCP_TOOL_PROFILE",
      "required": false,
      "secret": false,
      "description": "Optional generated tool profile: catalog, core (default), or full.",
      "help": "Optional generated tool profile: catalog, core (default), or full.",
      "placeholder": "<TOKENLAB_MCP_TOOL_PROFILE>"
    },
    {
      "name": "TOKENLAB_MCP_SCHEMA_MODE",
      "required": false,
      "secret": false,
      "description": "Optional tool schema mode: portable, exact, or strict. Defaults to the selected profile's tested mode.",
      "help": "Optional tool schema mode: portable, exact, or strict. Defaults to the selected profile's tested mode.",
      "placeholder": "<TOKENLAB_MCP_SCHEMA_MODE>"
    },
    {
      "name": "TOKENLAB_MCP_MAX_FILE_BYTES",
      "required": false,
      "secret": false,
      "description": "Optional maximum local upload size per file. Defaults to 104857600 bytes.",
      "help": "Optional maximum local upload size per file. Defaults to 104857600 bytes.",
      "placeholder": "<TOKENLAB_MCP_MAX_FILE_BYTES>"
    },
    {
      "name": "TOKENLAB_MCP_INLINE_BYTES",
      "required": false,
      "secret": false,
      "description": "Optional maximum response size returned inline. Defaults to 2097152 bytes.",
      "help": "Optional maximum response size returned inline. Defaults to 2097152 bytes.",
      "placeholder": "<TOKENLAB_MCP_INLINE_BYTES>"
    },
    {
      "name": "TOKENLAB_ARTIFACT_DIR",
      "required": false,
      "secret": false,
      "description": "Optional local directory for response artifacts that are not returned inline.",
      "help": "Optional local directory for response artifacts that are not returned inline.",
      "placeholder": "<TOKENLAB_ARTIFACT_DIR>"
    },
    {
      "name": "TOKENLAB_MANAGEMENT_TOKEN",
      "required": false,
      "secret": true,
      "description": "Optional workspace Management Token (mt-...) for webhook tools in the full profile. Separate from inference API keys; never put it in tool arguments.",
      "help": "Optional workspace Management Token (mt-...) for webhook tools in the full profile. Separate from inference API keys; never put it in tool arguments.",
      "placeholder": "<TOKENLAB_MANAGEMENT_TOKEN>"
    }
  ],
  "expectedTools": [
    "cancel_task",
    "create_3d_model",
    "create_anthropic_message",
    "create_chat_completion",
    "create_embedding",
    "create_gemini_content",
    "create_image",
    "create_image_file",
    "create_multimodal_embedding",
    "create_music",
    "create_response",
    "create_speech",
    "create_video",
    "delete_file",
    "edit_image",
    "edit_image_file",
    "evaluate_decisions",
    "get_model",
    "get_model_pricing",
    "get_pricing",
    "get_task_status",
    "list_files",
    "list_models",
    "rerank_documents",
    "retrieve_file",
    "retrieve_file_content",
    "transcribe_audio",
    "translate_audio",
    "translate_text",
    "upload_file",
    "compare_models",
    "get_api_overview"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: cancel_task, create_3d_model, create_anthropic_message, create_chat_completion, create_embedding, create_gemini_content, create_image, create_image_file, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T11:50:46.88060355Z"
}
