MCP.so
登录
M

Mcp Graphql Forge

@toolprint

关于 Mcp Graphql Forge

暂无概览

基本信息

分类

其他

传输方式

stdio

发布者

toolprint

提交者

Achintya Ashok

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP 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 MCP 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 MCP 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 MCP 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

FAQ from MCP GraphQL Forge

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.

What are the runtime dependencies?

Requires Node.js with the TypeScript runtime. Docker runtime support is currently a work in progress.

How does authentication work?

Set the GRAPHQL_AUTH_HEADER environment variable for a Bearer token, or use GRAPHQL_HEADER_* variables for custom headers.

What transports are supported?

The server supports both stdio (for direct AI tool integration) and HTTP (for development/testing with the MCP Inspector).

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.

评论

其他 分类下的更多 MCP 服务器