MCP server for mounting and unmounting VeraCrypt containers with secure, stdin-based password handling (OS keyring supported). Say 'mount my vault' and work on the files.
claude mcp add veracrypt-mcp -- python -m git{
"mcpServers": {
"veracrypt-mcp": {
"command": "python",
"args": ["-m", "git"]
}
}
}Resumen de MCP Servers
# veracrypt-mcp
MCP (Model Context Protocol) server for mounting and unmounting [VeraCrypt](https://veracrypt.io) 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
- **mount_container**: mount a VeraCrypt container (optional mount point, PIM, read-only)
- **unmount_container**: dismount by container path or mount point
- **list_mounted_containers**: 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):
```bash
security add-generic-password -s veracrypt-mcp -a my-container -w
# you will be prompted for the password interactively
```
Linux (libsecret / GNOME Keyring, requires `libsecret-tools`):
```bash
secret-tool store --label="veracrypt-mcp my-container" service veracrypt-mcp account my-container
```
Then 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](https://macfuse.github.io/) (required by VeraCrypt for mounting)
- Linux keyring source: `libsecret-tools` (`secret-tool`)
## Installation
```bash
pip install git+https://github.com/bitterdev/veracrypt-mcp.git
```
Or from a local clone:
```bash
git clone https://github.com/bitterdev/veracrypt-mcp.git
cd veracrypt-mcp
pip install .
```
## Configuration
### Claude Code
```bash
claude mcp add veracrypt -- veracrypt-mcp
```
With a default vault (recommended):
```bash
claude mcp add veracrypt \
-e VERACRYPT_MCP_CONTAINER="/path/to/vault.hc" \
-e VERACRYPT_MCP_KEYCHAIN_ACCOUNT="my-vault" \
-- veracrypt-mcp
```
### Claude Desktop / generic MCP client
```json
{
"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
| Variable | Description |
| --- | --- |
| `VERACRYPT_MCP_CONTAINER` | Default container path used when no `container_path` is given |
| `VERACRYPT_MCP_KEYCHAIN_ACCOUNT` | Default keyring account used when no password source is given |
| `VERACRYPT_MCP_MOUNT_POINT` | Default mount directory (otherwise VeraCrypt auto-selects) |
| `VERACRYPT_PATH` | Absolute path to the VeraCrypt binary if it is not on PATH |
## License
MIT, see [LICENSE](LICENSE).
## Author
Fabian Bitter (fabian@bitter.de)
Lo que la gente pregunta sobre veracrypt-mcp
¿Qué es bitterdev/veracrypt-mcp?
+
bitterdev/veracrypt-mcp es mcp servers para el ecosistema de Claude AI. MCP server for mounting and unmounting VeraCrypt containers with secure, stdin-based password handling (OS keyring supported). Say 'mount my vault' and work on the files. Tiene 0 estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala veracrypt-mcp?
+
Puedes instalar veracrypt-mcp clonando el repositorio (https://github.com/bitterdev/veracrypt-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar bitterdev/veracrypt-mcp?
+
bitterdev/veracrypt-mcp aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.
¿Quién mantiene bitterdev/veracrypt-mcp?
+
bitterdev/veracrypt-mcp es mantenido por bitterdev. La última actividad registrada en GitHub es de today, con 0 issues abiertos.
¿Hay alternativas a veracrypt-mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega veracrypt-mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/bitterdev-veracrypt-mcp)<a href="https://claudewave.com/repo/bitterdev-veracrypt-mcp"><img src="https://claudewave.com/api/badge/bitterdev-veracrypt-mcp" alt="Featured on ClaudeWave: bitterdev/veracrypt-mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!