mcp-graphql
If you are the rightful owner of mcp-graphql and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol server that enables LLMs to interact with GraphQL APIs, providing schema introspection and query execution capabilities.
The mcp-graphql server is designed to facilitate interaction between Large Language Models (LLMs) and GraphQL APIs. It allows models to dynamically discover and utilize GraphQL APIs by providing schema introspection and query execution capabilities. This server is particularly useful for applications that require dynamic access to GraphQL endpoints, enabling LLMs to perform queries and, optionally, mutations. The server can be configured using environment variables, allowing for flexible deployment and integration with various GraphQL services. By default, mutation operations are disabled to enhance security, but they can be enabled if necessary. The server also supports the use of local schema files, which can be used instead of performing introspection queries.
Features
- Schema Introspection: Automatically retrieves the GraphQL schema from the endpoint.
- Query Execution: Allows execution of GraphQL queries against the specified endpoint.
- Environment Configuration: Uses environment variables for flexible configuration.
- Mutation Control: Option to enable or disable mutation operations for security.
- Local Schema Support: Can use a local schema file instead of introspection.
Tools
introspect-schema
Get GraphQL mode, support local mode files or introspective query
query-graphql
Perform GraphQL query, and use mutation operations to be disabled by default