# a2a-to-poppy: full reference

> Converts between A2A Agent Cards and Personal Agent Protocol (Poppy) poppy.json documents, and explains where each field goes.

Site: https://a2a-to-poppy.com. Version 0.5.0. Free, no account, no API key. Written against A2A 1.0 (a2a.proto) and Personal Agent Protocol 1.0 (text of 19 November 2026).

## When to use this

- You have an A2A Agent Card and need the `poppy.json` a Poppy Personal Agent would look for, or the reverse.
- You want to know which fields of one protocol have no place in the other, and why.
- You are building an adapter between the two and need the companion documents: OAuth protected-resource and authorization-server metadata, client metadata, key set.
- You want to see a working bridge exchange, with real Session JWTs, before writing one.

## What a conversion returns

- `source`: the document that was read, its kind (`agent-card` or `poppy`) and notes about how it was served.
- `output`: the converted document and its kind.
- `maps`: one record per field: `kind` is `copy` (carried unchanged), `shape` (reshaped or renamed), `adapter` (consumed or supplied by the adapter) or `lost` (no counterpart); `from` and `to` are paths; `note` says why; `ref` names the spec section. Every field of the source appears in some record.
- `checks`: things to act on before publishing. `level` is `must`, `note` or `ok`.
- `companions`: other documents the result needs, each with the URL it must be served at.

## REST

OpenAPI 3.1: https://a2a-to-poppy.com/openapi.json

```
GET https://a2a-to-poppy.com/api/convert?url=example.com
GET https://a2a-to-poppy.com/api/convert?url=https://agent.example/.well-known/agent-card.json&raw=1
POST https://a2a-to-poppy.com/api/convert        (body: the Agent Card or poppy.json as JSON)
```

`url` is a domain or an https URL. A bare domain tries `/.well-known/poppy.json`, then `/.well-known/agent-card.json`, then `/.well-known/agent.json`. `raw=1` returns only the converted document. Options, as query parameters:

- `kind` (`poppy` or `card`): Which document to look for or expect. Default: detect.
- `adapter`: https base URL of the adapter that will run the bridge. Default: this site.
- `domain`: Agent Card to poppy.json only: the Company domain that will serve the result.
- `issuer`: Agent Card to poppy.json only: the OAuth issuer for sign-in.
- `card` (`1.0` or `0.3`): poppy.json to Agent Card only: which A2A card shape to write. Default 1.0.
- `fold` (`0` or `1`): Agent Card to poppy.json only: 0 keeps skill names out of the entry description.

Errors are `{ "error": { "code", "message" } }` with a 4xx or 5xx status. CORS is open.

## MCP

Endpoint: `https://a2a-to-poppy.com/mcp`. Streamable HTTP, POST only, no session, no authentication. Protocol versions: 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26. With 2026-07-28 there is no handshake: send the version in `params._meta` and in the `MCP-Protocol-Version` header, with `Mcp-Method` and, for `tools/call`, `Mcp-Name`. Earlier versions start with `initialize`.

### convert_url

Fetch a public A2A Agent Card or Poppy poppy.json and convert it to the other protocol's document. Returns the output, checks to act on before publishing, and companion documents (OAuth metadata, client metadata). Only public https hosts are fetched.

Arguments:

- `url` (string, required): A domain or an https URL. A bare domain tries /.well-known/poppy.json, then /.well-known/agent-card.json, then /.well-known/agent.json.
- `kind` ("poppy" | "card"): Which document to look for or expect. Default: detect.
- `adapter` (string): https base URL of the adapter that will run the bridge. Default: this site.
- `domain` (string): Agent Card to poppy.json only: the Company domain that will serve the result.
- `issuer` (string): Agent Card to poppy.json only: the OAuth issuer for sign-in.
- `card` ("1.0" | "0.3"): poppy.json to Agent Card only: which A2A card shape to write. Default 1.0.
- `fold_skills` (boolean): Agent Card to poppy.json only: fold skill names into the entry description. Default true.
- `include_maps` (boolean): Also return the field-by-field mapping records. Default false: they are long.

### convert_document

Convert an Agent Card or poppy.json you already have. Nothing is fetched.

Arguments:

- `document` (object, required): The Agent Card or poppy.json.
- `kind` ("poppy" | "card"): Which document to look for or expect. Default: detect.
- `adapter` (string): https base URL of the adapter that will run the bridge. Default: this site.
- `domain` (string): Agent Card to poppy.json only: the Company domain that will serve the result.
- `issuer` (string): Agent Card to poppy.json only: the OAuth issuer for sign-in.
- `card` ("1.0" | "0.3"): poppy.json to Agent Card only: which A2A card shape to write. Default 1.0.
- `fold_skills` (boolean): Agent Card to poppy.json only: fold skill names into the entry description. Default true.
- `include_maps` (boolean): Also return the field-by-field mapping records. Default false: they are long.

