
A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

An MCP server that lets AI agents manage Keeper Secrets Manager secrets, folders, and file attachments while protecting application credentials and requiring confirmation for sensitive operations.
KSM MCP Server for Keeper Secrets Manager is cataloged as an MCP server attributed to keeper-security. An MCP server that lets AI agents manage Keeper Secrets Manager secrets, folders, and file attachments while protecting application credentials and requiring confirmation for sensitive operations. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for KSM MCP Server for Keeper Secrets Manager are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, operations such as creating, updating, or deleting secrets and folders, uploading files, and unmasking sensitive data require confirmation unless auto-approve is enabled.
Yes, the --no-logs flag disables audit logging and prevents any local files from being created, useful for compliance, containerized, or read-only environments.
README.md · eaf0f17b7c2a · Fetched 2026-11-13 13:51:43 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
KSM MCP is a Model Context Protocol (MCP) server that acts as a secure intermediary between AI language models (like Claude) and Keeper Secrets Manager (KSM). It allows AI agents to manage your KSM secrets-such as listing, creating, retrieving, and deleting records and folders-while protecting your KSM application credentials. Sensitive operations require user confirmation, ensuring you maintain control over your data.
Get KSM Base64 Configuration:
ewog...).Important: The base64 config contains your KSM application's credentials. Keep it secure and never commit it to version control.
Configure Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonksm server entry as follows, replacing YOUR_BASE64_CONFIG_STRING_HERE with your actual base64 config:{
"mcpServers": {
"ksm": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "KSM_CONFIG_BASE64=YOUR_BASE64_CONFIG_STRING_HERE",
"keeper/keeper-mcp-server:latest"
]
}
// You might have other servers like "memory" here, leave them as is.
}
}
Restart Claude Desktop:
Download the Binary:
ksm-mcp-darwin-amd64 for Intel Macs, ksm-mcp-windows-amd64.exe for Windows).chmod +x ./ksm-mcp-darwin-amd64) and place it in a directory included in your system's PATH, or note its full path.Get KSM Base64 Configuration: (See step 1 in the Docker guide above)
Important: The base64 config contains your KSM application's credentials. Keep it secure and never commit it to version control.
Initialize KSM MCP Profile:
YOUR_BASE64_CONFIG_STRING and choosing a profile name (e.g., default):
/path/to/ksm-mcp init --profile default --config "YOUR_BASE64_CONFIG_STRING"
Configure Claude Desktop:
claude_desktop_config.json file (see paths in Docker guide).ksm server entry, replacing /path/to/ksm-mcp with the actual path to your downloaded binary:{
"mcpServers": {
"ksm": {
"command": "/path/to/ksm-mcp",
"args": ["serve", "--profile", "default"] // Use the profile name you initialized
}
// ... other servers ...
}
}
Restart Claude Desktop.
The KSM MCP server provides the following tools to interact with Keeper Secrets Manager:
list_secrets: List all accessible secrets (metadata only).get_secret: Retrieve a specific secret (sensitive fields masked by default; unmasking requires confirmation).search_secrets: Search secrets by title, notes, or other field content.create_secret: Create a new secret (requires confirmation).update_secret: Update an existing secret (requires confirmation).delete_secret: Delete a secret (requires confirmation).list_folders: List all accessible folders.create_folder: Create a new folder (requires confirmation; must specify a parent shared folder).delete_folder: Delete a folder (requires confirmation; option to force delete non-empty folders).upload_file: Upload a file attachment to a secret (requires confirmation).download_file: Download a file attachment from a secret.generate_password: Generate a secure password. Can optionally save directly to a new secret without exposing it to the AI.get_totp_code: Get the current TOTP code for a secret that has TOTP configured.get_server_version: Get the current version of the KSM MCP server.health_check: Check the operational status of the MCP server and its connection to KSM.Here are some examples of how you might instruct an AI agent (like Claude) to use the KSM MCP server:
Create a new secret in a new folder: "Please create a new folder named 'Project Phoenix Shared' under our main 'KSM-MCP-TEST-RECORDS' shared folder. Then, inside 'Project Phoenix Shared', create a new login secret titled 'Phoenix Dev DB' with username 'phoenix_user', password 'ComplexP@$$wOrd123!', and URL 'db.phoenix.dev.internal'."
List secrets and retrieve one: "List all secrets in the 'API Keys' folder. Then, get the details for the secret titled 'Third-Party Analytics API Key', but keep the API key itself masked."
Delete a secret and then its folder (if empty): "Delete the secret named 'Old Staging Server Credentials'. Once that's done, if the 'Staging Environment' folder it was in is now empty, please delete that folder as well."
Upload a configuration file to an existing record: "I have a new Kubernetes config file for our production cluster at '~/Downloads/kubeconfig-prod.yaml'. Please upload this file to the KSM record titled 'Production K8s Cluster Access', and name the attachment 'kubeconfig-prod-cluster.yaml'."
Generate a secure password and save it to a new record: "Generate a very strong 32-character password with uppercase, lowercase, numbers, and special characters. Save it directly to a new login record titled 'Internal Audit Service Account' in the 'Service Accounts' folder. Do not show me the password."
Check configuration consistency across environments: "I have service configuration records organized in folders by environment (dev, qa) with subfolders for each AWS region. Please analyze these records and identify any inconsistencies between similar services across different environments. Pay particular attention to configuration values that should typically be the same across environments, such as logging levels, timeout settings, or feature flags."
The KSM MCP server can be instantiated in multiple ways with various configuration options. This section documents all available methods, flags, and environment variables.
{
"mcpServers": {
"ksm": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "KSM_CONFIG_BASE64=YOUR_BASE64_CONFIG_STRING",
"keeper-mcp-server:latest"
]
}
}
}
{
"mcpServers": {
"ksm": {
"command": "/path/to/ksm-mcp",
"args": ["serve", "--profile", "default"]
}
}
}
{
"mcpServers": {
"ksm": {
"command": "/path/to/ksm-mcp",
"args": [
"serve",
"--config-base64", "YOUR_BASE64_CONFIG_STRING"
]
}
}
}
{
"mcpServers": {
"ksm": {
"command": "/path/to/ksm-mcp",
"args": ["serve"],
"env": {
"KSM_CONFIG_BASE64": "YOUR_BASE64_CONFIG_STRING"
}
}
}
}
For environments where you want to prevent any local file creation (including audit logs):
{
"mcpServers": {
"ksm": {
"command": "/path/to/ksm-mcp",
"args": [
"serve",
"--no-logs",
"--config-base64", "YOUR_BASE64_CONFIG_STRING"
]
}
}
}
The --no-logs flag completely disables audit logging, ensuring no local files are created. This is useful for:
| Flag | Type | Default | Description |
|---|---|---|---|
--profile | string | "" | Profile name to use from local storage |
--config-base64 | string | "" | Base64-encoded KSM configuration string |
--batch | boolean | false | Run in batch mode (no password prompts, suitable for automated environments) |
--auto-approve | boolean | false | Auto-approve all destructive operations without user confirmation (dangerous) |
--timeout | duration | 30s | Request timeout duration |
--log-level | string | info | Log level (debug, info, warn, error) |
--no-logs | boolean | false | Disable audit logging (no local files created) |
--batch (Non-Interactive Mode)
--no-logs (Silent Mode)
~/.keeper/ksm-mcp/logs/ directory--auto-approve (Dangerous)
create_secret - Creating new secretsupdate_secret - Modifying existing secretsdelete_secret - Deleting secretscreate_folder - Creating new foldersdelete_folder - Deleting foldersupload_file - Uploading files to secretsksm_execute_confirmed_action tool for selective approval| Variable | Type | Default | Description |
|---|---|---|---|
KSM_CONFIG_BASE64 | string | "" | Base64-encoded KSM configuration string |
KSM_MCP_CONFIG_DIR | string | ~/.keeper/ksm-mcp | Directory for profiles and logs |
KSM_MCP_PROFILE | string | "" | Default profile name to use |
The server uses the following priority order for configuration:
--config-base64 (highest priority)KSM_CONFIG_BASE64--profile with local profile storageKSM_MCP_PROFILE with local profile storageProfiles provide a secure way to store and manage KSM configurations locally without exposing sensitive credentials:
When to use profiles vs. direct config:
ksm-mcp init --profile PROFILE_NAME --config "BASE64_CONFIG_STRING"
This command:
~/.keeper/ksm-mcp/profiles/--profile PROFILE_NAMEksm-mcp profiles list
ksm-mcp profiles delete --profile PROFILE_NAME
| Method | Security Level | Use Case |
|---|---|---|
| Docker with env vars | High | Production, CI/CD |
| Binary with profile | High | Local development, persistent setup |
| Binary with CLI flag | Medium | Testing, temporary usage |
| Binary with env vars | High | Production, containerized environments |
| Silent mode | High | Compliance, no local artifacts |
"No active session" error: Ensure you have either:
--profile flag pointing to an initialized profile--config-base64 flag or KSM_CONFIG_BASE64 environment variable"Failed to create log directory" warnings: Use --no-logs flag to disable local logging
Permission denied errors: Ensure the binary has execute permissions and the config directory is writable
Enable debug logging for troubleshooting:
ksm-mcp serve --log-level debug --profile your-profile
# Initialize profile
ksm-mcp init --profile dev --config "ewogICJob3N0bmFtZSI6..."
# Run server
ksm-mcp serve --profile dev --log-level debug
docker run -i --rm \
-e KSM_CONFIG_BASE64="ewogICJob3N0bmFtZSI6..." \
keeper-mcp-server:latest
export KSM_CONFIG_BASE64="ewogICJob3N0bmFtZSI6..."
ksm-mcp serve --no-logs --batch --timeout 60s
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for KSM MCP Server for Keeper Secrets Manager from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/keeper-mcp-golang-docker)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.