mcp4gql

by jorgeraad

executeGraphQLOperation

Execute GraphQL queries or mutations on target APIs by providing a query string and optional variables. Use introspectGraphQLSchema to identify available operations.

Instructions

Executes an arbitrary GraphQL query or mutation against the target API. Use introspectGraphQLSchema first to understand the available operations.

Input Schema

NameRequiredDescriptionDefault
operationNameNoAn optional name for the operation, if the query contains multiple operations.
queryYesThe GraphQL query string to execute.
variablesNoAn optional object containing variables for the query.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "operationName": { "description": "An optional name for the operation, if the query contains multiple operations.", "type": "string" }, "query": { "description": "The GraphQL query string to execute.", "type": "string" }, "variables": { "additionalProperties": {}, "description": "An optional object containing variables for the query.", "type": "object" } }, "required": [ "query" ], "type": "object" }

You must be authenticated.

Other Tools from mcp4gql

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jorgeraad/mcp4gql'

If you have feedback or need assistance with the MCP directory API, please join our Discord server