Transform natural language queries into GraphQL queries using an AI agent. Provides schema management, query validation, execution, and history tracking.
10K+
5 Tools
Version 4.43 or later needs to be installed to add the server automatically
Use cases
About
Transform natural language queries into GraphQL queries using an AI agent. Provides schema management, query validation, execution, and history tracking.
| Attribute | Details |
|---|---|
| Docker Image | mcp/text-to-graphql |
| Author | Arize-ai |
| Repository | https://github.com/Arize-ai/text-to-graphql-mcp |
| Attribute | Details |
|---|---|
| Dockerfile | https://github.com/Arize-ai/text-to-graphql-mcp/blob/69669c1bc00b3f1a5c5af3ff0265778214b10486/Dockerfile |
| Commit | 69669c1bc00b3f1a5c5af3ff0265778214b10486 |
| Docker Image built by | Docker Inc. |
| Docker Scout Health Score | |
| Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/text-to-graphql --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| Licence | Other |
| Tools provided by this Server | Short Description |
|---|---|
execute_graphql_query | Execute a GraphQL query and optionally visualize the results |
generate_graphql_query | Generate a GraphQL query from natural language description |
get_query_examples | Get example queries to help users understand what they can ask for |
get_query_history | Retrieve the history of all queries |
validate_graphql_query | Validate and update a GraphQL query |
execute_graphql_queryExecute a GraphQL query and optionally visualize the results
| Parameters | Type | Description |
|---|---|---|
graphql_query | string | The GraphQL query to execute |
history_id | stringoptional | Optional history ID to update |
natural_language_query | stringoptional | The original natural language query for context |
variables | stringoptional | Optional variables for the GraphQL query |
generate_graphql_queryGenerate a GraphQL query from natural language description
| Parameters | Type | Description |
|---|---|---|
query | string | Natural language description of the desired GraphQL query |
history_id | stringoptional | Optional history ID to associate with this query |
get_query_examplesGet example queries to help users understand what they can ask for
Returns: JSON string containing example queries
get_query_historyRetrieve the history of all queries
Returns: JSON string containing all query history
validate_graphql_queryValidate and update a GraphQL query
| Parameters | Type | Description |
|---|---|---|
graphql_query | string | The GraphQL query to validate |
history_id | stringoptional | Optional history ID to update |
natural_language_query | stringoptional | The original natural language query for context |
{
"mcpServers": {
"text-to-graphql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OPENAI_API_KEY",
"-e",
"GRAPHQL_ENDPOINT",
"-e",
"GRAPHQL_API_KEY",
"mcp/text-to-graphql"
],
"env": {
"OPENAI_API_KEY": "sk-proj-xxx",
"GRAPHQL_ENDPOINT": "https://your-graphql-api.com/graphql",
"GRAPHQL_API_KEY": "your_api_key_here"
}
}
}
}