Keeper Secrets Manager MCP Server
Published
At a glance
- Category
- Security & auth
- GitHub repository
- Keeper-Security/keeper-mcp-golang-docker
- Watch out for
- The agent can only reach the shared folders assigned to the Secrets Manager application, so folder scoping is the main security control.
Keeper Security publishes the KSM MCP server, a small Go program that sits between an AI client and Keeper Secrets Manager. The agent can list, read, create and change records and folders in the Keeper Vault, but only inside the shared folders you assign to a Secrets Manager application. The application credentials themselves stay with the server, not the model.
It runs locally. Keeper recommends the Docker image keeper/keeper-mcp-server, and there are also prebuilt ksm-mcp binaries on the releases page. The client launches it as a command, so it talks over standard input and output rather than a remote endpoint.
The design leans cautious. Secret fields come back masked by default, and anything that unmasks a value or writes, deletes or uploads asks for confirmation first. Audit logs land in ~/.keeper/ksm-mcp/logs/ unless you turn them off.
How it connects
Your AI app
An assistant or agent that supports MCP
Keeper Secrets Manager MCP Server
Runs as
- Docker
Gives the agent
- Browse and search secrets
- Write records
- Manage folders
- File attachments
- Passwords and TOTP
- Health checks
Keeper Secrets Manager
The data or system the tools act on
What it can do
- Browse and search secrets
- list_secrets returns metadata only, search_secrets matches on title, notes or field content, and get_secret fetches a record with sensitive fields masked unless you confirm unmasking.
- Write records
- create_secret, update_secret and delete_secret change vault records, each behind a confirmation prompt.
- Manage folders
- list_folders shows what the application can reach, create_folder adds one under a shared parent, and delete_folder removes one, with an option to force-delete a folder that still has items.
- File attachments
- upload_file attaches a file to a secret after confirmation, and download_file pulls an attachment back out.
- Passwords and TOTP
- generate_password makes a new password and can save it straight into a new secret without the model ever seeing it. get_totp_code returns the current one-time code stored on a record.
- Health checks
- health_check reports the server and Keeper connection status, and get_server_version returns the build version.
Setting it up
In the Keeper Vault, open Secrets Manager, create an application, give it the shared folders it may touch and set edit or read-only permission. On the application's Devices tab choose Add Device, pick the configuration file method in Base64 format, and copy the string straight away, because Keeper does not keep it. For Claude Desktop, go to Settings > Developer > Edit Config and add a "ksm" entry under mcpServers that runs docker run -i --rm -e KSM_CONFIG_BASE64=<base64-config> keeper/keeper-mcp-server:latest. On macOS use the full Docker path, such as /usr/local/bin/docker, since Claude Desktop does not inherit your shell PATH. If you prefer the binary, run ksm-mcp init --profile default --config "<base64-config>" once, then point the client at ksm-mcp serve --profile default; the --batch flag avoids interactive prompts. Restart Claude Desktop, check that ksm shows under Connectors, and approve the first tool request. KSM_MCP_CONFIG_DIR and KSM_MCP_PROFILE change where profiles live and which one loads.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Pull a database password from a shared folder while writing a deployment script, without pasting it into chat.
- Rotate a service account password by generating a new one and saving it directly into a fresh record.
- Search a team's vault folder for an API key by name and check which records still lack notes.
- Fetch the current TOTP code for a test account during a manual QA session.
- Attach a certificate file to an existing record after renewing it.
Limitations and things to watch
- The agent can only reach the shared folders assigned to the Secrets Manager application, so folder scoping is the main security control.
- The --auto-approve flag skips every confirmation, including deletes, and Keeper says it belongs only in controlled settings.
- The Base64 config holds the application credentials and must stay out of version control; passing it as a CLI flag exposes it on the command line.
- Claude Desktop is the only client with documented setup steps.
- Keeper notes that data you share with a third-party AI tool falls under that tool's privacy and security practices, not Keeper's.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /Keeper-Security/keeper-mcp-golang-docker
- raw.githubusercontent.com /Keeper-Security/keeper-mcp-golang-docker/main/README.md
- docs.keeper.io /en/keeperpam/secrets-manager/integrations/model-context-protocol-mcp-for-ai-agents-docker
- hub.docker.com /v2/repositories/keeper/keeper-mcp-server
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.