logistics-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@logistics-mcp-serverPlan a route in zone 10 at 18:00 using traffic, holiday, and fuel data."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
logistics-mcp-server
Servidor MCP remoto para CC3067 Redes — Proyecto 1, punto 7. Corre en la nube y el chatbot lo usa por HTTPS igual que a un servidor local.
Transporte: Streamable HTTP (un solo endpoint
/mcp). No es stdio.Protocolo: JSON-RPC 2.0 a mano — sin SDK de MCP.
Framework: Starlette + Uvicorn.
Sin base de datos, sin secretos: datos mock deterministas, seguro de exponer.
Herramientas
Herramienta | Parametros | Devuelve |
|
| multiplicador de tiempo de viaje (>= 1.0) para una zona a esa hora |
|
|
|
|
| precio de referencia del diesel por galon + moneda |
Alimentan al optimizador de rutas: traffic_factor se pasa como argumento
traffic_factor al planificador; holiday_calendar y fuel_price sirven para
decisiones de despacho y costeo de rutas.
Related MCP server: searoute_mcp
API
POST /mcp cuerpo = request JSON-RPC 2.0 -> 200, respuesta JSON-RPC (application/json)
POST /mcp cuerpo = notificacion JSON-RPC 2.0 -> 202, vacio
GET /mcp -> 405
GET /healthz -> 200 "ok"initialize devuelve el header Mcp-Session-Id; el cliente lo reenvia en las
siguientes peticiones (aceptado pero no obligatorio).
Metodos: initialize, notifications/initialized, tools/list, tools/call,
ping. Version de protocolo 2025-06-18.
Correr localmente
pip install -r requirements.txt
uvicorn app.main:app --host 0.0.0.0 --port 8080
# -> http://localhost:8080/mcpPrueba rapida:
curl -s localhost:8080/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"t","version":"0"}}}'
curl -s localhost:8080/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"traffic_factor","arguments":{"zone":10,"hour":18}}}'Despliegue
Google Cloud Run
gcloud run deploy logistics-mcp-server \
--source . \
--region us-central1 \
--allow-unauthenticatedCloud Run inyecta $PORT y el Dockerfile ya lo respeta. El deploy imprime una
URL HTTPS; usar <url>/mcp en el config/servers.json del chatbot:
{ "name": "logistics-remote", "transport": "http", "url": "https://logistics-mcp-server-xxxx.run.app/mcp" }Cualquier host con Docker
docker build -t logistics-mcp-server .
docker run -p 8080:8080 logistics-mcp-serverIntegridad
Repositorio publico, desarrollo individual para CC3067. Solo datos ficticios. Uso de IA generativa conforme al reglamento de la UVG.
This server cannot be deployed
Maintenance
Related MCP Connectors
HERE MCP — premium geocoding, places, and TRAFFIC-AWARE routing from HERE
Route optimization API for Brazil. Routes, distance matrices, and VRP solver.
TomTom MCP — wraps the TomTom Search & Routing APIs (api.tomtom.com)
Remote MCP endpoint for U.S. home forecasts, public benchmark data, and permit or zoning readiness.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAI-powered route optimization MCP server for heavy vehicles and logistics. Calculate truck-optimized routes, predict traffic congestion with LSTM neural networks, compute toll costs, fuel costs and CO2 emissions, find truck stops and check weather along any European route.MIT
- AlicenseAqualityCmaintenanceProvides maritime routing capabilities, enabling computation of oceangoing route distances and full routes in GeoJSON format via MCP tools.39MIT
- FlicenseAqualityCmaintenanceEnables LLM clients to access scheduling data, KPIs, routes, and trigger optimization algorithms via MCP.9-
- AlicenseAqualityCmaintenanceEnables public-transport journey planning, place search, realtime departures and timetables, usable from any MCP client.9MIT