Skip to content
Cursor

Token Context MCP for Cursor

io.github.mck564/token-context-mcp

On-demand, local code-context MCP server for AI coding agents with Tree-sitter AST.

client:Cursor transport:stdio runtime:pypi

Install Token Context MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "token-context-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "token-context-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Token Context MCP in other clients