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

ToolAuthWhat it doesArguments
verify_certificateNoneCheck a credential by code: live status and Ed25519 signature checkcode
validate_open_badgeNoneValidate an Open Badges 2.0/3.0 credential or VC-JWTbadgeUrl, badgeJson or rawText
list_templatesAPI key · readList your certificate templates (to get templateId)—
list_certificatesAPI key · readList your certificateslimit 1–200 (default 50), offset
issue_certificateAPI key · issueIssue a signed certificate, optionally emailing the holdertemplateId + holderName (required), holderEmail, issuedDate, autoEmail
revoke_certificateAPI key · revokeRevoke 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:

MCP client config
{
  "mcpServers": {
    "badgebeacon": {
      "url": "https://api.badgebeacon.com/api/mcp",
      "headers": { "X-API-Key": "<your API key>" }
    }
  }
}
Claude Code
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.

  • OpenAPI 3.1 Spec
contact@badgebeacon.com