TokenLab MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TOKENLAB_API_KEY | No | Optional API key required for inference helper tools | |
| TOKENLAB_API_BASE | No | Optional base URL for the TokenLab API | https://api.tokenlab.sh |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cancel_taskA | Cancel async task Cancels a queued asynchronous task when cancellation is supported for the selected task. Cancellation currently supports queued Seedance video tasks ( |
| create_3d_modelC | Create 3D model generation task Creates a 3D model generation task using Tripo3D. Returns a task ID for polling. |
| create_anthropic_messageA | Create message (Anthropic-compatible) Creates a model response using Anthropic's native request format. Supports Claude models with vision and streaming. Authentication: Use |
| create_chat_completionA | Create an OpenAI-compatible chat completion. For inline image_url data URLs, declare the byte-accurate image MIME type. The MCP boundary corrects recognized PNG, JPEG, WebP, and GIF payloads declared as application/octet-stream and rejects unrecognized generic binary image payloads before sending a billable request. |
| create_embeddingB | Create embeddings Creates an embedding vector representing the input text. |
| create_gemini_contentA | Generate content (Gemini-compatible) Generates content using the native Gemini GenerateContent shape. This route is exposed only when the model details advertise Gemini requests and a same-protocol route is currently available. ProtoJSON lowerCamelCase and original proto snake_case field names are preserved. Unknown fields are forwarded best-effort and support is determined by the selected provider. Authentication: Use |
| create_imageC | Create image Creates an image given a prompt. |
| create_image_fileC | Create image Creates an image given a prompt. |
| create_multimodal_embeddingA | Create multimodal embeddings Creates embeddings for multimodal input items. Text input is generally available; image input may require feature enablement. |
| create_musicC | Create music generation task Creates a music generation task using Suno. Returns a task ID for polling. |
| create_responseA | Create response (OpenAI Responses API) Creates a response using the native OpenAI Responses API shape. The model details must advertise the Responses request format and a same-protocol route must be currently available; model names and providers do not imply availability. Unknown request fields are forwarded on a best-effort basis and remain subject to the selected provider's support. |
| create_speechB | Create speech Generates audio from the input text (Text-to-Speech). |
| create_videoB | Create video generation task Creates an asynchronous video generation task. The response returns a canonical task ID and usually a preferred |
| delete_fileB | Delete file Deletes a batch file or a bound image/reference file. When the request includes anthropic-beta: files-api-2025-04-14, the route uses Anthropic Files API mode for the bound workspace. |
| edit_imageC | Edit image Edits an image using multipart image uploads, JSON image URLs, or the official JSON images array for supported GPT Image models. |
| edit_image_fileC | Edit image Edits an image using multipart image uploads, JSON image URLs, or the official JSON images array for supported GPT Image models. |
| get_modelA | Get model Retrieves current model details, including supported operations, request parameters, request endpoints, selector limits, and pricing when available. Non-chat integrations should read these current model-specific request details before creating a request. |
| get_model_pricingA | Get model pricing Retrieves pricing-only detail for one model. Use this endpoint for price explanation, not for non-chat request construction. |
| get_pricingB | List model pricing Returns the public pricing surface for active models, with optional provider and tag filters. |
| get_task_statusA | Get async task status Retrieves the status and result of an asynchronous generation task. Prefer the |
| list_filesD | List files |
| list_modelsA | List models Lists the currently available models. Use |
| rerank_documentsC | Rerank documents Reranks documents by relevance to a query using semantic similarity. |
| retrieve_fileD | Retrieve file |
| retrieve_file_contentD | Retrieve file content |
| transcribe_audioC | Create transcription Transcribes audio into text (Speech-to-Text). |
| translate_audioB | Translate audio Transcribes audio and translates the result to English. |
| translate_textC | Translate text Translates text into a target language using the current translation request format. |
| upload_fileB | Upload file Uploads a TokenLab/OpenAI-compatible batch or image file. With anthropic-beta: files-api-2025-04-14, uploads an Anthropic Files resource without a purpose field and returns Anthropic file metadata. |
| compare_modelsA | Compare public TokenLab model details and pricing for several model IDs. |
| get_api_overviewA | Fetch TokenLab's agent-readable API overview. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| choose_tokenlab_model | Guide an agent through live model discovery and cost-aware comparison. |
| build_tokenlab_request | Guide an agent to produce a request that preserves the selected native endpoint contract. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| tokenlab-api-overview | Live agent-readable overview of TokenLab endpoints, models, and recovery guidance. |
| tokenlab-openapi-contract | OpenAPI snapshot used to generate this MCP package version. |
| tokenlab-mcp-public-contract | Machine-readable package identity, profiles, tools, resources, and prompts. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hedging8563/tokenlab-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server