external-agents
O que ela faz
Esta skill explica como agentes externos e hospedeiros MCP se conectam a um aplicativo Agent-Native, e como os resultados deles podem abrir de volta no app por meio de links profundos. Cobre a configuração para vários hospedeiros. É para quem quer usar uma ferramenta de IA externa com o seu aplicativo.
Quando usar
- ✓Quando você quer que Claude, ChatGPT ou Cursor trabalhem com dados de um aplicativo Agent-Native.
- ✓Quando você quer que um link de uma ferramenta externa abra um item específico no aplicativo.
- ✓Quando você está configurando a página de conexão para o acesso MCP de um aplicativo.
Link da skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/external-agents/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Pode conectar meu aplicativo Agent-Native ao Claude para que o Claude possa criar e atualizar registros nele?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O aplicativo expõe suas actions pelo MCP. O hospedeiro externo se conecta por uma configuração remota padrão, e os resultados podem abrir no app por meio de um link ou de uma visão MCP embutida.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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_appor wait on an unreachable in-app form — seeDEFAULT_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-datahandle. - 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
Perguntas frequentes
Preciso escrever código para me conectar?
Para uma configuração padrão, você acrescenta um endereço de conector MCP remoto no hospedeiro, como descreve a skill.
O agente externo pode pedir ao aplicativo que monte um formulário para ele?
Não. A skill diz que o modelo conectado deve escrever o conteúdo por conta própria, em vez de delegá-lo a um formulário dentro do app.
Qual é o tamanho máximo de um artefato?
A skill diz que artefatos podem ter até 500.000 caracteres em uma única chamada.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 7,6 mil
- Posição no ranking
- #13158
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
design-exploration
7,6 milAjuda seu agente a explorar várias direções de design de interface lado a lado, deixar você escolher uma e depois refinar o design escolhido.
visual-edit
7,6 milAjuda seu agente a abrir um aplicativo local em execução em um editor visual, para que você possa revisar e editar as telas reais juntos.
turn-into-app
7,6 milTransforma um fluxo de trabalho, uma planilha ou um projeto em um aplicativo visual bem acabado, com telas preenchidas e um agente trabalhando por trás dos controles.
visual-plan
7,6 milTransforma um plano em texto simples em um plano visual interativo, com diagramas, mapas de arquivos, trechos de código e perguntas em aberto.
Skills parecidas
mcporter
394 milAjuda seu agente a listar, chamar e inspecionar servidores MCP e suas ferramentas por HTTP ou stdio, e a gerenciar as configurações de login.
fastmcp
260 milAjuda você a construir, testar e publicar um servidor MCP em Python que dá a assistentes de IA acesso à sua API, banco de dados ou arquivos como ferramentas.
mcp-oauth-remote-gateway
260 milGuia você pelo login OAuth de um servidor MCP remoto quando o Hermes roda em um servidor, onde o login normal pelo navegador não consegue chegar.