MCP Integration

Certman supports the Model Context Protocol (MCP), allowing AI assistants like Claude to manage certificates on your behalf.

Connecting

Add Certman as an MCP server in your AI tool's configuration using your API key:

{
  "mcpServers": {
    "certman": {
      "url": "https://mcp.certman.app/mcp",
      "headers": {
        "Authorization": "Bearer cm_xxxxxxxxxxxx"
      }
    }
  }
}

Available Tools

Once connected, your AI assistant can use these tools:

  • whoami — Check current API key identity and permissions
  • list_cas — List available certificate authorities (supports filtering by type and parent)
  • get_ca — Get details of a specific CA
  • get_ca_chain — Get the full certificate chain from a CA to root
  • list_certificates — List issued certificates
  • get_certificate — Get certificate details
  • issue_certificate — Issue a new certificate
  • revoke_certificate — Revoke a certificate
  • renew_certificate — Renew a certificate

Passphrase-Protected CAs

For CAs protected with a passphrase, include the caPassphrase parameter when using issue_certificate, revoke_certificate, or renew_certificate. The AI assistant will prompt you for the passphrase if it's required but not provided.