Recipe
mcp
The Model Context Protocol server tool on Docker Compose, for local development: one service running the image the Release names in infra.image, serving the protocol over HTTP on infra.port, where an agent on the compose network reaches it at the service's name. Where the Release sets infra.published_port, that port on the host's loopback address, 127.0.0.1, forwards to infra.port; unset, nothing is published, and two servers that each publish take distinct published_port values. The tool packages no upstream product, so a build with no image set halts and names the key. provides publishes host, port, endpoint, protocol and credential_header. An edge from the tool, on a socket the author names, delivers the names its `inject:` block dictates, as variables or as files from compose configs; the component's own `inject:` block delivers its entries the same way. The server's credentials arrive through the server_env slot: attach core/referenced-secret-set mapped to compose/dotenv-secret-set, each entry's value a Compose variable reference such as ${GITHUB_TOKEN}, which Docker Compose substitutes when the stack starts. An attachment publishing only a secret resource's name, or delivering no variable, halts the build. Reach for this realization under Docker Compose where the server ships as a container image serving the protocol over HTTP; reach for helm/mcp on Kubernetes, for compose/mcp-stdio-bridge where the server is a package speaking stdio, and for compose/mcp-remote where someone else already runs it. The two stdio keys and infra.endpoint are refused here.
Provenance
- Empreinte du contenu
- sha256:611489930aecd2e175022350be97ba3f0f49c5d98d4762e928670b06ded269ee
- Publié
- 2026-11-15T08:09:26Z
- Identité de signature
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officielapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:e936ef255c864de91943c42a90404d09f49af34cf32ed6953a00639fa9c2030f
Référence à cette version
oci://hub.aggrega.ai/recipe/compose/mcp:1.0.0- Cible
- —
- Implémente
- core/ai-tool/mcp:1.1.0
Fournit
Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.
| Nom | Modèle |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| endpoint | http://{{ .context.instance_id }}:{{ .infra.port }} |
| protocol | http |
| credential_header | {{ .infra.credential_header }} |
Workload
Workload · form: stateless · containers: main
Variables locales
| Nom | Modèle |
|---|---|
| inject_file_config_prefix | {{ .context.instance_id }}-file- |
Correspondance des valeurs
Aucune correspondance des valeurs déclarée.
Relations
Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.
Utilise
- implémenteimplémentecontrat compatible
core/ai-tool/mcp:1.1.0
Toutes les sorties obligatoires sont satisfaites et chaque sortie fournie est nommée dans le contrat.
Utilisé par
Rien dans le catalogue ne dépend de cette entité.