Veracrypt MCP server
MCP server to mount and unmount VeraCrypt containers with secure stdin password handling.
1 stars
Reviews
Write oneNobody has reviewed Veracrypt yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Veracrypt tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
list_mounted_containersList all currently mounted VeraCrypt volumes.
mount_containerMount a VeraCrypt container.
unmount_containerUnmount (dismount) a VeraCrypt container.
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 60 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Veracrypt compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- Tools
- 3
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 28,688 servers
What its tools let an agent do: 3 read
Install Veracrypt in Claude Code, Cursor or VS Code
claude mcp add veracrypt-mcp -- uvx veracrypt-mcp
What the publisher says
From the Veracrypt repository's README, as published. We do not edit it. Read it on GitHub
veracrypt-mcp
MCP (Model Context Protocol) server for mounting and unmounting VeraCrypt containers, with a security-first approach to password handling.
Once a container is mounted, your MCP client (e.g. Claude Code) can read and edit the files inside it with its normal file tools. Say "mount my vault", work on the files, then "unmount my vault".
mcp-name: io.github.bitterdev/veracrypt-mcp
Features
- mountcontainer**: mount a VeraCrypt container (optional mount point, PIM, read-only)
- unmountcontainer**: dismount by container path or mount point
- listmountedcontainers: show all mounted VeraCrypt volumes
- Default vault: configure your container once via environment variables; "mount my vault" then works without any arguments
Security model
The volume password is never passed as a command line argument. Command line arguments are visible to every process on the machine (ps aux), so this server always pipes the password to VeraCrypt via stdin using VeraCrypt's official --stdin option.
There are two password sources:
1. OS keyring (recommended)
Store the password once in the OS keyring. The MCP tool then only receives a keyring account name, so the password never enters the LLM context, chat logs, or transcripts.
macOS (Keychain):
security add-generic-password -s veracrypt-mcp -a my-container -w
# you will be prompted for the password interactivelyLinux (libsecret / GNOME Keyring, requires libsecret-tools):
secret-tool store --label="veracrypt-mcp my-container" service veracrypt-mcp account my-containerThen mount with keychain_account: "my-container".
2. Direct password (fallback)
You can pass password directly to the tool. It is still piped via stdin to VeraCrypt (never visible in the process list), but it passes through the LLM conversation and may be stored in chat logs. Use the keyring source whenever possible.
Additional notes:
- Passwords are never logged and never included in tool results or error messages.
- Python cannot securely wipe strings from memory; for maximum security, use the keyring source and a dedicated container password.
Requirements
- Python >= 3.10
- VeraCrypt with the command line binary available (veracrypt on PATH, the macOS app bundle, or set VERACRYPT_PATH)
- macOS: macFUSE (required by VeraCrypt for mounting)
- Linux keyring source: libsecret-tools (secret-tool)
Installation
pip install git+https://github.com/bitterdev/veracrypt-mcp.gitOr from a local clone:
git clone https://github.com/bitterdev/veracrypt-mcp.git
cd veracrypt-mcp
pip install .Configuration
Claude Code
claude mcp add veracrypt -- veracrypt-mcpWith a default vault (recommended):
claude mcp add veracrypt \
-e VERACRYPT_MCP_CONTAINER="/path/to/vault.hc" \
-e VERACRYPT_MCP_KEYCHAIN_ACCOUNT="my-vault" \
-- veracrypt-mcpClaude Desktop / generic MCP client
{
"mcpServers": {
"veracrypt": {
"command": "veracrypt-mcp",
"env": {
"VERACRYPT_MCP_CONTAINER": "/path/to/vault.hc",
"VERACRYPT_MCP_KEYCHAIN_ACCOUNT": "my-vault"
}
}
}
}The server runs over stdio.
Usage examples
With a configured default vault:
Mount my vault
Unmount my vault
Explicit, without defaults:
Mount the container /Users/me/secret.hc using the keychain account "my-container"
Mount read-only at a specific mount point:
Mount /Users/me/secret.hc read-only at ~/mnt/secret, keychain account "my-container"
Environment variables
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Veracrypt: common questions
- Is Veracrypt MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Veracrypt safety report
- How do I install Veracrypt?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Veracrypt need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Veracrypt maintained?
- The last commit was 100 days ago (2026-07-27). The latest release is v0.2.0.
- How does Veracrypt compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); tools 3 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.