### round_trip

Convert a document to the other protocol and back, and report which values came back unchanged, different or not at all, and why. Shows what the two protocols cannot carry between them.

Arguments:

- `document` (object, required): The Agent Card or poppy.json.
- `adapter` (string): https base URL of the adapter that will run the bridge. Default: this site.

Results carry a one-line summary as text and the full result as `structuredContent`. A refused fetch comes back as a tool result with `isError: true`, not as a protocol error.

Example, 2026-07-28:

```
POST https://a2a-to-poppy.com/mcp
Content-Type: application/json
Accept: application/json, text/event-stream
MCP-Protocol-Version: 2026-07-28
Mcp-Method: tools/call
Mcp-Name: convert_url

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"convert_url","arguments":{"url":"sandbox-company.a2a-to-poppy.com"},"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}
```

To add it to a client that takes a remote MCP URL, give it `https://a2a-to-poppy.com/mcp`.

## A2A

Agent Card: https://a2a-to-poppy.com/.well-known/agent-card.json. JSON-RPC endpoint: `https://a2a-to-poppy.com/a2a`. Methods: `SendMessage` (A2A 1.0) or `message/send` (0.3). Send a domain or URL as text, `{"url": "…"}` as a data part, or the document itself as a data part. The reply is a Message with a text summary and a data part holding `output`, `checks` and `companions`. There are no tasks and no streaming.

```
POST https://a2a-to-poppy.com/a2a
Content-Type: application/json
A2A-Version: 1.0

{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{"messageId":"m1","role":"ROLE_USER","parts":[{"text":"Convert sandbox-agent.a2a-to-poppy.com"}]}}}
```

## Sandbox

Two made-up parties and a real bridge between them. Index: https://a2a-to-poppy.com/sandbox

- Juniper Supply, a scripted Poppy 1.0 Company: https://sandbox-company.a2a-to-poppy.com/.well-known/poppy.json. Ask it about opening hours, an order number, or returns.
- Parcel Estimates, a scripted A2A 1.0 agent: https://sandbox-agent.a2a-to-poppy.com/.well-known/agent-card.json. Give it a postcode and a weight in kg.
- A2A in, Poppy out: `POST https://a2a-to-poppy.com/a2a/sandbox-company.a2a-to-poppy.com` (card at `…/.well-known/agent-card.json` under that path). The bridge acts as a Personal Agent: client metadata at https://a2a-to-poppy.com/poppy/client.json.
- Poppy in, A2A out: `POST https://a2a-to-poppy.com/poppy/conversations`, the endpoint named by https://sandbox-agent.a2a-to-poppy.com/.well-known/poppy.json. Requests need a valid `Poppy-Session` header (Poppy 5.2, 5.3) and `Poppy-Version: 1.0`.
- One whole turn with every exchange recorded: `POST https://a2a-to-poppy.com/sandbox/run` with `{"direction": "card" | "front", "text": "…", "conversation": "<optional, from an earlier run>"}`.

The bridge relays only to these two parties. Sessions are signed out: there is no sign-in and no access token. Replies are immediate; there is no streaming or long-poll.

## The bridge extension

URI: `https://a2a-to-poppy.com/ext/poppy-bridge/v1`. Page: https://a2a-to-poppy.com/ext/poppy-bridge/v1/. JSON Schema: https://a2a-to-poppy.com/ext/poppy-bridge/v1/schema.json. Cards generated from a `poppy.json` declare it under `capabilities.extensions[]`; its `params` carry the Company domain, issuer, sign-in flag, scopes and scope hints, which an Agent Card has no field for. Message and task metadata under the same URI carry author, context, responder, handoff and closed. It is this site's convention, not part of A2A or Poppy.

## What does not convert

- Poppy has one conversation endpoint and no skill list. A card's skills, examples, tags and media types do not reach `poppy.json`; gated skills become OAuth scopes.
- A2A has no field for a Company's scopes, sign-in or human handoff. They travel in the bridge extension.
- Poppy `web` (browser join) and `tasks` have no A2A counterpart. A2A push notifications and file parts have no Poppy counterpart.
- The `round_trip` tool and the page's Round trip view list this for a specific document.

## Limits

- Only public https hosts on port 443 are fetched. IP literals, internal names and this site's own API are refused; redirects are re-checked hop by hop; 256 KB and 6 seconds at most.
- Only Agent Cards and poppy.json documents are returned, so it cannot be used as a general proxy.
- 60 requests a minute per address.
