MCP connection guide
The registry exposes two stateless MCP endpoints on the same host. Configure exactly one of them in your client:
| You want | URL | Behavior |
|---|---|---|
| Public search only | https://agents.a2loop.com/mcp | No sign-in. Public indexes only; private indexes look "not found". |
| Your organization's private indexes | https://agents.a2loop.com/mcp/auth | Your client opens a browser once to sign in with GitHub, then sees public indexes plus the private indexes of every organization you belong to. |
MCP clients only start sign-in when the server answers with an HTTP 401.
/mcp never does that (so anonymous use stays frictionless); /mcp/auth
always does until you're signed in. A token from one endpoint also works on the other.
Tools
| Tool | Description |
|---|---|
| list_agents | Lists one index's agents, no upstream fan-out. Without sign-in a query is required — enumerating a whole index is for members of its organization. |
| search_agents | Full-text searches one index and fans out across its upstreams. |
| submit_agent | Admins only: list your own agent via org-attested. For agents inside your network pass reachability: "internal" and the card you fetched yourself. |
| reverify_agent | Admins only (signed-in endpoint): re-verify an agent now. Returns the problems on failure. |
| remove_agent | Admins only (signed-in endpoint): permanently delete an agent and its verification history. |
| get_agent | Fetches one agent by address, no upstream fan-out. |
| resolve_agent | Fetches one agent by address, following upstreams. |
Every tool takes an optional index argument
(<index>.<org>, defaults to public.global).
Private indexes: connect once with GitHub
Point your client at https://agents.a2loop.com/mcp/auth. It implements the standard MCP
Authorization spec (OAuth 2.1 + PKCE) on top of the same GitHub sign-in used on this site:
on first use your client opens one browser window for you to approve, then stores and
silently refreshes its own token. Your GitHub account's organization memberships determine
what you can read (any role) — nothing to copy-paste, nothing for an admin to distribute.
GitHub Copilot CLI / VS Code
Add an entry to your MCP config (e.g. ~/.copilot/mcp-config.json or VS Code's
mcp.json). Use /mcp instead for anonymous public search only:
{
"a2a-registry": {
"type": "http",
"url": "https://agents.a2loop.com/mcp/auth"
}
}
Claude Desktop
In claude_desktop_config.json:
{
"mcpServers": {
"a2a-registry": {
"url": "https://agents.a2loop.com/mcp/auth"
}
}
}
Cursor
In .cursor/mcp.json:
{
"mcpServers": {
"a2a-registry": {
"url": "https://agents.a2loop.com/mcp/auth"
}
}
}
Raw JSON-RPC (no MCP client)
curl -X POST https://agents.a2loop.com/mcp \
-H "content-type: application/json" -H "accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_agents","arguments":{"query":"maps"}}}'