mcp-graphql-forge
If you are the rightful owner of mcp-graphql-forge 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.
mcp-graphql-forge is a lightweight, configuration-driven MCP server that exposes curated GraphQL queries as modular tools.
mcp-graphql-forge is designed to transform any GraphQL endpoint into a Model Context Protocol (MCP) server. It achieves this by using YAML files to define the GraphQL queries and their parameters, allowing for a modular, secure, and minimal server setup. This approach enables easy extension without the need to modify the application code. The server is configured through environment variables and YAML files, with the main configuration file being 'forge.yaml'. This file specifies common attributes such as the server name, version, and GraphQL endpoint URL. Tool configurations are defined in separate YAML files, detailing the GraphQL queries and their inputs. The server can run in standard input/output mode or Server-Sent Events (SSE) mode, providing flexibility in how it interacts with MCP clients.
Features
- Configuration-Driven: Uses YAML files for defining GraphQL queries and parameters.
- Modular and Secure: Allows for easy extension and secure API interactions.
- Environment Variable Configuration: Supports configuration through environment variables for flexibility.
- SSE Mode: Can run in Server-Sent Events mode for real-time updates.
- Debug Logging: Offers detailed debug logging for troubleshooting.
Tools
getUser
Fetch basic information about a user by
login
, including their name, URL, and location.