The GraphQL Schema MCP server enables AI models to explore and understand GraphQL schemas through specialized tools. Built using the Model Context Protocol SDK, it loads any GraphQL schema file and provides tools for exploring query, mutation, and subscription fields, looking up detailed type definitions, searching for types and fields using pattern matching, and getting simplified field information. This implementation is particularly valuable for developers working with GraphQL APIs who need AI assistance in understanding schema structure, exploring available operations, or searching for specific functionality within complex GraphQL schemas.
Lists all available root-level fields for GraphQL queries.
Gets detailed definition for a specific query field in SDL format.
Lists all available root-level fields for GraphQL mutations.
Gets detailed definition for a specific mutation field in SDL format.
Lists all available root-level fields for GraphQL subscriptions (if present in schema).
Gets detailed definition for a specific subscription field (if present in schema).
Lists all types defined in the GraphQL schema (excluding internal types).
Gets detailed definition for a specific GraphQL type in SDL format.
Gets a simplified list of fields with their types for a specific GraphQL object type.
Searches for types or fields in the schema by name pattern (case-insensitive regex).
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!