Skip to main content
Glama
hedging8563

TokenLab MCP Server

by hedging8563

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOKENLAB_API_KEYNoOptional API key required for inference helper tools
TOKENLAB_API_BASENoOptional base URL for the TokenLab APIhttps://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

CapabilityDetails
tools
{}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 (seedance-1.5-pro, seedance-2.0, and seedance-2.0-fast) while they are still waiting to run. Tasks that are already processing, completed, failed, expired, or unsupported are not cancelled.

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 x-api-key header or Authorization: Bearer header.

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 ?key= query parameter, x-goog-api-key header, or Authorization: Bearer header.

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 poll_url; clients should poll poll_url first, or use /v1/tasks/{id} as the fixed status endpoint.

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 poll_url returned by the create response; /v1/tasks/{id} is the canonical fixed status endpoint for video, music, and 3D jobs.

list_filesD

List files

list_modelsA

List models Lists the currently available models. Use view=compact for model selection and view=full for the existing OpenAI-compatible discovery shape. Native API calls default to full; integrations may choose compact as their default. Non-chat recommendations are available through recommended_for.

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

NameDescription
choose_tokenlab_modelGuide an agent through live model discovery and cost-aware comparison.
build_tokenlab_requestGuide an agent to produce a request that preserves the selected native endpoint contract.

Resources

Contextual data attached and managed by the client

NameDescription
tokenlab-api-overviewLive agent-readable overview of TokenLab endpoints, models, and recovery guidance.
tokenlab-openapi-contractOpenAPI snapshot used to generate this MCP package version.
tokenlab-mcp-public-contractMachine-readable package identity, profiles, tools, resources, and prompts.

Latest Blog Posts

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