GraphQL Schema
Summary
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.
Available Actions(10)
list-query-fields
Lists all available root-level fields for GraphQL queries.
get-query-field
Gets detailed definition for a specific query field in SDL format.
list-mutation-fields
Lists all available root-level fields for GraphQL mutations.
get-mutation-field
Gets detailed definition for a specific mutation field in SDL format.
list-subscription-fields
Lists all available root-level fields for GraphQL subscriptions (if present in schema).
get-subscription-field
Gets detailed definition for a specific subscription field (if present in schema).
list-types
Lists all types defined in the GraphQL schema (excluding internal types).
get-type
Gets detailed definition for a specific GraphQL type in SDL format.
get-type-fields
Gets a simplified list of fields with their types for a specific GraphQL object type.
search-schema
Searches for types or fields in the schema by name pattern (case-insensitive regex).
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论