This release is a pre-release and may not be stable for production use.
Keeper Manifest MCP Server
Companion package (keeper-manifest-mcp-server, also launched via keeper-manifest mcp serve) exposing the single read-only and propose-only Model Context Protocol (MCP) server for Keeper Manifest. AI clients (Claude Desktop, Cursor, ChatGPT, custom agents) can inspect manifests, discover all 58 registered manifest families, evaluate policy/refusal checks, generate unsigned governance and migration proposals, and run validate / plan / apply --dry-run via the child CLI entrypoint. Trust boundary: APPLY_BLOCKED = True is fixed, assert_no_apply() keeps keepercommander out of the MCP parent process, subprocess tools shell out to python -m keeper_manifest.cli, and no apply write tool exists. See AI Assistant (MCP Server) for the full reference guide.
About this server
Model Context Protocol (MCP) is a JSON-RPC over stdio convention between a host (the AI product) and a server that advertises typed tools. This package implements the Keeper Manifest MCP server: 17 tools that list and inspect records on a YAML manifest, explain refusal-pack checks, aggregate policy checks, propose rotation / revoke / offboard / migration plans with unsigned receipts, audit non-human identity (NHI) posture, enumerate canonical family descriptors, and dispatch validate, plan, and apply --dry-run to the installed keeper-manifest CLI. Inspect and propose paths run offline without mutating tenants. The CLI dispatch path runs in a child subprocess and can use provider=mock (default) or provider=commander for plan and apply --dry-run when your environment has Commander credentials configured for that child process - still with no MCP-exposed apply.
The server ships alongside the core keeper-manifest distribution so teams can adopt the CLI without pulling in MCP dependencies unless needed. Install keeper-manifest in the same Python environment as this package: family descriptor tools import keeper_manifest.core.capabilities / keeper_manifest.core.schema, and subprocess-backed validate / plan / apply --dry-run tools invoke keeper_manifest.cli.
Installation
pip install keeper-manifest-mcp-server
# Or install an isolated CLI:
uv tool install keeper-manifest-mcp-server
Or from a checkout of this repository:
git clone https://github.com/Keeper-Security/keeper-manifest.git
cd keeper-manifest
uv sync --all-packages --extra dev
Requires Python 3.11 or newer.
Starting the server
Run the console script or CLI wrapper with no arguments; transport is stdio for MCP hosts:
keeper-manifest-mcp-server
Equivalent CLI launcher and module entrypoints:
keeper-manifest mcp serve
python3 -m keeper_manifest_mcp_server.server
Use keeper-manifest-mcp-server --test-list-tools to print registered tool metadata as JSON and exit. Point your MCP client at this process; configuration is client-specific (Claude Desktop, Cursor, and custom hosts each document their mcpServers format).
Tools available
Registered tool names use the keeper-manifest. prefix (17 tools). Implementations map 1:1 to modules under keeper_manifest_mcp_server/tools/.
-
Manifest inspection (YAML on disk) -
keeper-manifest.list_records,keeper-manifest.inspect_record,keeper-manifest.list_principals,keeper-manifest.blast_radius: load the manifest frommanifest_path,KEEPER_MANIFEST_MCP_MANIFEST, or the bundled sample, list or inspect records and principals with secret metadata redacted at the boundary, and compute blast-radius relationships. See Manifest Families for schema context by family. -
Policy and refusal -
keeper-manifest.refusal_explain,keeper-manifest.policy_check: read a manifest path and return refusal rows (for example shared-credential grant counts) and an aggregated policy-pack status. -
Propose-only governance -
keeper-manifest.propose_rotation,keeper-manifest.propose_revoke,keeper-manifest.propose_offboard: build YAML-serialized plans fromMockProvideronly, plus unsigned receipts; nothing is applied. -
Validate, plan, and dry-run -
keeper-manifest.validate_manifest,keeper-manifest.plan_manifest,keeper-manifest.apply_manifest_dry: subprocess topython -m keeper_manifest.cli validate|plan|apply --dry-run;plan_manifestandapply_manifest_dryacceptprovider(mockdefault,commanderoptional for live planning or dry-run rehearsal against authenticated sessions in the child process). Output is captured as structured fields and passed through the package redactor. -
Family discovery -
keeper-manifest.list_families,keeper-manifest.describe_family: sorted canonical IDs and structured family capability metadata (lane,public_tier,operations,discover_mode,enforcement,schema_resource,schema_title, and best-effortexample_pathwhen running from a repo checkout) backed bykeeper_manifest.core.capabilities.FAMILY_DESCRIPTORS. Registry size matches the core package (58 registered families; see All 58 Families and Family Maturity). -
Migration, import rehearsal, and NHI audit -
keeper-manifest.propose_keeper_ss_migration,keeper-manifest.propose_cyberark_import,keeper-manifest.nhi_audit: convert Keeper Secrets Scanner SARIF findings into proposed KSM manifests, generate sanitized offline CyberArk import previews and CLI proposals without live PVWA calls, and audit non-human identity tier posture on a manifest.
Compliance report CLI commands and KSM bus CLI commands belong to the keeper-manifest CLI surface rather than MCP tools; see AI Assistant (MCP Server) for the complete 17-tool MCP specification.
Trust and security
APPLY_BLOCKED is fixed True. On startup and after each tool handler, assert_no_apply() ensures the keepercommander package is not loaded in the MCP server process - live SDK code cannot be pulled into the MCP parent process by design. There is no --allow-writes flag: mutation is out of scope, and real tenant apply always requires an operator or approved CI job running keeper-manifest apply directly. Proposal tools are offline-only and return plans and unsigned receipts, not tenant writes. Tool descriptions are static strings registered in server.py (no runtime prompt injection from remote definitions). All structured tool results pass through the redactor for secret-shaped fields.
Configuration
KEEPER_MANIFEST_MCP_MANIFEST: optional path to the YAML manifest used by inspection and propose tools whenmanifest_pathis omitted; when unset, the bundledsample.yamlnext to the package is used.- Subprocess resource and concurrency bounds: CLI-backed tools (
validate_manifest,plan_manifest,apply_manifest_dry) offload onto a worker pool so the asyncio event loop remains responsive, cap concurrent child processes viaKEEPER_MANIFEST_MCP_MAX_CONCURRENT_SUBPROCESSES(default4, fallbackKEEPER_MANIFEST_MCP_MAX_CONCURRENT_PROCESSES) with finite slot acquisition waitKEEPER_MANIFEST_MCP_CONCURRENCY_WAIT_SECONDS(default60seconds), bound execution duration viaKEEPER_MANIFEST_MCP_SUBPROCESS_TIMEOUT_SECONDS(default60seconds), and enforce live streaming per-stream output quotas viaKEEPER_MANIFEST_MCP_MAX_OUTPUT_BYTES(default8388608bytes perstdout/stderr). Exceeding output quota, timeout, or cancelling an activecall_toolcoroutine immediately terminates and reaps the owned child process group before releasing the concurrency slot, with redacted error output. - Commander /
keeper-manifest: forplan_manifestorapply_manifest_drywithprovider=commander, configure the child CLI the same way you would for normal Commander sessions (environment variables and session files as documented in Quick Start and Authentication).
Integrations
Claude Desktop - Add a server entry that runs keeper-manifest-mcp-server (or keeper-manifest with ["mcp", "serve"]):
{
"mcpServers": {
"keeper-manifest-mcp": {
"command": "keeper-manifest-mcp-server",
"args": [],
"env": {
"KEEPER_MANIFEST_MCP_MANIFEST": "/path/to/acme-lab.yaml"
}
}
}
}
Cursor - In the MCP settings UI or project JSON, register a stdio server with the same command / args / env pattern your version expects.
Custom agents - Any MCP-compatible host can spawn keeper-manifest-mcp-server (or keeper-manifest mcp serve) and list the 17 tools per the protocol spec linked from modelcontextprotocol.io.
Running tests
cd src/keeper-manifest-mcp-server
uv run pytest -q
From the monorepo root: pytest -q src/keeper-manifest-mcp-server/tests/ -k 'not live'.
Where to read next
docs/capabilities/TOUR.md- capability overview for Keeper Manifest.docs/use-cases/ai-agent-platform.md- AI platform persona: MCP posture and guarded execution.docs/mcp/MCP_SERVER.md- complete 17-tool MCP server reference and security boundary.docs/families/- design notes and briefs for manifest families.
About Keeper Security
Keeper Security is the creator of KeeperPAM - the zero-trust and zero-knowledge privileged access management ("PAM") platform for securing and managing access to your critical infrastructure.
Metadata
Release files for keeper-manifest-mcp-server 1.0.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| keeper_manifest_mcp_server-1.0.0rc2.tar.gz | 26.2 kB | With provenance | Details for keeper_manifest_mcp_server-1.0.0rc2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| keeper_manifest_mcp_server-1.0.0rc2-py3-none-any.whl | Python 3 | none | any | Details for keeper_manifest_mcp_server-1.0.0rc2-py3-none-any.whl |
Total release size: 62.2 kB
Release files / keeper_manifest_mcp_server-1.0.0rc2.tar.gz
| Download URL | keeper_manifest_mcp_server-1.0.0rc2.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
811bb8ee0b6f518a697b1db2709d48a19cffbe7dd7a2e367cbaba4bf27ce583b
|
|
BLAKE2b-256 checksum How to use checksums |
3fefe407cf6ccf8e93fc84c4e2e66b3fdc5d254a91aefff96471b264b3e915c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / keeper_manifest_mcp_server-1.0.0rc2-py3-none-any.whl
| Download URL | keeper_manifest_mcp_server-1.0.0rc2-py3-none-any.whl |
|---|---|
| Size | 36.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
717acd33089ea8e1c8c9d907c23ed7ca2711e62e887eebbc1933a1f61504af7d
|
|
BLAKE2b-256 checksum How to use checksums |
85f730294fce250ad6cf8902f6231c6d345d4179106d40dd78a12ca38cd905c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for keeper-manifest-mcp-server 1.0.0rc2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for keeper_manifest_mcp_server-1.0.0rc2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.