@graphitti/graph-core
v0.1.0
Published
Shared The Graph protocol tool catalog and MCP stdio server for agent plugins
Maintainers
Readme
@graphitti/graph-core
Shared tool catalog and MCP stdio server for The Graph protocol agent plugins. Exposes graph_* tools for subgraph discovery, GraphQL queries, Token API reads, Substreams registry operations, and optional Graphitti workflow APIs.
Install
npm install @graphitti/graph-coreMCP server
Run the stdio MCP server after setting credentials:
export THEGRAPH_API_KEY=your_32_char_studio_key
npx graph-mcpCredentials
| Variable | Required | Purpose |
|---|---|---|
| THEGRAPH_API_KEY | Yes | 32-character Studio/gateway key |
| SUBSTREAMS_API_KEY | No | Substreams registry and data plane |
| THEGRAPH_MARKET_BEARER | No | Market Portal billing reads |
| GRAPHITTI_BASE_URL | No | Graphitti host override |
| GRAPHITTI_API_KEY | No | Graphitti B2B and marketplace APIs |
Programmatic use
import { executeGraphTool, listAvailableTools } from "@graphitti/graph-core";Documentation
See The Graph agent plugins in the Graphitti repo.
