Vault MCP Server

There is now an official Vault MCP Server from Hashicorp. Therefore, the alternative third-party Vault MCP Server will continue to exist and be

Remote serverstreamable-http

What is the Vault MCP server?

Connect Vault to Claude, Cursor or any other MCP client and it stops being a tab you switch to. There is now an official Vault MCP Server from Hashicorp. Therefore, the alternative third-party Vault MCP Server will continue to exist and be updated with features and fixes, but no attempt will be made to compete with the official. The vault mcp server is what makes that connection.

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • PKI — Transit
  • Claude — The Claude tool exposed by this server
  • VSCode — The MCP: Add Server --> Docker Image command can also streamline this configuration. The values below can be entered into the input prompts, and then

Credentials and setup notes

Configuration is passed through the environment: ENV_VAR, ENV_VAR_TWO, VAULT_AUTH_PATH, VAULT_ROLE_ID, VAULT_SECRET_ID, VAULT_TOKEN, VAULT_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Vault's toolset — PKI, Claude, VSCode — is a fair guide to whether it matches your workflow. It is maintained by mschuchard; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
PKITransit
ClaudeThe Claude tool exposed by this server.
VSCodeThe MCP: Add Server --> Docker Image command can also streamline this configuration. The values below can be entered into the input prompts, and then the mcp.json file is automically opened within a pane afterward for fu

How to install the Vault MCP server

{
  "mcpServers": {
    "vault": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ENV_VAR",
        "-e",
        "ENV_VAR_TWO",
        "matthewschuchard/vault-mcp-server"
      ],
      "env": {
        "ENV_VAR": "<ENV VAR VALUE>",
        "ENV_VAR_TWO": "<ENV VAR TWO VALUE>",
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ENV_VARConfiguration value read at startup.Optional
ENV_VAR_TWOConfiguration value read at startup.Optional
VAULT_AUTH_PATHFilesystem location the server is allowed to use.Optional
VAULT_ROLE_IDConfiguration value read at startup.Optional
VAULT_SECRET_IDCredential the server authenticates with.Yes
VAULT_TOKENCredential the server authenticates with.Yes
VAULT_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Vault to PKI.
  • Use Vault to Claude.
  • Use Vault to VSCode.

Frequently asked questions

It connects Vault to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (PKI, Claude, VSCode) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Vault directly.