kdbx MCP
A read-only MCP server that provides per-project secrets from local KeePassXC vaults to AI agents. It injects credentials into commands without printing them to transcripts, logs, or shell history, ensuring agent-safe secret management.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 5 GitHub stars
What you can do with it
- Inject KeePassXC secrets into child process environments
- Provide read-only access to project-specific credentials
- Securely hand secrets to AI agents without logging
Source and maintenance
- Last repository push
- Latest release
- v0.3.2
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/yarrasys/kdbx:0.3.2
{
"transport": "stdio",
"identifier": "ghcr.io/yarrasys/kdbx:0.3.2",
"registryType": "oci",
"packageArguments": [
{
"type": "positional",
"value": "mcp",
"description": "kdbx is a CLI; the MCP server is its `mcp` subcommand."
}
],
"runtimeArguments": [
{
"name": "-v",
"type": "named",
"value": "{project_dir}:/work",
"variables": {
"project_dir": {
"format": "filepath",
"isRequired": true,
"description": "Absolute path to the project whose secrets you want available"
}
},
"isRequired": true,
"description": "Mount the project directory containing the committed .keepassxc.json pointer file. kdbx discovers the pointer by walking up from the working directory."
},
{
"name": "-v",
"type": "named",
"value": "{keepassxc_dir}:/kpx:ro",
"variables": {
"keepassxc_dir": {
"format": "filepath",
"isRequired": true,
"description": "Absolute path to the KeePassXC directory, usually ~/.config/keepassxc"
}
},
"isRequired": true,
"description": "Mount the KeePassXC directory holding the vault and its key file. Mounted read-only: every tool this server exposes is a read."
},
{
"name": "-w",
"type": "named",
"value": "/work",
"description": "Run inside the mounted project so pointer discovery resolves."
}
],
"environmentVariables": [
{
"name": "KEEPASSXC_DIR",
"default": "/kpx",
"description": "Where kdbx looks for vaults inside the container. Must match the mount target above."
},
{
"name": "KDBX_ENV",
"description": "Environment to select, overriding the pointer's defaultEnv. Optional."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"kdbx-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KEEPASSXC_DIR=<YOUR_KEEPASSXC_DIR>",
"-e",
"KDBX_ENV=<YOUR_KDBX_ENV>",
"ghcr.io/yarrasys/kdbx:0.3.2",
"mcp"
],
"env": {
"KEEPASSXC_DIR": "<YOUR_KEEPASSXC_DIR>",
"KDBX_ENV": "<YOUR_KDBX_ENV>"
}
}
}
}Cline
{
"mcpServers": {
"kdbx-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KEEPASSXC_DIR=<YOUR_KEEPASSXC_DIR>",
"-e",
"KDBX_ENV=<YOUR_KDBX_ENV>",
"ghcr.io/yarrasys/kdbx:0.3.2",
"mcp"
],
"env": {
"KEEPASSXC_DIR": "<YOUR_KEEPASSXC_DIR>",
"KDBX_ENV": "<YOUR_KDBX_ENV>"
}
}
}
}VS Code
{
"servers": {
"kdbx-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KEEPASSXC_DIR=<YOUR_KEEPASSXC_DIR>",
"-e",
"KDBX_ENV=<YOUR_KDBX_ENV>",
"ghcr.io/yarrasys/kdbx:0.3.2",
"mcp"
],
"env": {
"KEEPASSXC_DIR": "<YOUR_KEEPASSXC_DIR>",
"KDBX_ENV": "<YOUR_KDBX_ENV>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"kdbx-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KEEPASSXC_DIR=<YOUR_KEEPASSXC_DIR>",
"-e",
"KDBX_ENV=<YOUR_KDBX_ENV>",
"ghcr.io/yarrasys/kdbx:0.3.2",
"mcp"
],
"env": {
"KEEPASSXC_DIR": "<YOUR_KEEPASSXC_DIR>",
"KDBX_ENV": "<YOUR_KDBX_ENV>"
}
}
}
}Let your agent find its tools
Find servers like kdbx MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.