Skip to main content
Glama
KeePassXC MCP Server

KeePassXC MCP Server

by tuaris

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KEEPASSXC_HOSTNoTCP host. Setting this enables TCP mode instead of Unix socket mode.
KEEPASSXC_PORTNoTCP port used when TCP mode is enabled.
KEEPASSXC_SOCKETNoUnix domain socket path. Auto-detected by default.auto-detected
KEEPASSXC_TIMEOUTNoResponse timeout in milliseconds.30000
KEEPASSXC_IDENTITYNoPath to the persistent association identity file.~/.local/share/keepassxc-mcp/identity.json

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_loginsB

Retrieve saved credentials (username + password) from KeePassXC for a given URL. Returns all matching entries including login, password, name, and UUID.

get_totpA

Get the current TOTP (time-based one-time password) code for a KeePassXC entry. Requires the entry UUID (obtain via get_logins first).

set_loginB

Save or update credentials in KeePassXC. To update an existing entry, provide its uuid.

generate_passwordB

Generate a random password using KeePassXC's password generator. Note: this may open the KeePassXC password generator dialog on the host and wait for the user to confirm.

lock_databaseA

Lock the currently open KeePassXC database.

get_database_groupsA

List all groups (folders) in the KeePassXC database as a tree.

get_database_hashA

Get the SHA-256 hash of the current KeePassXC database. Useful for detecting if the database has changed.

associateA

Manually (re-)associate this MCP server with the KeePassXC database. A confirmation dialog will appear in KeePassXC. Usually not needed — association happens automatically on first use.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a clearly distinct action: retrieving logins, retrieving TOTP, saving logins, generating passwords, locking, listing groups, hashing, and associating. get_logins and get_totp are related but explicitly separated by the UUID requirement and output type. No two tools could be reasonably confused.

Naming Consistency4/5

Most tools follow a consistent snake_case verb_noun pattern (get_logins, set_login, generate_password, lock_database, get_database_groups, get_database_hash). The lone 'associate' lacks a noun and is a minor deviation, but the overall convention is predictable.

Tool Count5/5

Eight tools is well-scoped for a KeePassXC integration, covering credentials, TOTP, password generation, and database metadata. Each tool earns its place without excessive surface area.

Completeness3/5

Core read/create/update workflows exist, but there is no delete operation for entries, and group management is read-only (no create/delete groups). Additionally, there is no unlock tool despite lock_database being present. These are notable gaps for a password-manager lifecycle.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues