Transform natural language queries into GraphQL queries using an AI agent. Provides schema management, query validation, execution, and history tracking.
623
0
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 |
Dockerfile | https://github.com/Arize-ai/text-to-graphql-mcp/blob/main/Dockerfile |
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_query
Execute a GraphQL query and optionally visualize the results
Parameters | Type | Description |
---|---|---|
graphql_query | string | The GraphQL query to execute |
history_id | string optional | Optional history ID to update |
natural_language_query | string optional | The original natural language query for context |
variables | string optional | Optional variables for the GraphQL query |
generate_graphql_query
Generate a GraphQL query from natural language description
Parameters | Type | Description |
---|---|---|
query | string | Natural language description of the desired GraphQL query |
history_id | string optional | Optional history ID to associate with this query |
get_query_examples
Get example queries to help users understand what they can ask for
Returns: JSON string containing example queries
get_query_history
Retrieve the history of all queries
Returns: JSON string containing all query history
validate_graphql_query
Validate and update a GraphQL query
Parameters | Type | Description |
---|---|---|
graphql_query | string | The GraphQL query to validate |
history_id | string optional | Optional history ID to update |
natural_language_query | string optional | 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"
}
}
}
}
Manual installation
You can install the MCP server using:
Installation for