From 00d6571bdab8a3e6f88f4695b45951b44ce7eaa9 Mon Sep 17 00:00:00 2001 From: Andrew <36178664+UrsaPolarisRecords@users.noreply.github.com> Date: Wed, 9 Jul 2025 19:07:31 -0700 Subject: [PATCH 1/3] Update claude.mdx - Removed outdated screenshot - Removed outdated instructions (no more developer tab under settings, edit config file only) - Added clarification for how to add logging in config file --- .../src/pages/en/ai-suite/token-api-mcp/claude.mdx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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..807ca1acdd61 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. From 2b1b4aec033621a41241fc7bb28597b0a8f9e3af Mon Sep 17 00:00:00 2001 From: Andrew <36178664+UrsaPolarisRecords@users.noreply.github.com> Date: Wed, 9 Jul 2025 19:19:00 -0700 Subject: [PATCH 2/3] Update claude.mdx --- website/src/pages/en/ai-suite/token-api-mcp/claude.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 807ca1acdd61..2aaa0ffa52f1 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 @@ -34,7 +34,7 @@ Create or edit your `claude_desktop_config.json` file. ## Troubleshooting -To enable logs for the MCP, add the option `"--verbose": "true"` under "args". +To enable logs for the MCP, add the option `"--verbose": "true"` under "args". ### ENOENT From 9aaa824f940c974dc4870fbeccb0531e06a02020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Rouleau?= Date: Thu, 10 Jul 2025 16:45:20 +0200 Subject: [PATCH 3/3] Update website/src/pages/en/ai-suite/token-api-mcp/claude.mdx --- website/src/pages/en/ai-suite/token-api-mcp/claude.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2aaa0ffa52f1..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 @@ -34,7 +34,7 @@ Create or edit your `claude_desktop_config.json` file. ## Troubleshooting -To enable logs for the MCP, add the option `"--verbose": "true"` under "args". +To enable logs for the MCP, add the option `"--verbose": "true"` under `"args"`. ### ENOENT