← Back to Plugins
MCP Server MCP

TokenLab MCP Server

github By github 👁 1 views ▲ 0 votes

TokenLab MCP server: 31 default and 80 full-profile tools for models, media, tasks, and files.

Homepage Verified source GitHub

Install

npx -y @tokenlabai/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@tokenlabai/mcp-server",
      "version": "0.6.17",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Optional TokenLab API base URL. Defaults to https://api.tokenlab.sh.",
          "format": "string",
          "name": "TOKENLAB_API_BASE"
        },
        {
          "description": "Optional TokenLab API key. Required for LLM inference, multimodal generation, async task, embedding, rerank, and translation tools.",
          "format": "string",
          "isSecret": true,
          "name": "TOKENLAB_API_KEY"
        },
        {
          "description": "Optional request timeout in milliseconds. Defaults to 120000.",
          "format": "number",
          "name": "TOKENLAB_REQUEST_TIMEOUT_MS"
        },
        {
          "description": "Optional generated tool profile: catalog, core (default), or full.",
          "format": "string",
          "name": "TOKENLAB_MCP_TOOL_PROFILE"
        },
        {
          "description": "Optional tool schema mode: portable, exact, or strict. Defaults to the selected profile's tested mode.",
          "format": "string",
          "name": "TOKENLAB_MCP_SCHEMA_MODE"
        },
        {
          "description": "Optional maximum local upload size per file. Defaults to 104857600 bytes.",
          "format": "number",
          "name": "TOKENLAB_MCP_MAX_FILE_BYTES"
        },
        {
          "description": "Optional maximum response size returned inline. Defaults to 2097152 bytes.",
          "format": "number",
          "name": "TOKENLAB_MCP_INLINE_BYTES"
        },
        {
          "description": "Optional local directory for response artifacts that are not returned inline.",
          "format": "string",
          "name": "TOKENLAB_ARTIFACT_DIR"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...