Mcp4gql
Createdjorgeraad
Connects Model Context Protocol (MCP) clients to GraphQL APIs, enabling interaction through standard input/output.
About
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.
Key Features
- Utilizes axios for GraphQL API requests
- Provides introspection and query execution tools
- Implements the MCP Server class
- 3 GitHub stars
- Communicates via standard input/output
- Configurable GraphQL endpoint and authentication token
Use Cases
- Executing arbitrary GraphQL queries from MCP clients
- Enabling MCP clients to introspect GraphQL schemas
- Integrating GraphQL APIs with MCP-enabled applications like Cursor and Claude Desktop