# AgentPolyfill

> Polyfills for agent protocols. Bring more of MCP to the clients you already use. Find Apps, Skills, Events, Server Cards and ARD for your host below.

**An early proof of concept.** Some gaps, like servers behind OAuth, need small changes to the hosts' plugin APIs. [What's missing](https://agentpolyfill.com/guide/how-it-works.md#how-it-works-in-each-host-and-where-it-stops).

| Host | Form | Polyfills |
|---|---|---|
| Claude Code | Mod (plugin) | Events, Server Cards, Apps, ARD; no Skills form: Claude Code lists skills from MCP servers itself, in beta from 2.1.332 |
| Codex | Plugin | Events, Skills, Server Cards, ARD; no Apps form |
| Pi | Extension | Events, Skills, Server Cards, ARD; no Apps form |
| OpenCode | V2 server plugin | Events, Skills, Server Cards, ARD; no Apps form |
| Antigravity | Plugin | Events, Skills, Server Cards, ARD; no Apps form (the App renders MCP Apps itself) |
| Copilot CLI | Plugin (Events: an extension) | Events, Server Cards, ARD; no Skills or Apps form: Copilot has both built in |
| Hermes | Plugin (Python and a Node helper) | Events (poll and push), Skills, Server Cards, ARD; Apps not yet; webhook delivery is Hermes's own |

## Install

**Claude Code** (2.1.329 or newer). At the prompt of a `claude` session, install every polyfill at once, then start a new session:

```
/plugin install agent-polyfill --marketplace idosal/AgentPolyfill
```

The same works in a terminal: `claude plugin install agent-polyfill --marketplace idosal/AgentPolyfill`. There is no Skills polyfill for Claude Code: Claude Code lists skills from MCP servers itself, in beta from 2.1.332 (https://code.claude.com/docs/en/changelog). A beta may not be on for every account or server yet. If you installed the `mcp-skills` plugin for Claude Code before, remove it with `/plugin uninstall mcp-skills@agent-polyfill`.

**Codex** (0.170 or newer; Skills was tested on 0.172; Node 20 or newer). In a terminal:

```bash
codex plugin marketplace add idosal/AgentPolyfill
codex plugin add mcp-events@agent-polyfill
codex plugin add mcp-skills@agent-polyfill
codex plugin add mcp-server-cards@agent-polyfill
```

Apps isn't in Codex yet, and Codex has no bundle.

**Pi** (1.6.0, the version tested; Node 22 or newer). In a terminal:

```bash
pi install git:github.com/idosal/AgentPolyfill
```

The command installs Events, Skills and Server Cards together. Pi clones the repository into its agent folder (under `~/.pi/agent/git/`) and loads the three extensions from there. Nothing is published to npm or Pi's package gallery, and nothing is built.

Update installed packages with `pi update --extensions`. Remove all three and Pi's copy of the repository with `pi remove git:github.com/idosal/AgentPolyfill`. For one run of all three without installing, use `pi -e git:github.com/idosal/AgentPolyfill`.

ARD is left out for the same reason it isn't in the Claude Code bundle: its search sends the words of your request to a registry after asking each time. Install it on its own from a clone.

The clone path also works for any one form alone. Replace `<form>` with `events`, `skills`, `server-cards` or `ard`:

```bash
git clone https://github.com/idosal/AgentPolyfill.git
cd AgentPolyfill
pi install ./polyfills/<form>/pi/extension
```

Pi loads a local path where it is, so keep the clone. From the same folder, use `pi -e ./polyfills/<form>/pi/extension` for one run without installing, or `pi remove ./polyfills/<form>/pi/extension` to remove a local install.

Use one way per form, not both: Pi tells packages apart by repository address or local path, so a form installed both ways loads twice.

Data stays in `mcp-events/` and `mcp-skills/` in Pi's agent folder (`~/.pi/agent`, or `PI_CODING_AGENT_DIR`); delete those to remove it. Added servers stay in `mcp.json`; undo with `pi mcp remove <name>`.

Apps has no Pi form. Pi 1.6.0 leaves out `ui://` resources and tool `_meta`, so an extension cannot get an App's UI through Pi. Its terminal could draw one in principle, but no Pi Apps form is built or tested.

**OpenCode** (2.4 or newer, tested with 2.4.1; Git). In a terminal:

```bash
opencode plugin add 'github:idosal/AgentPolyfill#main::path:polyfills/events/opencode/plugin'
opencode plugin add 'github:idosal/AgentPolyfill#main::path:polyfills/skills/opencode/plugin'
opencode plugin add 'github:idosal/AgentPolyfill#main::path:polyfills/server-cards/opencode/plugin'
opencode plugin add 'github:idosal/AgentPolyfill#main::path:polyfills/ard/opencode/plugin'
```

Nothing for OpenCode is published to npm. There is no bundle: install each plugin separately. OpenCode fetches each one from this repository on GitHub with Git, and runs it itself, so no Node is needed. Each command adds the plugin to `plugins` in the global `~/.config/opencode/opencode.json`, so it runs in every project from the next time OpenCode opens one. `#main` installs what the main branch holds; a commit in its place pins one version. From a clone, you can instead add a plugin's folder (`polyfills/<polyfill>/opencode/plugin`) to `plugins` in the global or a project's `opencode.json`. Remove one with `opencode plugin remove` and the same text it was added with. OpenCode keeps its downloaded copy in `~/.cache/opencode/npm/` (a `git-AgentPolyfill-…` folder), which can be deleted. Events leaves its watches, stored events and log in `~/.local/share/opencode/mcp-events/`, and Skills its log in `~/.local/share/opencode/mcp-skills/`; delete those to remove them. "Allow always" answers, the skills each session loaded, and the list of servers Server Cards and ARD added stay in OpenCode's plugin storage (its own database). An added server comes back if the plugin is installed again, unless it was removed first, with `server_cards_remove_mcp_server` or `ard_remove_mcp_server`.

Apps has no OpenCode form. OpenCode has no MCP Apps support: a plugin cannot read a `ui://` resource or a tool's `_meta` over OpenCode's connection, and there is no place to draw in the conversation. The desktop app's experimental panels can embed a web view, but an OpenCode Apps form was only assessed, not built.

**Antigravity** (App v2.35.1 and CLI v1.5.17; not supported in the IDE, which documents no plugin hooks; Node 20 or newer and Git on `PATH`). From GitHub, with the Antigravity CLI:

```bash
agy plugin install https://github.com/idosal/AgentPolyfill/tree/main/polyfills/events/antigravity/plugin
agy plugin install https://github.com/idosal/AgentPolyfill/tree/main/polyfills/skills/antigravity/plugin
agy plugin install https://github.com/idosal/AgentPolyfill/tree/main/polyfills/server-cards/antigravity/plugin
# Beyond MCP: ARD, a draft; every search asks you first
agy plugin install https://github.com/idosal/AgentPolyfill/tree/main/polyfills/ard/antigravity/plugin
```

Nothing is published to Antigravity's Marketplace; each plugin installs separately, from GitHub. Installing needs the Antigravity CLI (the App doesn't ship `agy`) and Git, which `agy` fetches the plugin with. `agy plugin install` copies the plugin's folder to `~/.gemini/config/plugins/<name>`, which the App and the CLI both read; run the same line again to update it. From a clone, `agy plugin install ./polyfills/<extension>/antigravity/plugin` does the same. Uninstall one with `agy plugin uninstall <name>` (`mcp-events`, `mcp-skills`, `mcp-server-cards` or `ard-discovery`). Events wakes an idle App conversation only through its sidecar, which is off until you add `"sidecars": {"mcp-events/wake": {"enabled": true}}` to `~/.gemini/config/config.json`; the plugin never edits that file. The plugins write only their own folder, `~/.gemini/agentpolyfill/<plugin>/`; Skills' placeholders, `~/.gemini/config/skills/mcp-skills-served--*`; and, for Server Cards and ARD after your approval, `~/.gemini/config/mcp_config.json`.

To add a server in the CLI: `agy mcp add <name> <url>`, with `--header "Authorization: Bearer <token>"` for a header; `agy mcp remove <name>` removes it. Both are in CLI 1.5.17's own help, not in Antigravity's docs, and both edit `~/.gemini/config/mcp_config.json`. The App doesn't ship `agy`; there, use Customizations > Installed > MCP Servers or edit that file.

Apps has no Antigravity form. Antigravity's App renders MCP Apps itself (v2.34.0 and later); the CLI and IDE show text only.

**Copilot CLI** (1.0.115, the version tested). In a terminal, from a clone:

```bash
git clone https://github.com/idosal/AgentPolyfill.git
copilot plugin marketplace add ./AgentPolyfill
copilot plugin install mcp-events@agent-polyfill
copilot plugin install mcp-server-cards@agent-polyfill
copilot plugin install ard-discovery@agent-polyfill
```

This install, from a clone, is the one tested. Copilot loads a plugin from a local marketplace where it is, so keep the clone; `git pull` there updates it. From GitHub, `copilot plugin marketplace add idosal/AgentPolyfill` adds the same marketplace. Checked in Copilot CLI 1.0.105. Not checked in 1.0.115, in the interactive TUI, or in VS Code. There is no bundle. Events is a Copilot extension, and Copilot loads extensions only in experimental mode (`copilot --experimental`, or, per Copilot's help, `/settings experimental on`, not checked); the whole extension API is experimental and may change in any release. Copilot runs the extension with its own Node. Server Cards and ARD are MCP servers in plugins: they need no experimental mode, but need Node 20 or newer. For one run without installing: `copilot --experimental --plugin-dir ./AgentPolyfill/polyfills/<polyfill>/copilot/plugin` (`<polyfill>` is `events`, `server-cards` or `ard`). Remove one with `copilot plugin uninstall <name>@agent-polyfill`. Events' data stays in `~/.copilot/mcp-events/`; delete that folder too to remove it. Added servers stay in `~/.copilot/mcp-config.json`; undo with `copilot mcp remove <name>`. The marketplace stays until `copilot plugin marketplace remove agent-polyfill`.

Copilot has Skills over MCP and MCP Apps built in, so there is no Copilot form of either. Copilot CLI 1.0.115 declares Skills to every server (in its initialize; listing or loading a served skill in Copilot was not checked). VS Code's Copilot harness turns MCP Apps on (from its source; not checked there); the terminal draws none.

**Hermes Agent** (v0.23.4, the version tested; Node 20 or newer on the gateway's machine). In a terminal:

```bash
hermes plugins install idosal/AgentPolyfill/polyfills/events/hermes/plugin --enable
hermes plugins install idosal/AgentPolyfill/polyfills/skills/hermes/plugin --enable
hermes plugins install idosal/AgentPolyfill/polyfills/server-cards/hermes/plugin --enable
hermes plugins install idosal/AgentPolyfill/polyfills/ard/hermes/plugin --enable
```

Each plugin installs from its own folder in this repository, with its Python code and bundled Node helper. Node 20 or newer must be on the gateway's PATH; `AGENTPOLYFILL_NODE` can name another executable. Events and Skills use only the servers named in `plugins.entries.<plugin id>.settings.servers` in your profile's `config.yaml`. Events also needs `plugins.entries.mcp-events.allow_gateway_injection: true` to start a turn; without it, watches store events but cannot wake a session. The Events and Skills guides show the configuration entries. Remove Events with `hermes plugins remove mcp-events`, or Skills with `hermes plugins remove mcp-skills`. Events keeps watches, events, cursors, wake counts and its log in `$HERMES_HOME/mcp-events/`; Skills keeps its stubs in `$HERMES_HOME/mcp-skills/` and what each session loaded in Hermes's plugin state. Disable Server Cards or ARD with `hermes plugins disable mcp-server-cards` or `hermes plugins disable ard-discovery`. Added servers remain in `mcp_servers` in `config.yaml`; `hermes mcp remove <name>`, then `/reload-mcp`, removes one. Ownership records are in `$HERMES_HOME/mcp-server-cards/added.json` and `$HERMES_HOME/ard-discovery/added.json`.

Apps has no Hermes form yet.

**T3 Code.** T3 Code (0.1.11, the version tested) is an app that runs the Codex, Claude Code, OpenCode and other agents on your machine from one interface; it has no plugin layer or MCP client of its own, so install the plugins above for the agent you use in it. What follows was checked with Codex as the agent. Apps: T3 Code shows MCP Apps itself, so the Apps polyfill should not be used there. Skills, Server Cards and ARD: their tools work, but with Codex the one question each asks before its consequential step (an MCP elicitation form: "Load it", "Add it", "Send the search") is cancelled by T3 Code without being shown, because it shows only forms it can answer with Approve or Decline; the step is refused as if you had said no, and nothing is approved for you (checked with Skills; Server Cards and ARD were not checked in T3 Code). Events: use the T3 form, mcp-events-t3, for Codex threads only, added to Codex from a clone (`codex mcp add mcp-events-t3 -- node "$PWD/AgentPolyfill/polyfills/events/t3/plugin/dist/server.js"`), then Restart agent session in T3 Code; T3 Code tells it which thread it serves, its watcher outlives the agent's sessions and T3 Code itself, and an event wakes the thread through T3 Code's own `t3 thread send`. The Codex Events plugin should not be used in T3 Code: its wake runs a turn the thread does not show. Claude Code threads cannot use the T3 form, since T3 Code does not tell Claude Code's servers which thread they serve. Not checked in T3 Code: anything with Claude Code or OpenCode as the agent, the watch_event approval prompt in a thread whose mode asks, Server Cards and ARD. Remove the T3 form with `codex mcp remove mcp-events-t3` and `node <clone>/polyfills/events/t3/plugin/dist/server.js --stop`; its data stays in `~/.codex/mcp-events-t3`. Details: https://github.com/idosal/AgentPolyfill/blob/main/docs/t3-code.md

Beyond MCP, ARD is a draft. Every search asks you first and goes to a registry you choose. Install it separately:

- **Claude Code:** `/plugin install ard-discovery --marketplace idosal/AgentPolyfill`; it isn't in the bundle.
- **Codex:** `codex plugin add ard-discovery@agent-polyfill`.
- **Pi:** `pi install ./polyfills/ard/pi/extension` from a clone; it is left out of the one-line install.
- **OpenCode:** `opencode plugin add 'github:idosal/AgentPolyfill#main::path:polyfills/ard/opencode/plugin'` (included in the commands above).
- **Antigravity:** `agy plugin install https://github.com/idosal/AgentPolyfill/tree/main/polyfills/ard/antigravity/plugin` (included in the commands above).
- **Copilot CLI:** `copilot plugin install ard-discovery@agent-polyfill`, with the marketplace added (included in the commands above).
- **Hermes:** `hermes plugins install idosal/AgentPolyfill/polyfills/ard/hermes/plugin --enable` (included in the commands above).

> Video (48 s, [MP4](https://agentpolyfill.com/media/launch.mp4)): Real Claude Code and Codex sessions, no sound. In Claude Code, DOOM from the hosted arcade server runs under a tool call and is played; then a watched Cloudflare Worker throws an error, and the idle session wakes and says what broke (Cloudflare's MCP server, run locally with a fix). In Codex, in the ChatGPT desktop app, Hugging Face's MCP server serves 25 skills, all listed in Codex, and one of them answers which GGUF quantization to use for a 7B model on a 16 GB Mac. Back in Claude Code, the MCP servers neon.com publishes are found from its domain and Add is pressed on one, and ARD lists buildkite.com's server, then asks before it sends a search to a registry. It ends on the install lines for both hosts.

## The polyfills

Each one implements an MCP extension's client side, to spec, and steps aside once the host ships its own. Servers don't change.

### Events (`mcp-events`)

`io.modelcontextprotocol/events`, SEP-3415, Final. Early.

The agent watches events on your MCP servers, by poll, push or webhook, and an event wakes an idle session.

Hosts:

- Claude Code
- Codex
- Pi
- OpenCode
- Antigravity
- Copilot CLI
- Hermes

Try it with the hosted demo server (no sign-in):

**Claude Code**

```bash
claude mcp add --transport http feeds https://event-feeds.idosalomon.workers.dev/mcp
```

Then start `claude` and ask: "Give me a demo button and tell me what I type when I press it"

**Codex**

```bash
codex mcp add feeds --url https://event-feeds.idosalomon.workers.dev/mcp
```

Then start `codex` and ask: "Give me a demo button and tell me what I type when I press it"

**Pi**

```bash
pi mcp add feeds --url https://event-feeds.idosalomon.workers.dev/mcp
```

Then start `pi` and ask: "Watch for new earthquakes from the feeds server and tell me where each one was."

**OpenCode**

In `opencode.json`:

```json
{ "mcp": { "feeds": { "type": "remote", "url": "https://event-feeds.idosalomon.workers.dev/mcp" } } }
```

Then start `opencode` and ask: "Give me a demo button and tell me what I type when I press it"

**Antigravity**

```bash
agy mcp add feeds https://event-feeds.idosalomon.workers.dev/mcp
```

Then open the Antigravity App or start `agy` and ask: "Give me a demo button and tell me what I type when I press it"

**Copilot CLI**

```bash
copilot mcp add --transport=http feeds https://event-feeds.idosalomon.workers.dev/mcp
```

Then start `copilot --experimental` and ask: "Give me a demo button and tell me what I type when I press it"

**Hermes**

In `~/.hermes/config.yaml`:

```yaml
mcp_servers:
  feeds:
    url: https://event-feeds.idosalomon.workers.dev/mcp
plugins:
  entries:
    mcp-events:
      settings:
        servers: [feeds]
      allow_gateway_injection: true
```

Then start `hermes` and ask: "Give me a demo button and tell me what I type when I press it"

- Codex: a woken session is a Codex CLI session (the terminal app or `codex exec`). A chat in the ChatGPT desktop app keeps its events but can't be woken, so ask it for `recent_events`.
- Pi: add the demo server with `pi mcp add feeds --url https://event-feeds.idosalomon.workers.dev/mcp`, then ask to watch for new earthquakes. Confirm the watch in Pi's dialog. An event wakes an idle session with a message starting `[mcp-events]` that says the extension sent it; Pi reads the event and answers.
- OpenCode: add the demo server with `"mcp": {"feeds": {"type": "remote", "url": "https://event-feeds.idosalomon.workers.dev/mcp"}}` in `opencode.json`. OpenCode asks before the watch starts, naming the server and the event type. Press the button: the idle session wakes with a message from the plugin, which the TUI shows as `◈ mcp-events: new events` and OpenCode Desktop doesn't show, and the model reads the event and answers.
- Antigravity: add the demo server with `agy mcp add feeds https://event-feeds.idosalomon.workers.dev/mcp` (in CLI 1.5.17's own help, not in Antigravity's docs; the App doesn't ship `agy`, so there, use Customizations > Installed > MCP Servers). This demo was not checked in Antigravity. A watch asks in Antigravity's approval card. New events reach the conversation at its next model call, through the plugin's `PreInvocation` hook (checked in CLI 1.5.17; Antigravity's plugins page doesn't list it among plugin hooks), as fixed text with a count and the plugin's own watch ids. To wake an idle App conversation, turn on the plugin's sidecar with `"sidecars": {"mcp-events/wake": {"enabled": true}}` in `~/.gemini/config/config.json`. CLI conversations can't be woken. The IDE documents no plugin hooks, so the forms aren't supported there.
- Copilot CLI: Events is a Copilot extension, so start `copilot --experimental` (or, per Copilot's help, run `/settings experimental on` once (not checked)). The first session asks once whether the extension may have elevated permissions. A watch asks twice: Copilot's tool prompt for `watch_event`, then the plugin's own dialog, which names the server, the event type, the filters and the note and says events will start turns. An event wakes the idle session with a turn Copilot marks as an automation, whose first line says the plugin sent it; Copilot reads the event with `get_event` and answers.
- Hermes: add the YAML above to your profile's `config.yaml`, then start `hermes`. Hermes makes a private button page and asks you to approve the watch. Type a message on the page and press the button. The idle session gets a message starting `[mcp-events]`, reads the event and tells you what you typed. The plugin polls and takes push events; servers with `events: true` are left to Hermes's own webhook delivery.

> Video (15 s, no sound, [MP4](https://agentpolyfill.com/media/events.mp4)): In Claude Code, asked to watch the acme-checkout Worker on Cloudflare and say what breaks, Claude starts a watch through Cloudflare's MCP server, run locally with a fix, delivered by webhook through a relay, and the session goes idle. When the Worker throws an error, the idle session wakes by itself with a prompt from the mcp-events plugin, reads the event and says what broke: a SyntaxError, where a request that expected JSON got plain text.

The Events guide: https://agentpolyfill.com/guide/events.md

### Skills (`mcp-skills`)

`io.modelcontextprotocol/skills`, SEP-2640, Final. Early.

Skills an MCP server serves show up next to your own, load only after you say yes to each one, and are checked against the server's digests.

Hosts:

- Codex
- Pi
- OpenCode
- Antigravity
- Hermes

Try it with Hugging Face's public MCP server (no sign-in):

**Codex**

```bash
codex mcp add huggingface --url https://huggingface.co/mcp
```

Then start `codex` and ask: "Which GGUF quantization should I use to run a 7B model on a 16 GB Mac?"

**Pi**

```bash
pi mcp add huggingface --url https://huggingface.co/mcp
```

Then start `pi` and ask: "Which GGUF quantization should I use to run a 7B model on a 16 GB Mac?"

**OpenCode**

In `opencode.json`:

```json
{ "mcp": { "huggingface": { "type": "remote", "url": "https://huggingface.co/mcp", "oauth": false } } }
```

Then start `opencode` and ask: "Which GGUF quantization should I use to run a 7B model on a 16 GB Mac?"

**Antigravity**

```bash
agy mcp add huggingface https://huggingface.co/mcp
```

Then open the Antigravity App or start `agy` and ask: "Which GGUF quantization should I use to run a 7B model on a 16 GB Mac?"

**Hermes**

In `~/.hermes/config.yaml`:

```yaml
mcp_servers:
  huggingface:
    url: https://huggingface.co/mcp
plugins:
  entries:
    mcp-skills:
      settings:
        servers: [huggingface]
```

Then start `hermes` and ask: "Use the Hugging Face local-models skill: which GGUF quantization should I use to run a 7B model on a 16 GB Mac?"

- Codex: the served skills appear in the `$` list after you ask once to list the served skills, from the next turn.
- Pi: add the server with `pi mcp add huggingface --url https://huggingface.co/mcp`. Skills appear as `mcp-huggingface-<name>`, marked with their server. Loading one asks: "Don't load it", "Show me its SKILL.md first", or "Load it".
- OpenCode: add the server with `"mcp": {"huggingface": {"type": "remote", "url": "https://huggingface.co/mcp", "oauth": false}}` in `opencode.json`. Skills appear in OpenCode's own skill list as `mcp-skills:huggingface:<name>`, marked with their server. Loading one takes two steps: OpenCode's skill tool returns the plugin's note, then the model calls `mcp_skills_load_skill` and OpenCode asks: "Allow once", "Allow always" or "Reject".
- Antigravity: add the server with `agy mcp add huggingface https://huggingface.co/mcp`, or in the App under Customizations > Installed > MCP Servers. Served skills appear as placeholder folders in `~/.gemini/config/skills/`. Loading a new or changed one is put to you in Antigravity's approval card, yes or no; an approved, unchanged skill gets only Antigravity's usual MCP question, which allow rules can skip.
- Hermes: add the YAML above to your profile's `config.yaml`, then start `hermes`. The plugin looks at the server during your first turn. From the next session, skills appear as `mcp-skills:huggingface-<name>`, marked with their server; `list_skills` and `load_skill` reach them at once. Hermes asks before a load. To read SKILL.md first, deny and type the `/mcp-skills show` line in the question.

Claude Code needs no polyfill for this: it lists skills from MCP servers itself, in beta from 2.1.332. Nor does Copilot CLI: 1.0.115 declares Skills over MCP to every server (in its initialize; listing or loading a served skill in Copilot was not checked). Hermes has a Skills form; its served skills are listed from the next session.

> Video (25 s, no sound, [MP4](https://agentpolyfill.com/media/skills.mp4)): In Codex, in the ChatGPT desktop app, asked what skills the Hugging Face MCP server serves, Codex lists its 25 skills, all visible in Codex. Asked which GGUF quantization to use for a 7B model on a 16 GB Mac, Codex asks in its own form whether to load the skill huggingface-local-models from that server, saying its 4 files are each checked against the server's SHA-256 digest when read, with Do not load it, Show me its SKILL.md first, and Load it. After Load it, Codex answers from the skill: Q4_K_M.

The Skills guide: https://agentpolyfill.com/guide/skills.md

### Server Cards (`mcp-server-cards`)

SEP-2127, Final (extension Beta). Early.

Name a company and the agent finds the MCP servers its domain publishes, and adds the one you pick. Servers behind OAuth work.

Hosts:

- Claude Code
- Codex
- Pi
- OpenCode
- Antigravity
- Copilot CLI
- Hermes

**Claude Code**

Nothing to set up. Start `claude` and ask: "What MCP servers does neon.com publish?"

**Codex**

Nothing to set up. Start `codex` and ask: "What MCP servers does neon.com publish?"

**Pi**

Nothing to set up. Start `pi` and ask: "What MCP servers does neon.com publish?"

**OpenCode**

Nothing to set up. Start `opencode` and ask: "What MCP servers does neon.com publish?"

**Antigravity**

Nothing to set up. Open the Antigravity App or start `agy` and ask: "What MCP servers does neon.com publish?"

**Copilot CLI**

Nothing to set up. Start `copilot` and ask: "What MCP servers does neon.com publish?"

**Hermes**

Nothing to set up. Start `hermes` and ask: "What MCP servers does neon.com publish?"

Then add Neon Docs (no sign-in):

- Claude Code: press Add.
- Codex: choose "Add it" in its form.
- Pi: choose "Add it" in its dialog, which names the host, URL, headers, configuration file and undo command. Pi saves the server and connects it for the current session.
- OpenCode: ask "Add Neon Docs" and allow it when OpenCode asks. In the TUI the prompt says only "Call tool mcp_server_cards_add", with "Allow once" and "Reject"; the name and URL are on the model's call line above it. The server is in OpenCode's MCP servers at once, for this project, and OpenCode connects it.
- Antigravity: approve the addition in Antigravity's approval card. The plugin then writes the server to `~/.gemini/config/mcp_config.json`.
- Copilot CLI: Copilot's tool prompt comes first, then the plugin's form, where you choose "Add it". Run `/mcp reload` to connect it; `copilot mcp remove neon-docs` removes it again.
- Hermes: ask "Add Neon Docs" and approve Hermes's prompt. The server is saved in `mcp_servers` in `config.yaml`; run `/reload-mcp` to connect it. `hermes mcp remove neon-docs`, followed by `/reload-mcp`, removes it again.

> Video (27 s, no sound, [MP4](https://agentpolyfill.com/media/server-cards.mp4)): In Claude Code, What MCP servers does neon.com publish? lists Neon and Neon Docs from neon.com's own catalog, each with an Add button, and Add on Neon Docs marks it added, with a note to run /mcp to connect or sign in. Then the same in Codex, in the ChatGPT desktop app: Codex lists the two servers, and asked to add Neon Docs, shows its own form naming the host, the URL, the headers (none) and the Server Card it came from, with Don't add it and Add it. After Add it, neon-docs is in Codex's config; codex mcp remove neon-docs undoes it.

The Server Cards guide: https://agentpolyfill.com/guide/server-cards.md

### Apps (`mcp-apps-cli`)

`io.modelcontextprotocol/ui`, MCP Apps 2026-01-26, Stable. Early.

A server's app opens right under the tool call in the terminal, and answers the mouse and keyboard.

Hosts:

- Claude Code

Try it with the hosted arcade (classic shareware games from archive.org):

**Claude Code**

```bash
claude mcp add --transport http arcade https://mcp-apps-arcade.idosalomon.workers.dev/mcp
```

Then start `claude` and ask: "Find a shareware game in the arcade and load it"

Available only in Claude Code. The Antigravity App shows MCP Apps itself. Apps has no Hermes form yet.

Apps has no Pi form. Pi 1.6.0 leaves out `ui://` resources and tool `_meta`, so an extension cannot get an App's UI through Pi. Its terminal could draw one in principle, but no Pi Apps form is built or tested.

Apps has no OpenCode form. OpenCode has no MCP Apps support: a plugin cannot read a `ui://` resource or a tool's `_meta` over OpenCode's connection, and there is no place to draw in the conversation. The desktop app's experimental panels can embed a web view, but an OpenCode Apps form was only assessed, not built.

Apps has no Antigravity form. Antigravity's App renders MCP Apps itself (v2.34.0 and later); the CLI and IDE show text only.

Apps has no Copilot form. Copilot has MCP Apps built in where they can be drawn: VS Code's Copilot harness turns them on (from its source; no app was drawn there). The Copilot CLI terminal draws none.

> Video (19 s, no sound, [MP4](https://agentpolyfill.com/media/apps.mp4)): In Claude Code, Play DOOM opens the game from the hosted arcade server under the tool call, and it is played. A system monitor app draws a live CPU chart with a tooltip under the pointer, and in a terminal with no image support it draws the chart in text. Then a 3D torus knot renders inline and turns when dragged.

The Apps guide: https://agentpolyfill.com/guide/apps.md

## Beyond MCP

### ARD discovery (`ard-discovery`)

Agentic Resource Discovery v0.91, a draft outside MCP. Early.

Finds MCP servers through a domain's ard.json, or by searching an ARD registry you choose, and hands the cards to Server Cards.

Hosts:

- Claude Code
- Codex
- Pi
- OpenCode
- Antigravity
- Copilot CLI
- Hermes

Not in the Claude Code bundle or Pi's one-line install. Install it on its own:

**Claude Code**

```
/plugin install ard-discovery --marketplace idosal/AgentPolyfill
```

Then start `claude` and ask: "What MCP servers does buildkite.com list through ARD?"

**Codex**

```bash
codex plugin marketplace add idosal/AgentPolyfill && codex plugin add ard-discovery@agent-polyfill
```

Then start `codex` and ask: "What MCP servers does buildkite.com list through ARD?"

**Pi**

```bash
git clone https://github.com/idosal/AgentPolyfill.git
cd AgentPolyfill
pi install ./polyfills/ard/pi/extension
```

Then start `pi` and ask: "What MCP servers does buildkite.com list through ARD?"

**OpenCode**

```bash
opencode plugin add 'github:idosal/AgentPolyfill#main::path:polyfills/ard/opencode/plugin'
```

Then start `opencode` and ask: "What MCP servers does buildkite.com list through ARD?"

**Antigravity**

```bash
agy plugin install https://github.com/idosal/AgentPolyfill/tree/main/polyfills/ard/antigravity/plugin
```

Then open the Antigravity App or start `agy` and ask: "What MCP servers does buildkite.com list through ARD?"

**Copilot CLI**

```bash
git clone https://github.com/idosal/AgentPolyfill.git && copilot plugin marketplace add ./AgentPolyfill && copilot plugin install ard-discovery@agent-polyfill
```

Then start `copilot` and ask: "What MCP servers does buildkite.com list through ARD?"

**Hermes**

```bash
hermes plugins install idosal/AgentPolyfill/polyfills/ard/hermes/plugin --enable
```

Then start `hermes` and ask: "Use ARD to discover the MCP servers neon.com publishes."

A domain lookup sends no query to a registry. A search sends the words of your request to the registry you chose, so every search asks you first and names where it's going. In OpenCode's TUI, the prompt says only "Call tool ard_search": the query and the registry you named are on the model's call line above it, and nothing on screen names a registry a referral names.

- Hermes: approve the prompt naming the endpoint and exact query. "Session" and "always" cover only that exact query to that endpoint; different words ask again. Each referral needs its own call and approval. Adding a result needs a separate approval, then `/reload-mcp` to connect it. Where Hermes approves without asking (`--yolo`, `/yolo`, `hermes -z`, `approvals.mode: off`), the plugin refuses the search and the addition instead. Hermes's unattended approve modes (`approvals.cron_mode`, `single_query_mode` or `unattended_mode: approve`) still approve them where nobody is present, and a kept "session" or "always" answer covers its exact search or addition.

Installed separately from the others: a search sends your words to the registry you chose, so every search asks you first.

> Video (16 s, no sound, [MP4](https://agentpolyfill.com/media/ard.mp4)): In Claude Code, What does buildkite.com list via ARD? shows Buildkite's MCP server, listed by buildkite.com, with an Add button. Then a search of a local demo ARD registry for a server that checks CI builds: Claude Code first asks whether to send the query to that registry and up to three it refers to, and after Yes the result lists Buildkite and Netlify, each confirmed by its own domain, and says where the query went.

The ARD discovery guide: https://agentpolyfill.com/guide/ard.md

## Who it is for

- **If you use an agent host.** Install steps and a first run for each host. Pi installs Events, Skills and Server Cards with one line from this repository on GitHub, and OpenCode installs each plugin from it with Git; nothing for either is published to npm. Antigravity plugins install from GitHub with the Antigravity CLI (the App doesn't ship `agy`) and Git, and nothing is published to Antigravity's Marketplace. Copilot CLI installs from a clone added as a marketplace. Hermes Agent installs each plugin from its folder in this repository. [Getting started](https://agentpolyfill.com/guide/getting-started.md)
- **If you build.** The `create-polyfill` and `design-extension` skills, and the contract every polyfill here meets. New polyfills, and existing ones brought to another host, are welcome. [Build a polyfill](https://agentpolyfill.com/guide/build-a-polyfill.md)
- **If you write specs.** A polyfill can be the client half of the two implementations an extension needs to reach Stable. [For spec authors](https://agentpolyfill.com/guide/spec-authors.md)

---

This page on the web: https://agentpolyfill.com/
