Skip to main content
Glama

SRC Quincenal Sessions — MCP Plugin v0.1

First prototype of the add-on that turns the institutional quincenal sessions template into a tool callable from an MCP host (for example, ChatGPT when the account/workspace allows custom MCP apps).

What this version does

  • Keeps MASTER_SRC_TEMPLATE.docx as the master template.

  • Exposes MCP tools to query fields and generate the DOCX.

  • Maintains selective bold: only labels/subheadings.

  • Converts the Inicio, Desarrollo, and Cierre subsections into real Word paragraphs, with visual separation.

  • Serves the generated Word file via /download/{file_id}.

  • Includes base configuration for Render.

Related MCP server: docx-forge-mcp

MCP tools

  • get_template_info: returns the fields and rules of the format.

  • generate_quincena_docx: receives the drafted fields and produces the Word file.

  • get_generated_document: checks whether a generated file is still available.

Run locally

Requires Python 3.10+.

python -m venv .venv
# Windows
.venv\\Scripts\\activate
# macOS/Linux
source .venv/bin/activate

pip install -r requirements.txt
uvicorn server:app --host 127.0.0.1 --port 8000

Health: http://127.0.0.1:8000/health MCP: http://127.0.0.1:8000/mcp

To test with MCP Inspector:

npx @modelcontextprotocol/inspector@latest

Deploy on Render

The repository already includes render.yaml. After deploying, set PUBLIC_BASE_URL to the public URL, for example https://src-sesiones-mcp.onrender.com.

The endpoint that will connect to the MCP host will be:

https://TU-SERVICIO.onrender.com/mcp

Status / next step

v0.1 uses the six session blocks prepared in the prototype template. The next version should clone or remove session blocks dynamically based on the actual number of classes in the quincena, and then add the optional web interface.

Related MCP Connectors

Related MCP Servers