McpMux
Back to Registry

Vault (Docker) MCP Server

Community

Contributed by HashiCorp

Connect to HashiCorp Vault via Docker to manage secrets and secrets engines. Read, write, list, and delete key-value secrets, create and manage mounts, and handle PKI certificates (issuers, roles, certificate issuance) in an isolated container.

About the Vault (Docker) MCP Server

The Vault (Docker) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Connect to HashiCorp Vault via Docker to manage secrets and secrets engines. Read, write, list, and delete key-value secrets, create and manage mounts, and handle PKI certificates (issuers, roles, certificate issuance) in an isolated container. This is a community-contributed MCP server by HashiCorp.

Install the Vault (Docker) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires an API key — McpMux securely stores your credentials with AES-256-GCM encryption.

Transport Configuration

Transport Configuration
{
  "type": "stdio",
  "command": "docker",
  "args": [
    "run",
    "-i",
    "--rm",
    "-e",
    "VAULT_ADDR",
    "-e",
    "VAULT_TOKEN",
    "hashicorp/vault-mcp-server:latest"
  ],
  "env": {
    "VAULT_ADDR": "${input:VAULT_ADDR}",
    "VAULT_TOKEN": "${input:VAULT_TOKEN}"
  },
  "metadata": {
    "inputs": [
      {
        "id": "VAULT_ADDR",
        "label": "Vault Address",
        "description": "Base URL of your HashiCorp Vault server. Use host.docker.internal instead of localhost to reach a Vault instance running on the host machine (e.g., https://host.docker.internal:8200).",
        "type": "url",
        "required": true,
        "secret": false,
        "placeholder": "https://vault.example.com:8200"
      },
      {
        "id": "VAULT_TOKEN",
        "label": "Vault Token",
        "description": "Vault authentication token used to access secrets and secrets engines. The token's policies determine which paths and operations are permitted.",
        "type": "text",
        "required": true,
        "secret": true,
        "placeholder": "hvs.****************************",
        "obtain": {
          "url": "https://developer.hashicorp.com/vault/docs/commands/token/create",
          "instructions": "1. Authenticate to your Vault server (e.g., vault login)\n2. Create a token scoped to the policies you need: vault token create -policy=<policy>\n3. Copy the token value from the output (token field)",
          "button_label": "Create Token"
        }
      }
    ]
  }
}
Details
TransportLocal (stdio)
Hostinglocal
AuthAPI Key
Capabilities
Tools

Categories

Tags

vaulthashicorpsecretssecrets-managementpkikey-valuesecuritydocker

Supported AI Clients

The Vault (Docker) MCP server works with all MCP-compatible AI clients through McpMux:

CursorClaude DesktopClaude CodeVS CodeChatGPTWindsurfJetBrainsZedClineGemini CLIAmazon Q

Related MCP Servers

Install Vault (Docker) with McpMux

One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.