TokenLab MCP Server
io.github.hedging8563/tokenlab
TokenLab MCP server: generate images and video, call models. 32 default and 83 full-profile tools.
- Repository
- github.com/hedging8563/tokenlab-mcp-server
- Website
- tokenlab.sh/mcp
- Version
- 0.6.49
- Author
- hedging8563 (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 17, 2026)
How to install it
Variables to fill in: 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.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add tokenlab -e TOKENLAB_API_BASE=YOUR_TOKENLAB_API_BASE -e TOKENLAB_API_KEY=YOUR_TOKENLAB_API_KEY -e TOKENLAB_REQUEST_TIMEOUT_MS=YOUR_TOKENLAB_REQUEST_TIMEOUT_MS -e TOKENLAB_MCP_TOOL_PROFILE=YOUR_TOKENLAB_MCP_TOOL_PROFILE -e TOKENLAB_MCP_SCHEMA_MODE=YOUR_TOKENLAB_MCP_SCHEMA_MODE -e TOKENLAB_MCP_MAX_FILE_BYTES=YOUR_TOKENLAB_MCP_MAX_FILE_BYTES -e TOKENLAB_MCP_INLINE_BYTES=YOUR_TOKENLAB_MCP_INLINE_BYTES -e TOKENLAB_ARTIFACT_DIR=YOUR_TOKENLAB_ARTIFACT_DIR -e TOKENLAB_MANAGEMENT_TOKEN=YOUR_TOKENLAB_MANAGEMENT_TOKEN -- npx -y @tokenlabai/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"tokenlab": {
"command": "npx",
"args": [
"-y",
"@tokenlabai/[email protected]"
],
"env": {
"TOKENLAB_API_BASE": "YOUR_TOKENLAB_API_BASE",
"TOKENLAB_API_KEY": "YOUR_TOKENLAB_API_KEY",
"TOKENLAB_REQUEST_TIMEOUT_MS": "YOUR_TOKENLAB_REQUEST_TIMEOUT_MS",
"TOKENLAB_MCP_TOOL_PROFILE": "YOUR_TOKENLAB_MCP_TOOL_PROFILE",
"TOKENLAB_MCP_SCHEMA_MODE": "YOUR_TOKENLAB_MCP_SCHEMA_MODE",
"TOKENLAB_MCP_MAX_FILE_BYTES": "YOUR_TOKENLAB_MCP_MAX_FILE_BYTES",
"TOKENLAB_MCP_INLINE_BYTES": "YOUR_TOKENLAB_MCP_INLINE_BYTES",
"TOKENLAB_ARTIFACT_DIR": "YOUR_TOKENLAB_ARTIFACT_DIR",
"TOKENLAB_MANAGEMENT_TOKEN": "YOUR_TOKENLAB_MANAGEMENT_TOKEN"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"tokenlab": {
"command": "npx",
"args": [
"-y",
"@tokenlabai/[email protected]"
],
"env": {
"TOKENLAB_API_BASE": "YOUR_TOKENLAB_API_BASE",
"TOKENLAB_API_KEY": "YOUR_TOKENLAB_API_KEY",
"TOKENLAB_REQUEST_TIMEOUT_MS": "YOUR_TOKENLAB_REQUEST_TIMEOUT_MS",
"TOKENLAB_MCP_TOOL_PROFILE": "YOUR_TOKENLAB_MCP_TOOL_PROFILE",
"TOKENLAB_MCP_SCHEMA_MODE": "YOUR_TOKENLAB_MCP_SCHEMA_MODE",
"TOKENLAB_MCP_MAX_FILE_BYTES": "YOUR_TOKENLAB_MCP_MAX_FILE_BYTES",
"TOKENLAB_MCP_INLINE_BYTES": "YOUR_TOKENLAB_MCP_INLINE_BYTES",
"TOKENLAB_ARTIFACT_DIR": "YOUR_TOKENLAB_ARTIFACT_DIR",
"TOKENLAB_MANAGEMENT_TOKEN": "YOUR_TOKENLAB_MANAGEMENT_TOKEN"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"tokenlab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tokenlabai/[email protected]"
],
"env": {
"TOKENLAB_API_BASE": "YOUR_TOKENLAB_API_BASE",
"TOKENLAB_API_KEY": "YOUR_TOKENLAB_API_KEY",
"TOKENLAB_REQUEST_TIMEOUT_MS": "YOUR_TOKENLAB_REQUEST_TIMEOUT_MS",
"TOKENLAB_MCP_TOOL_PROFILE": "YOUR_TOKENLAB_MCP_TOOL_PROFILE",
"TOKENLAB_MCP_SCHEMA_MODE": "YOUR_TOKENLAB_MCP_SCHEMA_MODE",
"TOKENLAB_MCP_MAX_FILE_BYTES": "YOUR_TOKENLAB_MCP_MAX_FILE_BYTES",
"TOKENLAB_MCP_INLINE_BYTES": "YOUR_TOKENLAB_MCP_INLINE_BYTES",
"TOKENLAB_ARTIFACT_DIR": "YOUR_TOKENLAB_ARTIFACT_DIR",
"TOKENLAB_MANAGEMENT_TOKEN": "YOUR_TOKENLAB_MANAGEMENT_TOKEN"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.hedging8563/tokenlab)HTML
<a href="https://lagora.dev/en/entry/io.github.hedging8563/tokenlab"><img src="https://lagora.dev/badge/io.github.hedging8563/tokenlab.svg?lang=en" alt="io.github.hedging8563/tokenlab on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.