이 페이지는 기계 번역되었습니다. 영어 원문 읽기.

Component

core/ai-tool/mcp

A tool that attaches a Model Context Protocol server to an agent, so the tools that server publishes become available to the agent without each one being declared separately in the catalog. The server is reached over HTTP, and the software behind it is the Release's, so a server can be wired to an agent without a catalog entity of its own. Marked mutating, because what an attached server exposes is decided by that server rather than by this declaration. Every realization publishes a host, port, endpoint, protocol and credential header, so an agent wires to the tool the same way whichever one answers it. Which realization to reach for follows how the server is published. Where it ships as a container image serving the protocol over HTTP, reach for helm/mcp, which runs the image infra.image names. Where it is an npm or PyPI package speaking only stdio, reach for helm/mcp-stdio-bridge on Kubernetes or compose/mcp-stdio-bridge for local development, which run the command line infra.stdio_command names inside a pinned bridge serving it over HTTP. Where someone else already runs it, reach for helm/mcp-remote or compose/mcp-remote, which run nothing and publish the address infra.endpoint names. A bridged server's credentials arrive through the server_env slot, on helm/mcp-stdio-bridge only. An edge from the tool, on a socket the author names, delivers what its `inject:` block dictates, as variables or as files, under helm/mcp and both bridge realizations; the mcp-remote realizations run nothing and refuse one. helm/mcp alone delivers the component's own `inject:` block, an entry reading a tool value alone replacing its default name; the others refuse it.

버전

1.0.01.1.0

출처

공식이 카탈로그가 공식 게시자로 인정하는 서명 ID로 서명되었습니다.
콘텐츠 다이제스트
sha256:ba4523ba5077e93d927558dea275e83f9a240deeb90ddb13963928e2e053f5fc
게시일
2026-11-10T10:10:01Z
서명 ID
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:2ad9e67e53d40f73bff81e9bd3410b37382b597ca2fdc8f36a7a83bf5fe4911f

이 버전의 참조

oci://hub.aggrega.ai/component/core/ai-tool/mcp:1.0.0

개발자 매개변수

개발자가 Aggregate에서 설정하는 값입니다.

BaseComponents#/schemas/BaseToolParameter 확장

운영자 사이징

운영자가 환경별로 조정하는 인프라 사이징입니다.

이름타입기본값필수설명
imagestring—아니요Container image serving the Model Context Protocol over HTTP. Read by helm/mcp, which requires it; the mcp-stdio-bridge realizations run the bridge image they pin, and the mcp-remote realizations run nothing, so both refuse this key.
stdio_commandarray (min 1)—아니요The server's command line, one list item per argument, for example [npx, -y, "@modelcontextprotocol/server-everything"] for an npm package or [uvx, mcp-server-fetch] for a PyPI package. Each item reaches the server exactly as written. Read only by the mcp-stdio-bridge realizations; the others refuse it.
stdio_runtimestring (npm | pypi)—아니요The package ecosystem the command line runs from, selecting the bridge image that carries its launcher: npm runs on Node.js with npm and npx; pypi adds Python, uv and uvx. Read only by the mcp-stdio-bridge realizations; the others refuse it.
endpointstring—아니요The http or https URL a client connects to a server someone else already runs at, for example https://mcp.example.com/mcp, without any part that carries a key: at least its scheme and host. Read only by the mcp-remote realizations, which publish it as written and read host, port and protocol from it; the others refuse it. A consumer whose server reads its key from the address supplies the whole address through the endpoint slot on its own connection to the tool.
credential_headerstringAuthorization아니요The request header the server reads a caller's credential from, which the realization publishes for a consumer to present its credential under. Read by helm/mcp and the mcp-remote realizations; the mcp-stdio-bridge realizations publish an empty header instead.
portinteger (min 1024, max 65535)8080아니요Port the tool listens on, and the port it publishes to consumers. The mcp-remote realizations publish the port infra.endpoint names instead.
computeobject—아니요—

출력 계약

이 컴포넌트가 uses 토폴로지를 통해 소비자에게 게시하는 값입니다.

이름타입기본값필수설명
hoststring—예DNS name an agent calls to reach the protocol server: the Service's name on Kubernetes, the service's name on the compose network, or the host infra.endpoint names under the mcp-remote realizations. A consumer that composes its own address dials this name; one that does not reads `endpoint` instead.
portinteger—예TCP port the protocol server is reached on. It follows the port an operator set in the Release — under the mcp-remote realizations, the port infra.endpoint names, or its scheme's default port where it names none — so a consumer reads it rather than assuming a default.
endpointstring—예Full base URL an agent connects to the protocol server at, with the host and the port already composed, and the path too where the realization fixes the one the server answers at, as the bridge realizations do; under the mcp-remote realizations it is infra.endpoint as the Release wrote it, the address without any part that carries a key. It is the address a client library needs in order to discover the tools that server publishes. Where the server reads its key from its address, a consumer reads the whole address from the endpoint slot on its own connection to the tool instead.
protocolstring—아니요URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`.
credential_headerstring—아니요The request header a consumer presents its credential under, where the server checks one: Authorization unless the Release names another in infra.credential_header. The credential itself is the consumer's, held on its own connection to the tool. Empty under the mcp-stdio-bridge realizations, whose bridge checks no caller's credential.

uses 소켓

이 컴포넌트가 연결에 사용하는 의존성 소켓입니다. 소켓을 통해 배선되는 모든 연결의 대상은 해당 소켓의 레이블 셀렉터를 충족해야 하며, 각 연결은 소켓이 선언한 슬롯에 첨부를 전달할 수 있습니다. 필수 슬롯은 Aggregate 또는 Release가 해당 소켓을 통해 배선하는 각 연결이 채워야 합니다.

선언된 uses 소켓이 없습니다.

첨부 슬롯

Feature가 이 컴포넌트에 첨부되는 이름 있는 바인딩 지점입니다. 슬롯의 셀렉터는 어떤 Feature가 슬롯을 채울 수 있는지를 제한하고, 슬롯의 inject 목록은 Feature의 자료를 어떻게 전달할 수 있는지를 지정합니다. 필수 슬롯은 인스턴스의 첨부 또는 그 위 범위의 첨부를 통해 모든 인스턴스에서 바인딩되어야 하며, 민감 슬롯은 비밀 자료를 처리하도록 선언됩니다. Feature는 어떤 슬롯도 선언하지 않은 이름으로 첨부될 수도 있습니다.

슬롯셀렉터필수주입민감설명
server_envfeature.aggrega.ai/kind=secret아니요env예Environment variables a server run behind the bridge reads its credentials from, held in one Secret with one data key per variable, each key named as the variable the server reads. Read only by helm/mcp-stdio-bridge, which imports every data key of the Secret the attachment names into the bridge's environment by reference. Attach core/referenced-secret mapped to helm/k8s-existing-secret to name a Secret that already exists, and the credential stays out of every rendered file; core/referenced-secret-set's realization writes the values into a Secret the build renders, which suits evaluation.

자체 주입 허용 목록

env, file

관계

게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.

사용함

사용됨

Component 개념 레퍼런스 →

Aggrega 카탈로그 — 컴포넌트, 기능, 레시피, 그리고 이를 렌더링하는 플러그인의 공개 인덱스입니다.

공유 Aggrega 디자인 시스템으로 구축되었습니다.

개인정보 보호