Skip to content

Commit 196624c

Browse files
Sahra KarakocMichaelMacaulay
Sahra Karakoc
authored andcommitted
docs: Add Subgraph MPC guide
1 parent 6fd5f81 commit 196624c

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

website/src/pages/en/resources/claude-mcp.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ Replace the contents of the existing config file with:
4040
```json
4141
{
4242
"mcpServers": {
43+
"token-api": {
44+
"command": "npx",
45+
"args": ["@pinax/mcp", "--sse-url", "https://token-api.thegraph.com/sse"],
46+
"env": {
47+
"ACCESS_TOKEN": "ACCESS_TOKEN"
48+
}
49+
},
4350
"subgraph": {
4451
"command": "npx",
4552
"args": ["mcp-remote", "--header", "Authorization:${AUTH_HEADER}", "https://subgraphs.mcp.thegraph.com/sse"],
@@ -69,7 +76,7 @@ After configuration:
6976

7077
1. Start a new conversation in Claude Desktop
7178
2. Click on the context menu (top right)
72-
3. Add "The Graph" as a resource by entering `graphql://subgraph` for Subgraph MCP
79+
3. Add "Subgraph Server Instructions" as a resource by entering `graphql://subgraph` for Subgraph MCP
7380

7481
> **Important**: You must manually add The Graph resources to your chat context for each conversation where you want to use them.
7582

website/src/pages/en/subgraphs/mcp/claude.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ After configuring Claude Desktop:
116116
1. Restart Claude Desktop
117117
2. Start a new conversation
118118
3. Click on the context menu (top right)
119-
4. Add "The Graph" as a resource by adding `graphql://subgraph` to your chat context
119+
4. Add "Subgraph Server Instructions" as a resource by adding `graphql://subgraph` to your chat context
120120

121-
> **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.
121+
> **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.
122122
123123
## Troubleshooting
124124

website/src/pages/en/subgraphs/mcp/cline.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ After configuring Cline:
4545
1. Restart Cline
4646
2. Start a new conversation
4747
3. Enable the Subgraph MCP from the context menu
48-
4. Add "The Graph" as a resource to your chat context
48+
4. Add "Subgraph Server Instructions" as a resource to your chat context
4949

5050
## Available Tools and Usage
5151

0 commit comments

Comments
 (0)