Back to MCP Servers
🧩

TokenLab MCP Server

API key required

TokenLab MCP server: generate images and video, call models. 32 default and 89 full-profile tools.

To add TokenLab MCP Server to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 9 environment variables, listed below.

FilesAIDevTools

Install

npx -y @tokenlabai/mcp-server@0.6.39

Environment variables

TOKENLAB_API_BASESet in your MCP config
TOKENLAB_API_KEYSet in your MCP config
TOKENLAB_REQUEST_TIMEOUT_MSSet in your MCP config
TOKENLAB_MCP_TOOL_PROFILESet in your MCP config
TOKENLAB_MCP_SCHEMA_MODESet in your MCP config
TOKENLAB_MCP_MAX_FILE_BYTESSet in your MCP config
TOKENLAB_MCP_INLINE_BYTESSet in your MCP config
TOKENLAB_ARTIFACT_DIRSet in your MCP config
TOKENLAB_MANAGEMENT_TOKENSet in your MCP config

Install with your client

Terminal
claude mcp add tokenlab --env TOKENLAB_API_BASE=<YOUR_TOKENLAB_API_BASE> --env TOKENLAB_API_KEY=<YOUR_TOKENLAB_API_KEY> --env TOKENLAB_REQUEST_TIMEOUT_MS=<YOUR_TOKENLAB_REQUEST_TIMEOUT_MS> --env TOKENLAB_MCP_TOOL_PROFILE=<YOUR_TOKENLAB_MCP_TOOL_PROFILE> --env TOKENLAB_MCP_SCHEMA_MODE=<YOUR_TOKENLAB_MCP_SCHEMA_MODE> --env TOKENLAB_MCP_MAX_FILE_BYTES=<YOUR_TOKENLAB_MCP_MAX_FILE_BYTES> --env TOKENLAB_MCP_INLINE_BYTES=<YOUR_TOKENLAB_MCP_INLINE_BYTES> --env TOKENLAB_ARTIFACT_DIR=<YOUR_TOKENLAB_ARTIFACT_DIR> --env TOKENLAB_MANAGEMENT_TOKEN=<YOUR_TOKENLAB_MANAGEMENT_TOKEN> -- npx -y @tokenlabai/mcp-server@0.6.39

Run this in a terminal to add the server to Claude Code.

What this does

TokenLab MCP Server exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

TOKENLAB_API_BASE
TOKENLAB_API_KEY
TOKENLAB_REQUEST_TIMEOUT_MS
TOKENLAB_MCP_TOOL_PROFILE
TOKENLAB_MCP_SCHEMA_MODE
TOKENLAB_MCP_MAX_FILE_BYTES
TOKENLAB_MCP_INLINE_BYTES
TOKENLAB_ARTIFACT_DIR
TOKENLAB_MANAGEMENT_TOKEN

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install TokenLab MCP Server?

Run the Claude Code command in the install section to add TokenLab MCP Server to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with TokenLab MCP Server?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to TokenLab MCP Server as well.

Does TokenLab MCP Server need an API key?

Yes. Before it can run, set these environment variables: TOKENLAB_API_BASE, TOKENLAB_API_KEY, TOKENLAB_REQUEST_TIMEOUT_MS, TOKENLAB_MCP_TOOL_PROFILE, TOKENLAB_MCP_SCHEMA_MODE, TOKENLAB_MCP_MAX_FILE_BYTES, TOKENLAB_MCP_INLINE_BYTES, TOKENLAB_ARTIFACT_DIR, TOKENLAB_MANAGEMENT_TOKEN. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-hedging8563-tokenlab)](https://clauderules.net/mcp/io-github-hedging8563-tokenlab)
HTML
<a href="https://clauderules.net/mcp/io-github-hedging8563-tokenlab" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-hedging8563-tokenlab" alt="Listed on clauderules.net" /></a>