TokenSafe

v5.0.2
dev.tokensafe/tokensafe Checked 6 hours ago Published 2 hours ago

Your AI agent is smart enough to code all day.

This server failed our last smoke test; it may not start.
Has high-severity static-analysis findings pending human review.

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add tokensafe -- npx -y tokensafe@5.0.0 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "tokensafe": {
      "args": [
        "-y",
        "tokensafe@5.0.0",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tokensafe": {
      "args": [
        "-y",
        "tokensafe@5.0.0",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "tokensafe": {
      "args": [
        "-y",
        "tokensafe@5.0.0",
        "mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tokensafe]
command = "npx"
args = ["-y", "tokensafe@5.0.0", "mcp"]

PyPI (uvx)

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add tokensafe -- uvx tokensafe==5.0.0 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "tokensafe": {
      "args": [
        "tokensafe==5.0.0",
        "mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tokensafe": {
      "args": [
        "tokensafe==5.0.0",
        "mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "tokensafe": {
      "args": [
        "tokensafe==5.0.0",
        "mcp"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tokensafe]
command = "uvx"
args = ["tokensafe==5.0.0", "mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http tokensafe https://api.tokensafe.dev/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "tokensafe": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.tokensafe.dev/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tokensafe": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://api.tokensafe.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "tokensafe": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://api.tokensafe.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tokensafe]
command = "npx"
args = ["-y", "mcp-remote", "https://api.tokensafe.dev/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json