TokenLab MCP Server
An MCP server exposing TokenLab model discovery, pricing, and API tools for text, media, embeddings, and translation.
安裝
npx -y @tokenlabai/mcp-server
把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。
介紹
OpenAPI-generated Model Context Protocol server for TokenLab's public model catalog and developer API. It provides tools for model discovery, pricing, request building, and direct access to supported TokenLab endpoints. The server supports multiple tool profiles: `catalog` for public-only discovery, `core` for common API operations, and `full` for the broader allowlisted API surface. It also includes MCP resources and prompts for API overview and request construction. Credentialed tools cover text inference, image generation and editing, video, music, 3D, async task polling, files, embeddings, rerank, and translation. The README documents Docker, npm, and `npx` usage, plus environment variables for API base, API key, and tool profile selection.