Skip to main content
Pre-release

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/.

  1. Manifest inspection (YAML on disk) - keeper-manifest.list_records, keeper-manifest.inspect_record, keeper-manifest.list_principals, keeper-manifest.blast_radius: load the manifest from manifest_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.

  2. 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.

  3. Propose-only governance - keeper-manifest.propose_rotation, keeper-manifest.propose_revoke, keeper-manifest.propose_offboard: build YAML-serialized plans from MockProvider only, plus unsigned receipts; nothing is applied.

  4. Validate, plan, and dry-run - keeper-manifest.validate_manifest, keeper-manifest.plan_manifest, keeper-manifest.apply_manifest_dry: subprocess to python -m keeper_manifest.cli validate|plan|apply --dry-run; plan_manifest and apply_manifest_dry accept provider (mock default, commander optional 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.

  5. 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-effort example_path when running from a repo checkout) backed by keeper_manifest.core.capabilities.FAMILY_DESCRIPTORS. Registry size matches the core package (58 registered families; see All 58 Families and Family Maturity).

  6. 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 when manifest_path is omitted; when unset, the bundled sample.yaml next 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 via KEEPER_MANIFEST_MCP_MAX_CONCURRENT_SUBPROCESSES (default 4, fallback KEEPER_MANIFEST_MCP_MAX_CONCURRENT_PROCESSES) with finite slot acquisition wait KEEPER_MANIFEST_MCP_CONCURRENCY_WAIT_SECONDS (default 60 seconds), bound execution duration via KEEPER_MANIFEST_MCP_SUBPROCESS_TIMEOUT_SECONDS (default 60 seconds), and enforce live streaming per-stream output quotas via KEEPER_MANIFEST_MCP_MAX_OUTPUT_BYTES (default 8388608 bytes per stdout/stderr). Exceeding output quota, timeout, or cancelling an active call_tool coroutine immediately terminates and reaps the owned child process group before releasing the concurrency slot, with redacted error output.
  • Commander / keeper-manifest: for plan_manifest or apply_manifest_dry with provider=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'.

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)

Source distribution for keeper-manifest-mcp-server 1.0.0rc2
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)

Table of built distributions (wheels) for keeper-manifest-mcp-server 1.0.0rc2
File Interpreter ABI Platform Actions
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 log

Release 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 log

Security 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.

Select from 2 files

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 log

A 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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page