Text To Graphql MCP Server

Transform natural language queries into GraphQL queries using an MCP (Model Context Protocol) server that integrates seamlessly with AI assistants

Local serverstdioPython

What is the Text To Graphql MCP Server?

Text To Graphql MCP becomes available to MCP clients through the Text To Graphql MCP. Transform natural language queries into GraphQL queries using an MCP (Model Context Protocol) server that integrates seamlessly with AI assistants like Claude Desktop and Cursor.

What Text To Graphql MCP does

Transform natural language queries into GraphQL queries using an MCP (Model Context Protocol) server that integrates seamlessly with AI assistants like Claude Desktop and Cursor.

Requirements

UV is a fast Python package installer and resolver. Install it first: macOS/Linux: Windows: Find your UV installation path: ```bash

Practical notes

  • Maintained by Arize-ai, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
generate_graphql_query
validate_graphql_query
execute_graphql_query
get_query_history
get_query_examplesGet example queries to understand the system's capabilities.

How to install the Text To Graphql MCP Server

{
  "mcpServers": {
    "text-to-graphql": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/text-to-graphql-mcp",
        "run",
        "text-to-graphql-mcp"
      ],
      "env": {
        "PATH": "/path/to/uv/bin:/usr/bin:/bin",
        "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
        "GRAPHQL_ENDPOINT": "https://your-graphql-api.com/graphql",
        "GRAPHQL_API_KEY": "YOUR_GRAPHQL_API_KEY",
        "GRAPHQL_AUTH_TYPE": "bearer"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

UV is a fast Python package installer and resolver. Install it first: macOS/Linux: Windows: Find your UV installation path: ```bash

VariableDescriptionRequired
PATHDeclared in the maintainer’s client configuration.Yes
OPENAI_API_KEYDeclared in the maintainer’s client configuration.Yes
GRAPHQL_ENDPOINTDeclared in the maintainer’s client configuration.Yes
GRAPHQL_API_KEYDeclared in the maintainer’s client configuration.Yes
GRAPHQL_AUTH_TYPEDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Text To Graphql MCP to generate graphql query.”
  • “Use Text To Graphql MCP to validate graphql query.”
  • “Use Text To Graphql MCP to execute graphql query.”

Frequently asked questions

Transform natural language queries into GraphQL queries using an MCP (Model Context Protocol) server that integrates seamlessly with AI assistants like Claude Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.