mcp4gql

by jorgeraad
MIT License
0
1

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTH_TOKENNoA bearer token for an optional `Authorization: Bearer <token>` header for authenticating with the GraphQL API
GRAPHQL_ENDPOINTYesThe URL of the target GraphQL API

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
introspectGraphQLSchema

Fetches the schema of the target GraphQL API using introspection. Returns the schema in JSON format.

executeGraphQLOperation

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

ID: bfuylp4yph