From fcfd2b649efb729ad53560b3777e7f320ffdea30 Mon Sep 17 00:00:00 2001 From: Sahra Date: Thu, 22 May 2025 14:07:39 +0300 Subject: [PATCH 1/2] docs: update subgraph mcp resource name from The Graph to Subgraph Server Instructions --- website/src/pages/en/resources/claude-mcp.mdx | 2 +- website/src/pages/en/subgraphs/mcp/claude.mdx | 4 ++-- website/src/pages/en/subgraphs/mcp/cline.mdx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/src/pages/en/resources/claude-mcp.mdx b/website/src/pages/en/resources/claude-mcp.mdx index 365d23e1e207..edb81e888a12 100644 --- a/website/src/pages/en/resources/claude-mcp.mdx +++ b/website/src/pages/en/resources/claude-mcp.mdx @@ -69,7 +69,7 @@ After configuration: 1. Start a new conversation in Claude Desktop 2. Click on the context menu (top right) -3. Add "The Graph" as a resource by entering `graphql://subgraph` for Subgraph MCP +3. Add "Subgraph Server Instructions" as a resource by entering `graphql://subgraph` for Subgraph MCP > **Important**: You must manually add The Graph resources to your chat context for each conversation where you want to use them. diff --git a/website/src/pages/en/subgraphs/mcp/claude.mdx b/website/src/pages/en/subgraphs/mcp/claude.mdx index cb023bed7bf0..8b61438d2ab7 100644 --- a/website/src/pages/en/subgraphs/mcp/claude.mdx +++ b/website/src/pages/en/subgraphs/mcp/claude.mdx @@ -116,9 +116,9 @@ After configuring Claude Desktop: 1. Restart Claude Desktop 2. Start a new conversation 3. Click on the context menu (top right) -4. Add "The Graph" as a resource by adding `graphql://subgraph` to your chat context +4. Add "Subgraph Server Instructions" as a resource by adding `graphql://subgraph` to your chat context -> **Important**: Claude Desktop may not automatically utilize the Subgraph MCP. You must manually add "The Graph" resource to your chat context for each conversation where you want to use it. +> **Important**: Claude Desktop may not automatically utilize the Subgraph MCP. You must manually add "Subgraph Server Instructions" resource to your chat context for each conversation where you want to use it. ## Troubleshooting diff --git a/website/src/pages/en/subgraphs/mcp/cline.mdx b/website/src/pages/en/subgraphs/mcp/cline.mdx index 6714e445c0b2..156221d9a127 100644 --- a/website/src/pages/en/subgraphs/mcp/cline.mdx +++ b/website/src/pages/en/subgraphs/mcp/cline.mdx @@ -45,7 +45,7 @@ After configuring Cline: 1. Restart Cline 2. Start a new conversation 3. Enable the Subgraph MCP from the context menu -4. Add "The Graph" as a resource to your chat context +4. Add "Subgraph Server Instructions" as a resource to your chat context ## Available Tools and Usage From f8cc61d33bf00e8687984f7a8ceb4e6edf1b76d4 Mon Sep 17 00:00:00 2001 From: Sahra Date: Fri, 23 May 2025 12:05:36 +0300 Subject: [PATCH 2/2] docs: add token api config --- website/src/pages/en/resources/claude-mcp.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/src/pages/en/resources/claude-mcp.mdx b/website/src/pages/en/resources/claude-mcp.mdx index edb81e888a12..5b55bbcbe0a4 100644 --- a/website/src/pages/en/resources/claude-mcp.mdx +++ b/website/src/pages/en/resources/claude-mcp.mdx @@ -40,6 +40,13 @@ Replace the contents of the existing config file with: ```json { "mcpServers": { + "token-api": { + "command": "npx", + "args": ["@pinax/mcp", "--sse-url", "https://token-api.thegraph.com/sse"], + "env": { + "ACCESS_TOKEN": "ACCESS_TOKEN" + } + }, "subgraph": { "command": "npx", "args": ["mcp-remote", "--header", "Authorization:${AUTH_HEADER}", "https://subgraphs.mcp.thegraph.com/sse"],