Text-to-GraphQL MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| API_HOST | No | Server host address | 127.0.0.1 |
| API_PORT | No | Server port | 8000 |
| MODEL_NAME | No | OpenAI model to use | gpt-4o |
| OPENAI_API_KEY | Yes | OpenAI API key for LLM operations | |
| GRAPHQL_API_KEY | Yes | API key for your GraphQL service | |
| GRAPHQL_HEADERS | No | Custom headers as JSON (overrides auto-auth) | {} |
| RECURSION_LIMIT | No | Max recursion for agent workflow | 10 |
| GRAPHQL_ENDPOINT | Yes | GraphQL API endpoint URL | |
| GRAPHQL_AUTH_TYPE | No | Authentication method: bearer, apikey, or direct | bearer |
| MODEL_TEMPERATURE | No | Model temperature for responses | 0 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_graphql_queryB | Generate a GraphQL query from natural language description |
| validate_graphql_queryC | Validate and update a GraphQL query |
| execute_graphql_queryB | Execute a GraphQL query and optionally visualize the results |
| get_query_historyA | Retrieve the history of all queries Returns: JSON string containing all query history |
| get_query_examplesA | Get example queries to help users understand what they can ask for Returns: JSON string containing example queries |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/text-to-graphql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server