Sign inSign up

mcp/text-to-graphql

Verified Publisher

By mcp

•Updated 7 months ago

Transform natural language queries into GraphQL queries using an AI agent. Provides schema manage...

Image
Machine learning & AI
0

10K+

mcp/text-to-graphql repository overview

⁠Text-to-GraphQL MCP Server

Transform natural language queries into GraphQL queries using an AI agent. Provides schema management, query validation, execution, and history tracking.

What is an MCP Server?⁠

⁠MCP Info

⁠Image Building Info

AttributeDetails
Dockerfilehttps://github.com/Arize-ai/text-to-graphql-mcp/blob/69669c1bc00b3f1a5c5af3ff0265778214b10486/Dockerfile⁠
Commit69669c1bc00b3f1a5c5af3ff0265778214b10486
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/text-to-graphql --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceOther

⁠Available Tools (5)

Tools provided by this ServerShort Description
execute_graphql_queryExecute a GraphQL query and optionally visualize the results
generate_graphql_queryGenerate a GraphQL query from natural language description
get_query_examplesGet example queries to help users understand what they can ask for
get_query_historyRetrieve the history of all queries
validate_graphql_queryValidate and update a GraphQL query

⁠Tools Details

⁠Tool: execute_graphql_query

Execute a GraphQL query and optionally visualize the results

ParametersTypeDescription
graphql_querystringThe GraphQL query to execute
history_idstring optionalOptional history ID to update
natural_language_querystring optionalThe original natural language query for context
variablesstring optionalOptional variables for the GraphQL query

⁠Tool: generate_graphql_query

Generate a GraphQL query from natural language description

ParametersTypeDescription
querystringNatural language description of the desired GraphQL query
history_idstring optionalOptional history ID to associate with this query

⁠Tool: get_query_examples

Get example queries to help users understand what they can ask for

Returns: JSON string containing example queries

⁠Tool: get_query_history

Retrieve the history of all queries

Returns: JSON string containing all query history

⁠Tool: validate_graphql_query

Validate and update a GraphQL query

ParametersTypeDescription
graphql_querystringThe GraphQL query to validate
history_idstring optionalOptional history ID to update
natural_language_querystring optionalThe original natural language query for context

⁠Use this MCP Server

{
  "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"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?⁠

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:237428982…

Size

113.2 MB

Last updated

7 months ago

docker pull mcp/text-to-graphql

This week's pulls

Pulls:

40

Sep 14 to Sep 20