Movie Recommendation MCP
Movie Recommendation MCP
FastMCP-Wrapper um die Rust-API für Filmempfehlungen.
Dieses Repository wurde aus
movie-reservation-platform-lab/movie-recommendation-service/axum-tools-mcp extrahiert,
damit die MCP-Komponente eine unabhängige CI- und Artefakt-Pipeline haben kann.
Ausführen
uv run movie-recommendation-mcpDer Produktionscontainer läuft als UID 10001 und lauscht auf Port 8092:
docker build --tag movie-recommendation-mcp:local .
docker run --rm --network host movie-recommendation-mcp:localDie Demo geht davon aus, dass die MCP- und Recommendation-API-Container einen
gemeinsamen ECS-Task-Network-Namespace teilen, sodass die Standard-Downstream-
Adresse 127.0.0.1:8082 bleibt. Überschreiben Sie die Downstream-URL, wenn Sie
die Container unabhängig voneinander ausführen.
Standardwerte:
MCP-Endpunkt:
http://127.0.0.1:8092/mcpHealth-Endpunkt:
http://127.0.0.1:8092/healthDownstream-API:
http://127.0.0.1:8082
Nützliche Umgebungsvariablen:
MOVIE_RECOMMENDATION_API_URLAXUM_TOOLS_API_URLfür Kompatibilität mit der ursprünglichen Demo-ExtraktionPORTHOSTOTEL_SERVICE_NAMEOTEL_EXPORTER_OTLP_ENDPOINTOTEL_EXPORTER_OTLP_PROTOCOLOTEL_RESOURCE_ATTRIBUTES
Related MCP server: Weather Info MCP Server
Tools
recommendation_get_moviesEingaben:
limit, optionalpreference, optionalfault, optionaltraceparent, optionaltracestate, optionalcorrelation_id, optionalrequest_idund optionaldemo_fault.Ruft den Rust-Endpunkt
GET /recommendationsauf.Erfolgs-Payload:
{"ok": true, "service_name": "movie-recommendation-mcp", "fault": "<fault-or-none>", "recommendations": [...]}Downstream-Fehler-Payload:
{"ok": false, "service_name": "movie-recommendation-mcp", "fault": "<fault-or-none>", "status_code": <int>, "error": "recommendation_dependency_failed"}
recommendation_healthEingaben: optional
traceparent, optionaltracestate, optionalcorrelation_id, optionalrequest_idund optionaldemo_fault.Ruft den Rust-Endpunkt
GET /healthauf.Erfolgs-Payload:
{"ok": true, "service_name": "movie-recommendation-mcp", "health": {...}}
Beide Tools leiten Folgendes weiter:
traceparenttracestateX-Correlation-IdX-Request-IdX-Demo-Fault
Extraktionsentscheidungen
Behalten Sie den internen Python-Importpfad als
axum_tools_mcpfür dieses Extraktionssegment bei. Das öffentliche Paket, das Konsolenskript, der Dienstname, das Image und das Repository tragen bereits den Namenmovie-recommendation-mcp; eine Umbenennung des Importpfads würde zusätzlichen Änderungsaufwand bedeuten, ohne den externen MCP-Vertrag zu ändern, der vom Agenten konsumiert wird.Behalten Sie die Toolnamen
recommendation_get_moviesundrecommendation_healthbei. Die bewährte Reservation-Agent-Demo hatrecommendation_get_moviesfreigeschaltet und sie mitlimit,preference,faultund den Propagationsargumenten aufgerufen.Behalten Sie
AXUM_TOOLS_API_URLals Kompatibilitäts-Fallback bei, bevorzugen Sie jedochMOVIE_RECOMMENDATION_API_URLfür neue Laufzeitkonfigurationen.
Artefaktvertrag
Die Plattforminfrastruktur konsumiert diese Komponente als unveränderliches Anwendungsartefakt und nicht als Quellcode:
OCI-Image, das aus dem
Dockerfiledieses Repositorys erstellt wird.Private ECR-Image-Referenz, die per Digest festgepinnt ist:
<account>.dkr.ecr.<region>.amazonaws.com/movie-recommendation-mcp@sha256:<64-hex-digest>.Separate Release-Kennung, wie der Git-Commit-SHA oder die Release-Version, die vom konsumierenden Umgebungs-/Infrastruktur-Repository zusammen mit dem Digest erfasst wird.
Laufzeitbefehl:
movie-recommendation-mcp.Container-Port und Standard-
PORT:8092.MCP-Endpunkt:
/mcp.Health-Endpunkt:
/health.Die erforderliche Laufzeitkonfiguration erfolgt über Umgebungsvariablen; die Downstream-API-URL wird über
MOVIE_RECOMMENDATION_API_URLoder den Kompatibilitäts-FallbackAXUM_TOOLS_API_URLbereitgestellt.Deployment-Zusammensetzung, Umgebungsmanifeste, Promotionsstatus und AWS-Ressourcen bleiben außerhalb dieses Repositorys.
Prüfungen
uv sync --frozen
uv run --frozen --no-sync pytest tests
uv run --frozen --no-sync pytest automation/tests
uv run --frozen --no-sync ruff check .
uv run --frozen --no-sync ruff format --check .
uv run --frozen --no-sync python -m compileall src tests automationPushes auf main veröffentlichen einen Linux-AMD64-Kandidaten als
sha-<commit> in GHCR. Die CI deaktiviert die automatische
Registry-Attestierung von BuildKit, um den Kandidaten als Single-Image-Manifest
zu erhalten, und erfasst anschließend eine explizite GitHub-Build-Provenienz
zum veröffentlichten Digest für das Admission-Gate der Umgebung.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceAn MCP server that allows users to search for movies, get detailed information, receive genre-based recommendations, and discover popular/trending films using OMDb and TMDb APIs.513MIT
- FlicenseNot gradedqualityDmaintenanceProvides weather information through MCP tools integrated with a FastAPI backend, enabling users to query current weather for single or multiple cities and check API health status.
- FlicenseAqualityDmaintenanceAn MCP server that wraps The Movie Database (TMDB) API, enabling search for movies and TV shows, retrieval of movie details, recommendations, similar movies, trending content, streaming providers, and movie discovery.8
- AlicenseAqualityCmaintenanceFastMCP server to interact with the Overseerr API for movie and TV show requests management, enabling users to request media, search, and manage libraries via natural language.81MIT
Related MCP Connectors
performance-review MCP — wraps StupidAPIs (requires X-API-Key)
jargon-translator MCP — wraps StupidAPIs (requires X-API-Key)
OMDb MCP — IMDB-derived movie / TV / episode data (BYO key)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/movie-reservation-platform-lab/movie-recommendation-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server