What is Keyfactor Command MCP Server?
An experimental Model Context Protocol server for Keyfactor Command built on the Keyfactor Analytics & AI team’s Python SDK. It enables AI assistants like Claude for Desktop to interact with a Keyfactor Command instance (version 11 or higher) for certificate operations, using either basic or OAuth authentication.
How to use Keyfactor Command MCP Server?
Download the repository, create a Command account with the required permissions, set environment variables in a mcpenv.txt file (hostname, token/OAuth credentials, template, CA), install Python dependencies (requests, oauthlib, httpx, attrs, python-dateutil, uv), test the server from the CLI, then add it to Claude Desktop’s MCP configuration in claude_desktop_config.json.
Key features of Keyfactor Command MCP Server
- Retrieve license information and test connectivity
- Fetch certificate details by ID with optional risk data
- Enroll PFX certificates using subject and SANs
- Enroll certificates via CSR
- Revoke certificates by certificate ID
- Query certificates with search and sort options
- List metadata fields and definitions
Use cases of Keyfactor Command MCP Server
- Automate certificate enrollment and revocation through an AI chat interface
- Quickly look up certificate metadata and risk information
- Run certificate searches and inspections without Command’s Web UI
- Integrate certificate lifecycle management into AI‑powered workflows
评论