npm · @tokenlabai/mcp-server
$npx -y @tokenlabai/mcp-server@0.6.27 TOKENLAB_API_BASE — Optional TokenLab API base URL. Defaults to https://api.tokenlab.sh.
TOKENLAB_API_KEY · secret — Optional TokenLab API key. Required for LLM inference, multimodal generation, async task, embedding, rerank, and translation tools.
TOKENLAB_REQUEST_TIMEOUT_MS — Optional request timeout in milliseconds. Defaults to 120000.
TOKENLAB_MCP_TOOL_PROFILE — Optional generated tool profile: catalog, core (default), or full.
TOKENLAB_MCP_SCHEMA_MODE — Optional tool schema mode: portable, exact, or strict. Defaults to the selected profile's tested mode.
TOKENLAB_MCP_MAX_FILE_BYTES — Optional maximum local upload size per file. Defaults to 104857600 bytes.
TOKENLAB_MCP_INLINE_BYTES — Optional maximum response size returned inline. Defaults to 2097152 bytes.
TOKENLAB_ARTIFACT_DIR — Optional local directory for response artifacts that are not returned inline.
TOKENLAB_MANAGEMENT_TOKEN · secret — Optional workspace Management Token (mt-...) for webhook tools in the full profile. Separate from inference API keys; never put it in tool arguments.