Langsung ke konten
Skillpedia
Konektor (MCP)7.6k Β· #13158

external-agents

Fungsinya

Skill ini menjelaskan cara agent eksternal dan host MCP terhubung ke aplikasi Agent-Native, serta bagaimana hasil mereka bisa dibuka kembali di aplikasi melalui tautan langsung. Cakupannya meliputi pengaturan untuk banyak host. Skill ini untuk orang yang ingin memakai alat AI luar dengan aplikasi mereka.

Kapan dipakai

  • βœ“Saat Anda ingin Claude, ChatGPT, atau Cursor bekerja dengan data di aplikasi Agent-Native.
  • βœ“Ketika Anda ingin tautan dari alat luar membuka item tertentu di aplikasi.
  • βœ“Saat Anda menyiapkan halaman koneksi untuk akses MCP aplikasi.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/external-agents/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBisakah Anda menghubungkan aplikasi Agent-Native saya ke Claude, supaya Claude bisa membuat dan memperbarui catatan di dalamnya?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Aplikasi mengekspos aksinya melalui MCP. Host luar terhubung melalui pengaturan jarak jauh standar, dan hasil bisa dibuka di aplikasi melalui tautan atau tampilan aplikasi MCP sebaris.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah saya perlu menulis kode untuk terhubung?

Untuk pengaturan standar, Anda cukup menambahkan satu alamat konektor MCP jarak jauh di host, seperti yang dijelaskan skill ini.

Bisakah agent luar meminta aplikasi membuatkan formulir untuknya?

Tidak. Skill ini menyatakan model yang terhubung sebaiknya menulis konten sendiri, bukan mendelegasikannya ke formulir di dalam aplikasi.

Seberapa besar artefak boleh?

Skill ini menyatakan artefak bisa mencapai 500.000 karakter dalam satu panggilan.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
7.6k
Peringkat
#13158
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa