Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/public/img/claude-preview.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/public/img/cline-preview.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/public/img/cursor-preview.png
Binary file not shown.
12 changes: 8 additions & 4 deletions website/src/pages/en/token-api/mcp/claude.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sidebarTitle: Claude Desktop
- [`npx`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) or [`bunx`](https://bun.sh/) installed and available in your path.
- The `@pinax/mcp` package requires Node 18+, as it relies on built-in `fetch()` / `Headers`, which are not available in Node 17 or older. You may need to specify an exact path to an up-to-date Node version, or uninstall previous versions of Node to ensure `@pinax/mcp` uses the correct version.

![Screenshot of Claude Desktop's settings panel showing the MCP server configuration option.](/img/claude-preview.png)
![Screenshot of Claude Desktop's settings panel showing the MCP server configuration option.](/img/claude-preview-token-api.png)

## Configuration

Expand All @@ -25,11 +25,15 @@ Create or edit your `claude_desktop_config.json` file.
```json label="claude_desktop_config.json"
{
"mcpServers": {
"mcp-pinax": {
"token-api": {
"command": "npx",
"args": ["@pinax/mcp", "--sse-url", "https://token-api.thegraph.com/sse"],
"args": [
"@pinax/mcp",
"--sse-url",
"https://token-api.thegraph.com/sse"
],
"env": {
"ACCESS_TOKEN": "<JWT Token from thegraph.market>"
"ACCESS_TOKEN": "<https://thegraph.market JWT Access Token>"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/en/token-api/mcp/cline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sidebarTitle: Cline
- [`npx`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) or [`bunx`](https://bun.sh/) installed and available in your path.
- The `@pinax/mcp` package requires Node 18+, as it relies on built-in `fetch()` / `Headers`, which are not available in Node 17 or older. You may need to specify an exact path to an up-to-date Node version, or uninstall previous versions of Node to ensure `@pinax/mcp` uses the correct version.

![Screenshot of Cline's MCP server configuration interface displaying the JSON settings file with mcp-pinax server details visible](/img/cline-preview.png)
![Screenshot of Cline's MCP server configuration interface displaying the JSON settings file with mcp-pinax server details visible.](/img/cline-preview-token-api.png)

## Configuration

Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/en/token-api/mcp/cursor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sidebarTitle: Cursor
- [`npx`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) or [`bunx`](https://bun.sh/) installed and available in your path.
- The `@pinax/mcp` package requires Node 18+, as it relies on built-in `fetch()` / `Headers`, which are not available in Node 17 or older. You may need to specify an exact path to an up-to-date Node version, or uninstall previous versions of Node to ensure `@pinax/mcp` uses the correct version.

![Screenshot of Cursor's MCP configuration panel.](/img/cursor-preview.png)
![Screenshot of Cursor's MCP configuration panel.](/img/cursor-preview-token-api.png)

## Configuration

Expand Down
Loading