Skip to content
VS Code

thegraph mcp for VS Code

io.github.mrfentmen/thegraph-mcp

The Graph gateway: run GraphQL against any indexed subgraph.

client:VS Code transport:stdio runtime:npm

Install thegraph mcp in VS Code

.vscode/mcp.json

{
  "servers": {
    "thegraph-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "thegraph-mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

thegraph mcp in other clients