Skip to content

Commit 010631d

Browse files
Merge branch 'Subgraph-MCP' of https://github.com/graphprotocol/docs into Subgraph-MCP
2 parents 2c3a32d + ed669c4 commit 010631d

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ Replace the contents of the existing config file with:
5353

5454
### 3. Add Your API Keys
5555

56-
1. Replace `ACCESS_TOKEN` with your Token API key from [The Graph Market](https://thegraph.market/)
57-
2. Replace `GATEWAY_API_KEY` with your Gateway API key from [Subgraph Studio](https://thegraph.com/studio/apikeys/)
56+
Replace:
57+
- `ACCESS_TOKEN` with your Token API key from [The Graph Market](https://thegraph.market/)
58+
- `GATEWAY_API_KEY` with your Gateway API key from [Subgraph Studio](https://thegraph.com/studio/apikeys/)
5859

5960
### 4. Save and Restart
6061

61-
Save the configuration file and restart Claude Desktop.
62+
- Save the configuration file
63+
- Restart Claude Desktop
6264

6365
### 5. Add The Graph Resources in Claude
6466

@@ -68,7 +70,7 @@ After configuration:
6870
2. Click on the context menu (top right)
6971
3. Add "The Graph" resource by entering `graphql://subgraph` for Subgraph MCP
7072

71-
**Important**: You must manually add The Graph resources to your chat context for each conversation where you want to use them.
73+
> **Important**: You must manually add The Graph resources to your chat context for each conversation where you want to use them.
7274
7375
### 6. Run Queries
7476

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ After configuring Claude Desktop:
118118
3. Click on the context menu (top right)
119119
4. Add "The Graph" 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 "The Graph" resource to your chat context for each conversation where you want to use it.
122122
123123
## Troubleshooting
124124

@@ -151,7 +151,7 @@ The Subgraph MCP provides several tools for interacting with Subgraphs:
151151
- **Deployment ID** (e.g., `0x4d7c...`): Identifier for a specific, immutable deployment. Use `execute_query_by_deployment_id` or `get_schema_by_deployment_id`.
152152
- **IPFS Hash** (e.g., `QmTZ8e...`): Identifier for the manifest of a specific, immutable deployment. Use `execute_query_by_deployment_id` (the gateway treats it like a deployment ID for querying) or `get_schema_by_ipfs_hash`.
153153

154-
## Natural Language Queries
154+
## Benefits of Natural Language Queries
155155

156156
One of the most powerful features of the Subgraph MCP integration is the ability to ask questions in natural language. Claude will:
157157

0 commit comments

Comments
 (0)