Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion website/src/pages/en/resources/claude-mcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -69,7 +76,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.

Expand Down
4 changes: 2 additions & 2 deletions website/src/pages/en/subgraphs/mcp/claude.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/en/subgraphs/mcp/cline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down