SmarToken MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SmarToken MCP what models are available and how much do they cost?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SmarToken MCP
A stdio MCP server exposing list_models (public model metadata and pricing) and chat_completion (one text request). Model list and pricing can change; consult the live model endpoint and pricing.
The model lookup and one paid DeepSeek V4.1 Flash completion have been verified against the production API through the official Python MCP client. Other models and individual host applications should be verified in their own environments.
chat_completion sends the user's prompt to SmarToken and can incur charges. It uses the user's own SMTOKEN_API_KEY, bounded output, and does not automatically retry. A timeout or server error can leave the outcome unknown: check usage and request logs before retrying. Model output is untrusted content. Review your MCP client's approval settings; tool annotations do not guarantee approval prompts.
Get started
Create an account or sign in. Registration does not include free API credit.
Open Billing and add prepaid credit before making billable calls. Check the payment amount before confirming.
Open API keys and create a key. Copy the full key when shown; existing keys cannot be revealed again. Set an appropriate budget and model scope.
Install uv and configure your MCP client below. Use your own key and keep it private.
Cursor and Claude Desktop configuration
Use the following entry in Cursor's global ~/.cursor/mcp.json or a project's .cursor/mcp.json. For Claude Desktop, use ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\\Claude\\claude_desktop_config.json on Windows. Merge the entry into an existing mcpServers object rather than replacing other servers. See Cursor's MCP guide and the MCP SDK Claude guide.
{
"mcpServers": {
"smartoken": {
"command": "/absolute/path/to/uvx",
"args": ["smartoken-mcp==0.1.3"],
"env": { "SMTOKEN_API_KEY": "YOUR_SMARTOKEN_KEY" }
}
}
}Replace the executable path with the result of which uvx on macOS/Linux or where uvx on Windows, and replace the placeholder with your SmarToken key. Windows paths in JSON need escaped backslashes. These JSON files contain a secret: restrict file access, do not commit or share them, and prefer your client's secure secret storage if available. Restart the client and confirm that list_models and chat_completion appear. list_models does not require a key or charge; chat_completion sends the prompt and can incur charges. Ask the client to list SmarToken models first; then explicitly request a short completion with an available text model.
The server reports links when a key is missing or invalid. For HTTP 402 it distinguishes insufficient balance from a key budget/model-scope limit when the API identifies the cause; otherwise check both Billing and API keys. Errors from network failures or HTTP 5xx can leave the request outcome unknown: inspect usage before retrying. Do not automatically retry.
This is a local stdio server, not a remote URL. It does not change the host application's underlying model and does not provide balance or account-management tools. It does not support tool calls, images or structured output in model requests. Client approval settings determine whether tool use prompts for confirmation.
The MCP server is a tool interface; installing it does not change your host application’s underlying model. See the API quickstart for direct Python, JavaScript and LiteLLM examples.
Available Tools
2 toolschat_completionB
Send one text prompt to the chosen SmarToken model. This can incur a charge; no automatic retries.
Inputs: model (required), prompt (required), max_tokens.
list_modelsARead-only
List currently advertised models and their published prices. Availability can change.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools serve clearly separate purposes: model discovery versus executing a chat completion. An agent can easily choose list_models for metadata and chat_completion for inference.
Both names follow a consistent snake_case verb_noun pattern. list_models and chat_completion are predictable and readable.
Two tools is thin for an API-wrapper server, though each is necessary for the apparent core workflow. It sits at the borderline of minimal-but-sufficient.
The surface covers model listing and a single-prompt completion, but lacks obvious adjacent operations such as multi-turn chat, streaming, or usage/billing introspection. These gaps are manageable but notable.
Related MCP Connectors
Connect MCP clients to 2,000+ AI models without managing provider API keys.
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
MCP commerce surface for compute credits, API keys, GPU instances, and cloud storage.
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables LLM chat with routing and failover, balance checking, and model listing via MCP.3-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to browse and compare model catalogs, pick models by budget or context window, and run completions metered to the caller's own API key.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to browse a live catalog of 100+ models with pricing, rankings and measured uptime, check credits and spend, and send chat completions through an OAuth-authenticated, per-connection key capped by a spend limit. Read tools are free, and paid calls are priced and approved before any credit is used.MIT
- AlicenseAqualityBmaintenanceExposes an OpenAI-compatible inference endpoint to MCP hosts, enabling them to list available models and run non-streaming chat completions as tools.2MIT