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.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Retrieves the GraphQL schema using either a local schema file or an introspection query.
Executes GraphQL queries against the specified endpoint. Mutations are disabled by default unless explicitly enabled using the `--enable-mutations` flag.