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.
Proveniência
- Digest do conteúdo
- sha256:611489930aecd2e175022350be97ba3f0f49c5d98d4762e928670b06ded269ee
- Publicado
- 2026-11-15T08:09:26Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- Oficialapplication/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
Referência nesta versão
oci://hub.aggrega.ai/recipe/compose/mcp:1.0.0- Destino
- —
- Implementa
- core/ai-tool/mcp:1.1.0
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
| Nome | Modelo |
|---|---|
| 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
Variáveis locais
| Nome | Modelo |
|---|---|
| inject_file_config_prefix | {{ .context.instance_id }}-file- |
Mapeamento de valores
Nenhum mapeamento de valores declarado.
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.
Usa
- implementaimplementacontrato compatível
core/ai-tool/mcp:1.1.0
Todas as saídas obrigatórias são satisfeitas e cada saída fornecida é nomeada no contrato.
Usado por
Nada no catálogo depende desta entidade.