Connects Model Context Protocol (MCP) clients to GraphQL APIs, enabling interaction through standard input/output.
Mcp4gql is a Node.js/TypeScript server acting as a bridge between Model Context Protocol (MCP) clients and GraphQL APIs. By implementing the MCP `Server` class, it allows clients like Cursor and Claude Desktop to execute GraphQL queries and introspection via standard input/output. It exposes generic GraphQL tools such as schema introspection and query execution, streamlining the process of interacting with GraphQL endpoints from within MCP-enabled applications.
Características Principales
01Utilizes axios for GraphQL API requests
02Provides introspection and query execution tools
03Implements the MCP Server class
043 GitHub stars
05Communicates via standard input/output
06Configurable GraphQL endpoint and authentication token
Casos de Uso
01Executing arbitrary GraphQL queries from MCP clients
02Enabling MCP clients to introspect GraphQL schemas
03Integrating GraphQL APIs with MCP-enabled applications like Cursor and Claude Desktop