Skip to main content
Glama
Denisijcu

MCP GraphQL Server Multi-Fuente

by Denisijcu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_TABLENoTabla PostgreSQL
MONGO_URINoURI de MongoDB
MYSQL_HOSTNoHost MySQL
MYSQL_USERNoUsuario MySQL
MYSQL_TABLENoTabla MySQL
ORACLE_USERNoUsuario Oracle
ORACLE_TABLENoTabla Oracle
SQLITE_TABLENoTabla SQLite
CSV_FILE_PATHNoRuta al archivo CSV
MONGO_DB_NAMENoNombre de la base de datos MongoDB
DEFAULT_SOURCENoFuente activa por defecto: csv, google-sheets, sqlite, postgres, mysql, mongodb, oracle
MYSQL_DATABASENoBase de datos MySQL
MYSQL_PASSWORDNoContraseña MySQL
SQLITE_DB_PATHNoRuta a la base de datos SQLite
ORACLE_PASSWORDNoContraseña Oracle
MONGO_COLLECTIONNoColección MongoDB
GOOGLE_SHEETS_NAMENoNombre de la hoja de Google Sheets
PG_CONNECTION_STRINGNoCadena de conexión PostgreSQL
GOOGLE_SHEETS_API_URLNoURL del script de Google Sheets
ORACLE_CONNECT_STRINGNoCadena de conexión Oracle

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
graphql_queryA

Ejecuta una consulta GraphQL contra la fuente de datos ACTIVA. IMPORTANTE: llama primero a get_schema para saber que campos existen; cada fuente tiene campos distintos y una consulta con un campo que no existe falla. La consulta principal es records(...). No existe ningun argumento "tabla" ni "coleccion": cada fuente expone UNA sola tabla, y para cambiar de tabla hay que cambiar de fuente con switch_source.

graphql_batchB

Ejecuta múltiples consultas GraphQL en una sola llamada

graphql_mutationA

Ejecuta una mutacion GraphQL (createRecord, updateRecord, deleteRecord) contra la fuente ACTIVA. Para eliminar, llama primero sin confirm para obtener el aviso, y despues con confirm: true y el MISMO id. DECLARA SIEMPRE el parametro "source" con la fuente sobre la que crees que estas trabajando: si no coincide con la activa, la operacion se rechaza en vez de escribir donde no debe.

switch_sourceA

Cambia la fuente de datos activa. Solo hay UNA activa a la vez, y todas las consultas van contra ella. Cada fuente tiene sus propios campos, asi que DESPUES de cambiar hay que llamar a get_schema otra vez: el esquema anterior ya no vale. Fuentes: "csv", "google-sheets" y "sqlite".

list_sourcesA

Lista todas las fuentes de datos disponibles y cuál está activa actualmente

register_persisted_queryC

Registra una consulta persistida y devuelve su hash

get_metricsC

Obtiene métricas de rendimiento

get_schemaA

Devuelve el esquema de la fuente ACTIVA: nombre de la fuente, campos con su tipo, consultas disponibles y ejemplos. LLAMA A ESTA HERRAMIENTA ANTES DE LA PRIMERA CONSULTA Y CADA VEZ QUE USES switch_source. Los campos cambian de una fuente a otra.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 8 tools

Disambiguation4/5

Each tool targets a distinct action: query, batch, mutation, source switching/listing, schema, persisted queries, and metrics. The only mild overlap is graphql_query vs graphql_batch and get_schema vs list_sources, but the descriptions clearly distinguish single vs multi and schema-vs-inventory. No real risk of misselection.

Naming Consistency4/5

All names use consistent snake_case with clear verb_noun intent (switch_source, list_sources, get_schema, get_metrics). The graphql_* prefix group (query/batch/mutation) is a minor stylistic deviation but still readable and predictable. No mixed conventions.

Tool Count5/5

Eight tools is well-scoped for a multi-source GraphQL server: core query/mutation, source management, schema discovery, and auxiliary features. Each tool earns its place with no redundancy.

Completeness4/5

Full lifecycle is covered: schema discovery, query, batch, and create/update/delete mutations across switchable sources. Minor gaps exist around managing persisted queries (no list/delete of registered hashes) and no explicit mutation confirmation helpers beyond the documented pattern.

Maintenance

ActivityMaintained
ResponsivenessNo issues