Veracrypt MCP Server

MCP server to mount and unmount VeraCrypt containers with secure stdin password handling.

Local serverstdioPython

What is the Veracrypt MCP Server?

MCP server to mount and unmount VeraCrypt containers with secure stdin password handling.

What the server does

MCP (Model Context Protocol) server for mounting and unmounting VeraCrypt containers, with a security-first approach to password handling.

  • 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

Credentials and setup notes

  • 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)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Veracrypt MCP Server

{
  "mcpServers": {
    "veracrypt": {
      "command": "veracrypt-mcp",
      "env": {
        "VERACRYPT_MCP_CONTAINER": "/path/to/vault.hc",
        "VERACRYPT_MCP_KEYCHAIN_ACCOUNT": "YOUR_VERACRYPT_MCP_KEYCHAIN_ACCOUNT"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • 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)
VariableDescriptionRequired
VERACRYPT_MCP_CONTAINERDeclared in the maintainer’s client configuration.Check documentation
VERACRYPT_MCP_KEYCHAIN_ACCOUNTDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

MCP server to mount and unmount VeraCrypt containers with secure stdin password handling. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.