Skip to main content
Glama

Loadingplay MCP

Servidor MCP para exponer herramientas de Loadingplay mediante Streamable HTTP.

Endpoints

  • GET /health: health check simple

  • POST /mcp: endpoint MCP estandar

Nota: algunos clientes tambien pueden hacer GET /mcp durante la negociacion del transporte. El SDK MCP maneja eso internamente.

Variables de entorno

Define estas variables en Railway:

LP_BASE_URL=https://api.loadingplay.com
LP_API_KEY=tu_api_key
PORT=8000

Desarrollo local

pip install -r requirements.txt
python main.py

Servidor disponible en:

  • http://localhost:8000/health

  • http://localhost:8000/mcp

Deploy en Railway

Configura el start command con alguno de estos:

python main.py

o

uvicorn main:app --host 0.0.0.0 --port $PORT

Cambio importante

La version anterior exponia una API REST custom con /mcp y /mcp/call. Eso no era compatible con clientes MCP reales. Esta version usa el SDK oficial de MCP y expone un endpoint compatible para registro y ejecucion de tools.

Related MCP Connectors