@busymate/ai-verify
v0.1.2
Published
Verify the Busymate AI connector actor token (bmai.actor/3, ES256 + JWKS) in your MCP server or API. Node >=18 and Deno.
Readme
@busymate/ai-verify
Verify the Busymate AI connector actor token (bmai.actor/3, ES256 + JWKS) in your MCP server or API. Node >= 18 and Deno. One dependency: jose.
import { verifyBusymateActor, requireConfirmed } from "@busymate/ai-verify";
const actor = await verifyBusymateActor(req, { audience: "https://mcp.acme.com", tenantId: "acme", connectorId: "conn_1", tool: toolName });
// => { sub, idp, confirmed, tool, jti, supportSessionId }; throws BusymateActorError (e.reason) on any failureFull guide, reason codes and the Python, PHP and Go versions: https://github.com/serebano/busymate-ai-sdk-verify#readme
