Recipe
mcp-remote
A Model Context Protocol server someone else already runs, reached at the address infra.endpoint names, as a reference realization for local development via Docker Compose: no service is defined for it and nothing runs. The address reaches a consuming service through the injection context rather than through a service definition, because compose has no counterpart to an in-cluster alias. provides.endpoint is the address as written, host, port and protocol are read from it, and credential_header is the request header the server reads a caller's credential from, Authorization unless infra.credential_header names another. No credential is held here: a consumer that needs one holds it on its own connection to the tool and presents it under that header, because the credential belongs to the consumer rather than to the address. infra.endpoint is the address without any part that carries a key, at least a scheme and a host; a consumer whose server reads its key from the address supplies the whole address through the endpoint slot on its own connection, as a Compose variable reference. An address carrying a user name or password is refused. Reach for this realization under Docker Compose where the server already runs outside the Release; reach for helm/mcp-remote on Kubernetes, and for compose/mcp-stdio-bridge to run a server published as a package speaking stdio. infra.image, the two stdio keys and a server_env attachment are refused here, and so is an `inject:` block, on a connection from the tool or on the component itself, since no container runs to receive it.
Versi
Asal-usul
- Digest konten
- sha256:1e783d6071fb936da0ada05e6555fca889f2324980406d70f3f38310bb079eb0
- Dipublikasikan
- 2026-11-10T10:19:41Z
- Identitas penandatangan
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Tanda tangan
- Resmiapplication/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:2d5368a7086b74db2e060aba06e294b892deec86874ee8ad5f5de7232dbda156
Referensi pada versi ini
oci://hub.aggrega.ai/recipe/compose/mcp-remote:1.0.0- Target
- —
- Mengimplementasikan
- core/ai-tool/mcp:1.0.0
Menyediakan
Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.
| Nama | Templat |
|---|---|
| host | {{ .locals.hostname }} |
| port | {{ .locals.port }} |
| endpoint | {{ .locals.endpoint }} |
| protocol | {{ .locals.scheme }} |
| credential_header | {{ .infra.credential_header }} |
Workload
Workload · form: reference
Nilai lokal
| Nama | Templat |
|---|---|
| endpoint | {{ optional .infra "endpoint" "" }} |
| scheme | {{ (urlParse .locals.endpoint).scheme }} |
| hostname | {{ (urlParse .locals.endpoint).hostname }} |
| port | {{ $u := urlParse .locals.endpoint }}{{ $p := regexFind ":[0-9]+quot; $u.host | trimPrefix ":" }}{{ if $p }}{{ $p }}{{ else if eq $u.scheme "http" }}80{{ else }}443{{ end }} |
Pemetaan values
Tidak ada pemetaan values yang dideklarasikan.
Relasi
Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.
Menggunakan
- mengimplementasikanmengimplementasikankontrak kompatibel
core/ai-tool/mcp:1.0.0
Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.
Digunakan oleh
Tidak ada apa pun di katalog yang bergantung pada entitas ini.