Skip to content

Commit 77ef47f

Browse files
Edits
1 parent 4e9ccc8 commit 77ef47f

File tree

4 files changed

+28
-18
lines changed

4 files changed

+28
-18
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ With these integrations, you can:
2121

2222
## Configuration Steps
2323

24-
2524
### 1. Open Configuration File
2625

2726
Navigate to your `claude_desktop_config.json` file:
@@ -61,12 +60,12 @@ Replace the existing configuration with this template:
6160
}
6261
```
6362

64-
### Step 3: Add Your API Keys
63+
### 3. Add Your API Keys
6564

6665
1. Replace `ACCESS_TOKEN` with your Token API key from [The Graph Market](https://thegraph.market/)
6766
2. Replace `GATEWAY_API_KEY` with your Gateway API key from [Subgraph Studio](https://thegraph.com/studio/apikeys/)
6867

69-
### Step 4: Save and Restart
68+
### 4. Save and Restart
7069

7170
Save the configuration file and restart Claude Desktop.
7271

@@ -76,7 +75,7 @@ After configuration:
7675

7776
1. Start a new conversation in Claude Desktop
7877
2. Click on the context menu (top right)
79-
3. Add "The Graph" resource by entering `graphql://subgraph` for Subgraph MCP and/or `token-api://token-api` for Token API
78+
3. Add "The Graph" resource by entering `graphql://subgraph` for Subgraph MCP
8079

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

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,20 @@ With the Subgraph MCP integration, you can:
2020
- [Claude Desktop](https://claude.ai/download) installed
2121
- A Gateway API key from [Subgraph Studio](https://thegraph.com/studio/)
2222

23-
## Configuration
23+
## Configuration Steps
2424

25-
Edit your `claude_desktop_config.json` file.
25+
### 1. Open Configuration File
26+
27+
Navigate to your `claude_desktop_config.json` file:
2628

2729
> **Settings** > **Developer** > **Edit Config**
2830
2931
- OSX: `~/Library/Application Support/Claude/claude_desktop_config.json`
3032
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
3133
- Linux: `.config/Claude/claude_desktop_config.json`
3234

35+
### 2. Add Configuration
36+
3337
Paste the following settings into your config file:
3438

3539
```json label="claude_desktop_config.json"
@@ -48,8 +52,12 @@ Paste the following settings into your config file:
4852
}
4953
```
5054

55+
### 3. Add Your Gateway API Key
56+
5157
Replace `GATEWAY_API_KEY` with your API key from [Subgraph Studio](https://thegraph.com/studio/).
5258

59+
### 4. Save and Restart
60+
5361
Once you've entered your Gateway API key into your settings, you can save the file, and restart Claude desktop.
5462

5563
## Using The Graph Resource in Claude

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ The Subgraph Model Context Protocol (MCP) server enables Cline to interact direc
1010
- A Gateway API key from [Subgraph Studio](https://thegraph.com/studio/)
1111
- [`npx`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) or [`bunx`](https://bun.sh/) installed and available in your path
1212

13-
## Configuration
13+
## Configuration Steps
14+
15+
### 1. Open Configuration File
1416

1517
Create or edit your `cline_mcp_settings.json` file.
1618

1719
> **MCP Servers** > **Installed** > **Configure MCP Servers**
1820
21+
### 2. Add Configuration
22+
1923
```json label="cline_mcp_settings.json"
2024
{
2125
"mcpServers": {
@@ -32,6 +36,8 @@ Create or edit your `cline_mcp_settings.json` file.
3236
}
3337
```
3438

39+
### 3. Add Your API Key
40+
3541
Replace `GATEWAY_API_KEY` with your API key from Subgraph Studio.
3642

3743
## Using Both Token API MCP and Subgraph MCP Together

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ The Subgraph Model Context Protocol (MCP) server enables Cursor to interact dire
1010
- A Gateway API key from [Subgraph Studio](https://thegraph.com/studio/)
1111
- [`npx`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) or [`bunx`](https://bun.sh/) installed and available in your path
1212

13-
## Configuration
13+
## Configuration Steps
14+
15+
### 1. Open Configuration File
1416

1517
Create or edit your `~/.cursor/mcp.json` file.
1618

1719
> **Cursor Settings** > **MCP** > **Add new global MCP Server**
1820
21+
### 2. Add Configuration
22+
1923
```json label="mcp.json"
2024
{
2125
"mcpServers": {
@@ -32,6 +36,8 @@ Create or edit your `~/.cursor/mcp.json` file.
3236
}
3337
```
3438

39+
### 3. Add Your API Key
40+
3541
Replace `GATEWAY_API_KEY` with your API key from Subgraph Studio.
3642

3743
## Using Both Token API MCP and Subgraph MCP Together
@@ -43,7 +49,7 @@ You can configure Cursor to use both the Token API MCP and Subgraph MCP simultan
4349
"mcpServers": {
4450
"token-api": {
4551
"command": "npx",
46-
"args": ["@pinax/mcp", "--sse-url", "https://token-api.thegraph.com/sse"],
52+
"args": ["@pinax/mcp", "--sse-url", "https://token-api.mcp.thegraph.com/sse"],
4753
"env": {
4854
"ACCESS_TOKEN": "ACCESS_TOKEN"
4955
}
@@ -64,15 +70,6 @@ You can configure Cursor to use both the Token API MCP and Subgraph MCP simultan
6470
- For Token API access tokens, visit [The Graph Market](https://thegraph.com/explorer)
6571
- For Subgraph Gateway API keys, visit [Subgraph Studio](https://thegraph.com/studio/)
6672

67-
## Using The Graph Resource in Cursor
68-
69-
After configuring Cursor:
70-
71-
1. Restart Cursor
72-
2. Start a new conversation
73-
3. Enable the Subgraph MCP from the MCP settings menu
74-
4. Add "The Graph" resource to your chat context
75-
7673
## Available Subgraph Tools and Usage
7774

7875
The Subgraph MCP provides several tools for interacting with Subgraphs:

0 commit comments

Comments
 (0)