MCP server

HashiCorp Vault MCP Server

Read and write Vault secrets and manage mounts in HashiCorp Vault. Official: built and maintained by HashiCorp. It runs locally on your machine over stdio. Setup below for 12 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · HashiCorp
Runs
Local (stdio)
GitHub
★ 65, last push 2026-10-24 (checked 2026-10-24)
License
MPL-2.0
Connects to
HashiCorp Vault

Install the HashiCorp Vault MCP Server

Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio hashicorp-vault -- docker run -i --rm hashicorp/vault-mcp-server

Security notes

  • The local server runs with your user's permissions (it runs in a Docker container, and only the variables passed with -e reach it).
  • Burp Suiteofficial · ★ 1.3k

    Use Burp Suite from an agent: send requests, read proxy history and scanner issues.

  • SonarQubeofficial · ★ 672

    Code quality and security issues, quality gates and metrics from SonarQube Cloud or Server.

  • Socketofficial · ★ 137

    Check npm, PyPI and other packages for supply-chain risk before the agent installs them.

  • Auth0official · ★ 121

    Manage Auth0 applications, APIs, actions, logs and forms from the agent.

  • Oktaofficial · ★ 74

    Self-hosted server to manage Okta users, groups, apps, policies and system logs.

  • Trivyofficial · ★ 53

    Scan filesystems, images and repos for vulnerabilities and misconfigurations with Trivy.

  • Local server in the 1Password app to manage project environment variables, with approval prompts.

  • Clerkofficial

    Hosted server to manage Clerk apps, users and domains, plus Clerk SDK snippets.

FAQ

What does the HashiCorp Vault MCP Server do?+

Read and write Vault secrets and manage mounts in HashiCorp Vault.

Is the HashiCorp Vault MCP server official?+

Official: built and maintained by HashiCorp.

How do I add HashiCorp Vault to Claude Code?+

Run: claude mcp add hashicorp-vault -- docker run -i --rm hashicorp/vault-mcp-server. Add --scope project to share it with your team through .mcp.json.

How do I use the HashiCorp Vault MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").

Does HashiCorp Vault work in ChatGPT and claude.ai?+

No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.

What are the alternatives to the HashiCorp Vault MCP server?+

Other security MCP servers: Burp Suite, SonarQube, Socket, Auth0 and Okta.

All MCP servers · What is an MCP server? · Agent skills