Auto-generate MCP tools from any GraphQL schema
Every time you want an AI assistant to interact with your GraphQL API, you have to manually define tool schemas, write validation logic, and handle field selections. For large APIs, this becomes a maintenance nightmare.
Point this tool at any GraphQL endpoint and it automatically discovers every operation, generates properly typed MCP tools, and serves them — ready for any AI assistant to use immediately.
Reads your GraphQL schema from file, string, object, or introspection
Parses every Query and Mutation into typed operations
Converts GraphQL types to JSON Schema for MCP tool validation
Auto-generates nested field selections with depth control
Serves tools via JSON-RPC 2.0 over stdio or HTTP transport
Reads GraphQL schemas from files, strings, objects, or via live introspection queries
Extracts every Query and Mutation as a separate MCP tool with proper input validation
Auto-generates field selections with built-in Relay connection pattern support
Serves tools over both stdio and HTTP transports for maximum client compatibility
Supports static headers and async token functions for OAuth/JWT workflows
Selectively expose operations with custom filter functions — queries only, mutations only, or any custom logic
$ npx graphql-mcp-server-tools --schema ./schema.graphql --endpoint http://localhost:4000/graphqlOpen source, zero config required. Give it a schema, get MCP tools back.