본문으로 건너뛰기
Skillpedia
커넥터 (MCP)7.6k · #13158

external-agents

하는 일

이 스킬은 외부 에이전트와 MCP 호스트가 Agent-Native 앱에 연결되는 방법, 그리고 그 결과가 딥 링크를 통해 앱에서 다시 열리는 방법을 설명합니다. 여러 호스트의 설정을 다룹니다. 외부 AI 도구를 앱과 함께 쓰려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Claude, ChatGPT 또는 Cursor가 Agent-Native 앱의 데이터와 함께 작동하기를 원할 때.
  • ✓외부 도구의 링크가 앱의 특정 항목을 열게 하고 싶을 때.
  • ✓앱의 MCP 접근을 위한 연결 페이지를 설정할 때.

스킬 링크

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/external-agents/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/external-agents/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Claude가 내 레코드를 만들고 수정할 수 있도록, Agent-Native 앱을 Claude에 연결해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

앱은 액션을 MCP로 노출합니다. 외부 호스트는 표준 원격 설정으로 연결하며, 결과는 링크나 인라인 MCP 앱 뷰를 통해 앱에서 열릴 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

External Agents (MCP bridge + deep links)

Rule

  • The connected model is the author. Write content yourself with create/update tools; never delegate via ask_app or wait on an unreachable in-app form — see DEFAULT_AGENT_NATIVE_MCP_INSTRUCTIONS.
  • Result shape and key tools are in actions (Return Values, Key Actions).
  • Artifacts fit in one call. Up to 500,000 characters; return a storing-data handle.
  • One tab, one id. WebMCP sends X-Agent-Native-Browser-Tab; state resolves to the driving tab (context-awareness).

An agent-native app is reachable by any MCP-compatible host. Keep setup simple: for workspace or cross-app access, add one remote MCP connector: https://dispatch.agent-native.com/mcp. Dispatch's Agents page controls whether that single connector reaches all apps or only selected apps, and Dispatch filters list_apps, ask_app, and open_app to the granted set. For a deliberately isolated app, add that app directly at https://<app>.agent-native.com/mcp or https://<your-host>/mcp.

In-app, the Agent page's Access tab (/agent#access) is the home for this: it shows MCP/A2A URLs, client setup steps, and the full /mcp/connect page. Point users there instead of dictating URLs in chat.

OAuth-capable hosts use the standard remote MCP OAuth flow — Claude, Claude Code, and ChatGPT discover the protected resource and store their own tokens; per-host steps are below. Local stdio proxying and older clients can still use npx @agent-native/core connect <url>, which mints a per-user, scoped, revocable token from a logged-in browser session; no shared secret is copied.

The framework serves MCP 2026-07-28 natively over stateless, per-request HTTP and keeps the established stateless path for 2025-era clients. New MCP client code uses the split @modelcontextprotocol/client package with versionNegotiation: { mode: "auto" }; do not pin a protocol header or hand-send initialize. OAuth callback handlers preserve state and pass the RFC 9207 iss parameter to the v2 SDK for validation before exchanging a code. The authorization server accepts HTTPS Client ID Metadata Documents after strict URL, SSRF, size, redirect, schema, and exact callback validation; URL-like client ids never fall back to dynamic registration. Traditional non-URL clients continue to use public-client dynamic registration.

Actions marked needsApproval ask through MCP 2026 input_required elicitation. A client that can't prompt (every stateless 2025-era client), declines, or cancels gets a tool result linking to the app's review page, where only the same signed-in user and org decide. After Approve, the identical call runs once within ten minutes. Grants bind caller, action, arguments, expiry, and fail closed.

Claude and ChatGPT can cache custom connector tool/resource metadata. After changing MCP App metadata or the shared embedApp() shell, validate with a fresh tool call; if the host still behaves like the old descriptor, reconnect the Claude connector or rescan/review the ChatGPT connector.

Once connected, every action that produces or lists a navigable resource SHOULD return a deep link from a link builder, so the external agent can surface an "Open in <app> →" link that drops the user back into the running UI at the right view and record. Actions can also declare mcpApp so hosts that support MCP Apps render an inline interactive preview. The link is a pure pointer — the record-focusing write is always scoped to the browser session, never the agent's token.

Why

External agents are great at producing artifacts (a draft, an event, a dashboard) but they live in a terminal, chat host, or another app. Without a bridge, the user gets a wall of JSON and has to go find the thing. MCP Apps give compatible hosts an inline review/edit surface; the deep-link bridge closes the loop everywhere else by handing the user a single link that opens the real app focused on exactly what was produced. It reuses the existing navigate / application_state contract the UI already drains every 2s (see context-awareness) — we never invent a second navigation mechanism.

App-facing MCP connectors

Apps can also consume connected remote MCP servers as a server-side API. The framework stores each connector's OAuth client registration, discovery metadata, access token, and refresh token in the encrypted oauth_tokens store, scoped to the user or organization. The browser and sandboxed MCP App

자주 묻는 질문

연결하려면 코드를 써야 하나요?

표준 설정이라면, 이 스킬이 설명하듯 호스트에 원격 MCP 커넥터 주소 하나만 추가하면 됩니다.

외부 에이전트가 앱에 폼을 만들어 달라고 할 수 있나요?

아니요. 연결된 모델이 앱 안의 폼에 맡기지 않고 콘텐츠를 직접 작성해야 한다고 이 스킬은 말합니다.

아티팩트는 얼마나 클 수 있나요?

이 스킬은 한 번의 호출에 아티팩트를 최대 500,000자까지 담을 수 있다고 말합니다.

상세 정보

작성자의 원본 설명

Connect external agents and MCP hosts (Claude, Claude Desktop, Claude Code, ChatGPT custom MCP apps, Codex, Cursor, Claude Cowork, VS Code GitHub Copilot, Goose, Postman, MCPJam) to an agent-native app over MCP, and round-trip artifacts back into the UI with MCP Apps and deep links. Use when adding an action's `link` builder or `mcpApp`, wiring the `/_agent-native/open` route, exposing an "ingest" action to MCP/A2A, or scaffolding apps from an external agent.

repo: BuilderIO/agent-native

인기도

GitHub 스타
7.6k
순위
#13158
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