Install abn
Install abn
These examples use published, verified artifacts. Keep signing keys on your server.
Script tag
The relay is a route on your server. It signs calls as your registered app.
<script src="https://cdn.comms.id/abn/1.2.0.js" integrity="sha384-T4FS2mQJxc4UeyMMOGxgziMbDOm32di0XeOgCwZ0/eHk8UBnsW+L5Ktgj3ux6qFw" crossorigin="anonymous"></script>
<comms-id-abn relay="/api/comms-id/abn"></comms-id-abn>
React
pnpm add @comms-id/abn-react@0.2.2 @comms-id/abn@0.4.0
import { createAbnBrowserClient } from "@comms-id/abn/browser";
import { AbnAutocomplete } from "@comms-id/abn-react";
const client = createAbnBrowserClient({ relayUrl: "/api/comms-id/abn" });
export const Example = () => <AbnAutocomplete client={client} />;
Server SDK
pnpm add @comms-id/abn@0.4.0
import { createAbnClient } from "@comms-id/abn/server";
const client = createAbnClient({
clientId: process.env.COMMS_ID_CLIENT_ID!,
privateJwk: JSON.parse(process.env.COMMS_ID_PRIVATE_JWK!),
});
See the operation reference for request, response and command-line examples.
Relay
Install the server relay into your relying-party app:
pnpm dlx comms-id add abn-relay
Agent tools
Product tools are served at https://mcp.comms.id. The documentation MCP serves documentation only; it does not execute product operations.
Operations
suggest
Read the suggest API reference.
lookup
Read the lookup API reference.