AI & Machine Learning
tokensafe.dev
TokenSafe MCP server provides prompt distillation plus license, version, and team usage metrics to help reduce LLM token consumption.
ENDPOINT 1
https://api.tokensafe.dev/mcp
MCP server metadata
- Name
- tokensafe-cloud-mcp
- Version
- 2.6.0
TokenSafe Cloud: team metrics, license status, managed prompt distillation, shared team cache and billing. Auth: 'Authorization: Bearer <license key>'. Local code-slicing tools live in the stdio server (npx -y tokensafe mcp).
Known tools 13
get_public_statsReturns aggregated public TokenSafe stats (total tokens saved, active teams).
Inferred read-onlycheck_latest_versionChecks the client version against the latest published tokensafe release.
Inferred read-onlyget_license_statusValidates the Bearer license key and returns tier, expiry and trial state.
Inferred read-onlyget_team_metricsReturns the authenticated account's dashboard data: savings, telemetry stats, licenses and team seats.
Inferred read-onlydistill_promptManaged Cloud Distillation: compiles a verbose developer prompt into a dense TOCP S-expression server-side.
Inferred read-onlyteam_cache_storeStores a distilled result in the shared team cache so teammates reuse it.
Inferred read-onlyget_setup_instructionsReturns exact MCP configuration snippets for a coding agent (cursor, claude_desktop, claude_code, codex, windsurf, antigravity, gemini_cli).
Inferred read-onlysearch_docsSearches the built-in TokenSafe knowledge base (features, install, tiers, privacy).
Inferred read-onlypreview_weekly_digestTeam owner: previews the weekly team stats digest (same data as the Friday email).
Potential side effectsCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.tokensafe-cloud-mcp]
url = "https://api.tokensafe.dev/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"tokensafe-cloud-mcp": {
"type": "http",
"url": "https://api.tokensafe.dev/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: tokensafe-cloud-mcp
Remote MCP URL: https://api.tokensafe.dev/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"tokensafe-cloud-mcp": {
"url": "https://api.tokensafe.dev/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"tokensafe-cloud-mcp": {
"type": "http",
"url": "https://api.tokensafe.dev/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "tokensafe-cloud-mcp",
"transport": "streamable-http",
"url": "https://api.tokensafe.dev/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.