MCP GraphQL Server Multi-Fuente
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PG_TABLE | No | Tabla PostgreSQL | |
| MONGO_URI | No | URI de MongoDB | |
| MYSQL_HOST | No | Host MySQL | |
| MYSQL_USER | No | Usuario MySQL | |
| MYSQL_TABLE | No | Tabla MySQL | |
| ORACLE_USER | No | Usuario Oracle | |
| ORACLE_TABLE | No | Tabla Oracle | |
| SQLITE_TABLE | No | Tabla SQLite | |
| CSV_FILE_PATH | No | Ruta al archivo CSV | |
| MONGO_DB_NAME | No | Nombre de la base de datos MongoDB | |
| DEFAULT_SOURCE | No | Fuente activa por defecto: csv, google-sheets, sqlite, postgres, mysql, mongodb, oracle | |
| MYSQL_DATABASE | No | Base de datos MySQL | |
| MYSQL_PASSWORD | No | Contraseña MySQL | |
| SQLITE_DB_PATH | No | Ruta a la base de datos SQLite | |
| ORACLE_PASSWORD | No | Contraseña Oracle | |
| MONGO_COLLECTION | No | Colección MongoDB | |
| GOOGLE_SHEETS_NAME | No | Nombre de la hoja de Google Sheets | |
| PG_CONNECTION_STRING | No | Cadena de conexión PostgreSQL | |
| GOOGLE_SHEETS_API_URL | No | URL del script de Google Sheets | |
| ORACLE_CONNECT_STRING | No | Cadena 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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
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.
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.
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.
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.