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.
Install locally from this directory in a virtual environment:
python3 -m venv .venv
. .venv/bin/activate
python -m pip install .
export SMTOKEN_API_KEY='your-own-key'
smartoken-mcp
The process speaks MCP over stdio; configure your MCP client to launch the installed executable and provide the environment variable through its secure settings. Never commit a key or include it in a public configuration. The server does not expose balance or usage-account tools, does not support tools, images or structured output in model calls, and does not change the host application's underlying model.
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.
Metadata
Release files for smartoken-mcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smartoken_mcp-0.1.2.tar.gz | 5.7 kB | With provenance | Details for smartoken_mcp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smartoken_mcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for smartoken_mcp-0.1.2-py3-none-any.whl |
Total release size: 10.6 kB
Release files / smartoken_mcp-0.1.2.tar.gz
| Download URL | smartoken_mcp-0.1.2.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f5f4d99ae914347985eebaac776b7b351e53499b2405db885e6de009fba1a38
|
|
BLAKE2b-256 checksum How to use checksums |
b064ed6ff06bdd0667f2d562b945a245e59ba282e758382de8d7d925d3786fd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logRelease files / smartoken_mcp-0.1.2-py3-none-any.whl
| Download URL | smartoken_mcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba1373d275fc96d87633e62674d298126a637e6078ce1603ac21256f46cde04e
|
|
BLAKE2b-256 checksum How to use checksums |
c891063692f07a10b510e72ee32a110443d714fe9f1d86a36e2aeddeac501f82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logSecurity for smartoken-mcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for smartoken_mcp-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.