Basic information
About GraphQL Forge MCP Server
GraphQL Forge automates tool creation from any GraphQL API, offering seamless integration and intelligent caching for GitHub or Shopify services.
GraphQL Forge is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by toolprint. Supported transport: stdio. Runtime: TypeScript. License: Apache-2.0. The repository has 15 GitHub stars. Source code is hosted on github.com. Related topics: ai-tools, community, developer-tools, graphql-api, mcp-graphql.
Setup
{
"mcpServers": {
"mcp-graphql-forge": {
"command": "npx",
"args": [
"-y",
"@toolprint/mcp-graphql-forge"
],
"env": {
"GRAPHQL_ENDPOINT": "https://your-api.com/graphql",
"GRAPHQL_AUTH_HEADER": "Bearer YOUR_TOKEN"
}
}
}
}
{
"mcpServers": {
"mcp-graphql-forge": {
"command": "npx",
"args": [
"-y",
"@toolprint/mcp-graphql-forge"
],
"env": {
"GRAPHQL_ENDPOINT": "https://your-api.com/graphql",
"GRAPHQL_AUTH_HEADER": "Bearer YOUR_TOKEN"
}
}
}
}
{
"servers": {
"mcp-graphql-forge": {
"command": "npx",
"args": [
"-y",
"@toolprint/mcp-graphql-forge"
],
"env": {
"GRAPHQL_ENDPOINT": "https://your-api.com/graphql",
"GRAPHQL_AUTH_HEADER": "Bearer YOUR_TOKEN"
}
}
}
}
GraphQL Forge MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-graphql-forge": {
"command": "npx",
"args": [
"-y",
"@toolprint/mcp-graphql-forge"
],
"env": {
"GRAPHQL_ENDPOINT": "https://your-api.com/graphql",
"GRAPHQL_AUTH_HEADER": "Bearer YOUR_TOKEN"
}
}
}
}
GraphQL Forge MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is GraphQL Forge?
MCP GraphQL Forge is an MCP server that automatically generates MCP tools from any GraphQL API schema via introspection, enabling AI assistants like Claude or Cursor to interact with GraphQL APIs. It handles parameter validation, field selection caching, and supports both stdio and HTTP transports.
How to use GraphQL Forge?
Install via npx -y @toolprint/mcp-graphql-forge or with Smithery. Set the GRAPHQL_ENDPOINT environment variable (and optionally GRAPHQL_AUTH_HEADER for authentication). Run in stdio mode (default) for direct AI integration, or use --transport http --port 3001 for development/testing.
Key features of GraphQL Forge
- Auto-generates MCP tools from GraphQL schema introspection
- Validates parameters to prevent GraphQL errors
- Supports stdio and HTTP transports
- Caches schema and field selections for performance
- Flexible authentication via environment variables
- Handles circular references in field selections
Use cases of GraphQL Forge
- Connect AI assistants to a Strapi CMS GraphQL API
- Enable Claude or Cursor to query GitHub’s GraphQL API
- Integrate AI tools with e‑commerce GraphQL APIs like Shopify
- Allow natural language queries against any GraphQL endpoint
Frequently asked questions
1 What does it do that a raw GraphQL client does not?
It automatically generates MCP tools from schema introspection, so AI assistants can interact with any GraphQL API without manually writing queries or handling field selection.
2 What are the runtime dependencies?
Requires Node.js with the TypeScript runtime. Docker runtime support is currently a work in progress.
3 How does authentication work?
Set the GRAPHQL_AUTH_HEADER environment variable for a Bearer token, or use GRAPHQL_HEADER_* variables for custom headers.
4 What transports are supported?
The server supports both stdio (for direct AI tool integration) and HTTP (for development/testing with the MCP Inspector).
5 Does it cache the schema?
Yes. It caches schema and field selections for consistent performance, and you can pre-generate the schema or force regeneration with CLI options.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In