What is Vault MCP Server?
Vault MCP Server is a third-party MCP server that integrates with HashiCorp Vault, providing tools and resources for managing Vault through MCP-compatible clients. It can be executed locally or remotely via Docker. It is not recommended for enterprise production usage.
How to use Vault MCP Server?
Configure the server as a Docker container in desktop MCP clients like Claude or VSCode. Set environment variables for Vault connection (e.g., VAULT_URL, VAULT_TOKEN, VAULT_AUTH_METHOD) and pass them to the container. Example configuration files are provided for Claude and VSCode.
Key features of Vault MCP Server
- 5 resources: ACL policies, audit devices, auth engines, secret engines, Raft cluster config.
- 138 tools covering system and secrets backends.
- 4 prompts for ACL policy generation and Vault diagnostics.
- Supports token, userpass, and approle authentication methods.
- Configurable cache TTL for read/list operations.
- Container image available on Dockerhub.
Use cases of Vault MCP Server
- Automating Vault ACL policy creation and optimization via LLM.
- Diagnosing Vault server state and configuration deficiencies.
- Interacting with KV v2, PKI, Transit, and database secrets engines.
- Managing Vault system backend operations (audit, auth, Raft, etc.).
Comments