mcp-graphql

by blurrah
Verified
MIT License
536
103
  • Apple

query-graphql

Execute GraphQL queries with specified variables and headers using a configurable endpoint. Simplifies interaction with GraphQL servers for data retrieval and manipulation.

Instructions

Query a GraphQL endpoint with the given query and variables

Input Schema

NameRequiredDescriptionDefault
endpointNoOptional: Override the default endpoint, the already used endpoint is: http://localhost:3000/graphql
headersNoOptional: Add additional headers, the already used headers are: {}
queryYes
variablesNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "endpoint": { "description": "Optional: Override the default endpoint, the already used endpoint is: http://localhost:3000/graphql", "format": "uri", "type": "string" }, "headers": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "string" } ], "description": "Optional: Add additional headers, the already used headers are: {}" }, "query": { "type": "string" }, "variables": { "type": "string" } }, "required": [ "query" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-graphql

Related Tools

ID: 4zwa4l8utf