Skip to main content

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smartoken-mcp 0.1.0
File Size Uploaded Provenance Actions
smartoken_mcp-0.1.0.tar.gz 5.5 kB With provenance Details for smartoken_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for smartoken-mcp 0.1.0
File Interpreter ABI Platform Actions
smartoken_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for smartoken_mcp-0.1.0-py3-none-any.whl

Total release size: 10.4 kB

Release files / smartoken_mcp-0.1.0.tar.gz

Download URL smartoken_mcp-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
05bb7a694edc4d81fd1277962519613ea17d98c1ba5f58c4b3afb273c3611dcd
BLAKE2b-256 checksum
How to use checksums
a183e2cfa933a4bcb1372deb45131e92e27123eef264c34833a8cc67c773576e
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 log

Release files / smartoken_mcp-0.1.0-py3-none-any.whl

Download URL smartoken_mcp-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b9c104801e8d22fd8b3c4cdb6acfaaa69daf56a075946c4123d07ed7fe68544
BLAKE2b-256 checksum
How to use checksums
00e582326c9f18d26d31b2819266adcc3a6428f5edf4982092ba6bee8385f436
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 log

Security for smartoken-mcp 0.1.0

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.

Select from 2 files

Attestation for smartoken_mcp-0.1.0.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page