
keeper-security/keeper-mcp-golang-docker
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Keeper Secrets Manager - MCP (Model Context Protocol) server implementation
Обзор
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. 1. * Log into the Keeper Secrets Vault. * Navigate to your Secrets Manager, Application, then to the "Devices" tab. * Click "Add Device" and copy the provided (it usually starts with ewog...). : The base64 config contains your KSM application's credentials. Keep it secure and never commit it to version control. 2. * Open your Claude Desktop configuration file: * macOS: ~/Library/Application Support/Claude/claude_desktop_config.json * Windows: %APPDATA%\Claude\claude_desktop_config.json * Linux: ~/.config/Claude/claude_desktop_config.
README
Показан фрагмент оригинального README. Открыть оригинал.
KSM MCP Server - Secure AI Access to Keeper Secrets
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.
Quick User Guide
Option 1: Using Docker (Recommended)
-
Get KSM Base64 Configuration:
- Log into the Keeper Secrets Vault.
- Navigate to your Secrets Manager, Application, then to the “Devices” tab.
- Click “Add Device” and copy the base64-encoded configuration string provided (it usually starts with
ewog...).
Important: The base64 config contains your KSM application’s credentials. Keep it secure and never commit it to version control.
-
Configure Claude Desktop:
- Open your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
- Add or update the
ksmserver entry as follows, replacingYOUR_BASE64_CONFIG_STRING_HEREwith 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. } } - Open your Claude Desktop configuration file:
-
Restart Claude Desktop:
- The KSM server should now be available to Claude. The first time it connects, it will use the base64 config to start up.
Option 2: Using a Pre-compiled Binary
-
Download the Binary:
- Go to the KSM MCP Releases Page and download the appropriate binary for your operating system (e.g.,
ksm-mcp-darwin-amd64for Intel Macs,ksm-mcp-windows-amd64.exefor Windows). - Make the binary executable (e.g.,
chmod +x ./ksm-mcp-darwin-amd64) and place it in a directory included in your system’s PATH, or note its full path.
- Go to the KSM MCP Releases Page and download the appropriate binary for your operating system (e.g.,
-
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:
- Open your terminal and run the init command, replacing
YOUR_BASE64_CONFIG_STRINGand choosing a profile name (e.g.,default):/path/to/ksm-mcp init --profile default --config "YOUR_BASE64_CONFIG_STRING"
- Open your terminal and run the init command, replacing
Установка
docker run -i --rm -e KSM_CONFIG_BASE64=YOUR_BASE64_CONFIG_STRING_HERE keeper/keeper-mcp-server:latestКонфигурация
{
"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.
}
}