GraphQL MCP Toolkit is a server implementation that enables LLMs to interact with GraphQL APIs through schema introspection and query execution. It provides two main tools: one for retrieving GraphQL schemas and another for executing queries against endpoints, with mutations disabled by default as a security measure. The implementation supports custom headers for authentication, local schema files as an alternative to introspection, and is containerized for easy deployment. Particularly valuable for developers who want to give AI assistants the ability to discover and use GraphQL APIs dynamically without requiring prior knowledge of the schema.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Retrieves the GraphQL schema. Use this first if you don't have access to the schema as a resource, utilizing either a local schema file or an introspection query.
Executes GraphQL queries against the endpoint. By default, mutations are disabled unless the '--enable-mutations' flag is specified.