diff --git a/website/src/pages/en/ai-suite/token-api-mcp/claude.mdx b/website/src/pages/en/ai-suite/token-api-mcp/claude.mdx index 3e21f4d7e165..4fe6f0318776 100644 --- a/website/src/pages/en/ai-suite/token-api-mcp/claude.mdx +++ b/website/src/pages/en/ai-suite/token-api-mcp/claude.mdx @@ -10,14 +10,10 @@ sidebarTitle: Claude Desktop - [`npx`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) or [`bunx`](https://bun.sh/) installed and available in your path. - The `@pinax/mcp` package requires Node 18+, as it relies on built-in `fetch()` / `Headers`, 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. -![Screenshot of Claude Desktop's settings panel showing the MCP server configuration option.](/img/claude-preview-token-api.png) - ## Configuration Create or edit your `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` @@ -38,7 +34,7 @@ Create or edit your `claude_desktop_config.json` file. ## Troubleshooting -To enable logs for the MCP, use the `--verbose true` option. +To enable logs for the MCP, add the option `"--verbose": "true"` under `"args"`. ### ENOENT @@ -46,13 +42,11 @@ To enable logs for the MCP, use the `--verbose true` option. Try to use the full path of the command instead: -- Run `which npx` or `which bunx` to get the path of the command. +- Run `which npx` or `which bunx` in the command line interface to get the path of the command. - Replace `npx` or `bunx` in the configuration file with the full path (e.g. `/home/user/bin/bunx`). ### Server disconnected ![Connection error notification in Claude Desktop displaying 'Server disconnected' message.](/img/claude-server-disconnect.png) -Double-check your API key otherwise look in your navigator if `https://token-api.mcp.thegraph.com/sse` is reachable. - -> You can always have a look at the full logs under `Claude/logs/mcp.log` and `Claude/logs/mcp-server-pinax.log` for more details. +Double-check your API key. Otherwise, look in your navigator if `https://token-api.mcp.thegraph.com/sse` is reachable.