Recipe
mcp-remote
A Model Context Protocol server someone else already runs, reached at the address infra.endpoint names, as a reference realization: nothing is provisioned and no compute runs. The helm provider emits an ExternalName Service mapping an in-cluster name onto the server's host. 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, from a Secret. An address carrying a user name or password is refused. Reach for this realization where the server already runs outside the Release; reach for helm/mcp to run a server shipped as an image serving HTTP, and for helm/mcp-stdio-bridge to run one published as a package speaking stdio. infra.image, the two stdio keys, infra.published_port 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.
版本
来源
- 内容摘要
- sha256:0c86f9d3f172a27e1c0df81542dd9c483131ee82e28fc6a448d2bbdd84cfebc5
- 发布时间
- 2026-11-15T08:09:42Z
- 签名身份
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
签名
- 官方application/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:7f7146293b9fa890797dd9eba2609a5241b91b30248693843dab7fe14666f3c2
此版本的引用
oci://hub.aggrega.ai/recipe/helm/mcp-remote:1.1.0- 目标
- —
- 实现
- core/ai-tool/mcp:1.1.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ .locals.hostname }} |
| port | {{ .locals.port }} |
| endpoint | {{ .locals.endpoint }} |
| protocol | {{ .locals.scheme }} |
| credential_header | {{ .infra.credential_header }} |
Workload
Workload · form: reference
局部变量
| 名称 | 模板 |
|---|---|
| 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 }} |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/ai-tool/mcp:1.1.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。