Documentation
MCP Agent Gateway
Let an AI agent verify, list, issue, and revoke certificates from your own machine.
What MCP is
MCP (Model Context Protocol) is an open standard that lets an AI assistant call tools. BadgeBeacon offers a hosted MCP endpoint so Claude, Cursor, Windsurf, Codex, Antigravity, n8n and other MCP clients can connect without installing anything.
Remote MCP endpoint
POST https://api.badgebeacon.com/api/mcp speaks MCP JSON-RPC 2.0 over streamable HTTP. Verifying certificates and validating Open Badges needs no key. Listing, issuing and revoking need an organization API key, sent as X-API-Key or Authorization: Bearer. Keys are scoped (read, issue, revoke) and can only act on their own organization. Requests are rate limited per IP.
Tools — six, and only these
| Tool | Auth | What it does | Arguments |
|---|---|---|---|
| verify_certificate | None | Check a credential by code: live status and Ed25519 signature check | code |
| validate_open_badge | None | Validate an Open Badges 2.0/3.0 credential or VC-JWT | badgeUrl, badgeJson or rawText |
| list_templates | API key · read | List your certificate templates (to get templateId) | — |
| list_certificates | API key · read | List your certificates | limit 1–200 (default 50), offset |
| issue_certificate | API key · issue | Issue a signed certificate, optionally emailing the holder | templateId + holderName (required), holderEmail, issuedDate, autoEmail |
| revoke_certificate | API key · revoke | Revoke a certificate. Revocation is final. | id (required), reason |
The tool list is also served live at GET /api/mcp/manifest. The full REST API is described by OpenAPI 3.1.
How to connect it
Add this to your MCP client config (Claude Desktop, Cursor, Windsurf, or any streamable-HTTP MCP client). Leave out the header to use only the free tools:
{
"mcpServers": {
"badgebeacon": {
"url": "https://api.badgebeacon.com/api/mcp",
"headers": { "X-API-Key": "<your API key>" }
}
}
}claude mcp add --transport http badgebeacon https://api.badgebeacon.com/api/mcp \ --header "X-API-Key: <your API key>"
Local option
Prefer to keep everything on your own machine? The stdio server api/mcp-server.mjs runs against your own database with BADGEBEACON_TENANT_ID and DATABASE_PATH, and exposes four tools (verify, list, issue, revoke). A zero-dependency stdio bridge to the remote endpoint is published as @badgebeacon/mcp.
What it cannot do
It cannot act on other organizations, change billing, or delete data. A revoked certificate stays revoked, and every issued certificate counts against your certificate allowance.