introspect_schema
Pack: the-graph · Endpoint: https://gateway.pipeworx.io/the-graph/mcp
Fetch a subgraph’s GraphQL schema via standard introspection. Returns types, fields, and arguments so an agent can build queries without external docs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
subgraph_id | string | yes | Subgraph deployment ID |
Example call
curl -X POST https://gateway.pipeworx.io/the-graph/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"introspect_schema","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"the-graph": {
"url": "https://gateway.pipeworx.io/the-graph/mcp"
}
}
}
See Getting Started for client-specific install steps.