Claude for Desktop (Beta) - Your AI partner on desktop. Fast, focused, and designed for deep work.

https://claude.ai/download

Authentication

  1. Create a free account at https://thegraph.market using your GitHub credentials as login.
  2. Go to Dashboard
  3. Create New Key
  4. Generate Access Token

Configuration

  • You will need npx or bunx installed and available in your path.
  • The @pinax/mcp package requires Node 18+, as it relies on built-in fetch(), which are not available in Node 17 or older. You may need to specify an exact path to an up-to-date Node version, or uninstall previous versions of Node to ensure @pinax/mcp uses the correct version.

You will need to either create or edit your Claude/claude_desktop_config.json file.

Settings > Developer > Edit Config

  • OSX: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: .config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "token-api": {
      "command": "npx",
      "args": [
        "@pinax/mcp",
        "--sse-url",
        "https://token-api.thegraph.com/sse"
      ],
      "env": {
        "ACCESS_TOKEN": "<https://thegraph.market JWT Access Token>"
      }
    }
  }
}

Troubleshooting

To enable logs for the MCP, use the --verbose true option.

ENOENT

Try to use the full path of the command instead:

  • Run which npx or which bunx to get the path of the command
  • Replace npx or bunx in the configuration file with the full path

Example: /home/user/bin/bunx

Server disconnected

Double-check your API key otherwise look in your navigator if https://token-api.thegraph.com/sse is reachable.

ENOENT

Server disconnected

You can always have a look at the full logs under Claude/logs/mcp.log and Claude/logs/mcp-server-token-api.log for more details.