TokenisttTokenistt
PricingResourcesBlogDocsLegalAbout UsCareers
private beta · limited accessSign inStart free →
PricingResourcesBlogDocumentationLegalAbout UsCareers
Start free →Sign in
DocsMCP Server — Connecting editors
← Back
Getting Started
MCP Server
Integrations
Features
Reference

MCP Server — Connecting editors

Tokenistt auto-configures the MCP server entry in your editor's config file. Run the connect command once per editor.

Supported hosts

tokenistt connect claude-desktop   # ~/.config/claude/claude_desktop_config.json
tokenistt connect cursor           # ~/.cursor/mcp.json
tokenistt connect windsurf         # ~/.windsurf/mcp.json
tokenistt connect vscode           # .vscode/mcp.json (workspace)

What the connect command does

  • –Locates the editor's MCP config file
  • –Inserts the tokenistt-mcp server entry
  • –Starts the MCP server in daemon mode
  • –Verifies the handshake with a test prompt

Manual config (if auto-connect fails)

// claude_desktop_config.json
{
  "mcpServers": {
    "tokenistt": {
      "command": "tokenistt-mcp",
      "args": ["--port", "9317"],
      "env": {
        "TOKENISTT_WORKSPACE": "my-project"
      }
    }
  }
}

Verify connection

tokenistt status

✓ MCP handshake · claude-desktop
✓ Tokenizer loaded · cl100k_base
✓ Analytics endpoint reachable
✓ Cache fingerprinting active
→ Listening on 127.0.0.1:9317