Compatible with every major AI agent and IDE
What is the HashiCorp Vault MCP Server?
Connect your HashiCorp Vault instance to any AI agent to automate secrets management and security operations through natural language.
What you can do
- Secrets Management — Read, write, and list KV secrets directly from your secure mounts using the KV engine.
- Dynamic Credentials — Generate on-demand credentials for Databases, AWS, and PKI certificates without manual intervention.
- Token Operations — Create, lookup, and renew tokens to manage session lifecycles and access control.
- Transit Encryption — Encrypt and decrypt data using Vault's transit engine to protect sensitive information without exposing keys.
- System Administration — Check cluster health, manage mounts, and configure auth methods or ACL policies directly.
How it works
- Subscribe to this server
- Provide your Vault Address and Token
- Start managing your infrastructure security from Claude, Cursor, or any MCP-compatible client
Who is this for?
- DevOps Engineers — automate secret rotation and infrastructure provisioning workflows.
- Security Teams — audit token accessors and manage ACL policies through conversation.
- Developers — fetch development secrets and generate local database credentials without leaving the IDE.
Built-in capabilities (50)
Login using AppRole authentication
Configure AWS root credentials
Configure a database connection
Configure Kubernetes authentication
Create or update an ACL policy
Create or update an AppRole role
Create an AWS role
Create a database role
Create a PKI role
Create a new Vault token
Create a new Transit key
Create a new Userpass user
Decrypt data using Transit engine
Delete the latest version of a KV v2 secret
Enable an audit device
Enable a new auth method
Enable a new secrets engine
Encrypt data using Transit engine
Generate a new Secret ID for an AppRole
Generate dynamic AWS credentials
Generate dynamic database credentials
Generate a new PKI root certificate
Check Vault initialization status
Generate OpenAPI V3 document of mounted backends
Check Vault system health
Login using GitHub personal access token
Initialize a new Vault cluster
Issue a new PKI certificate
Login using Kubernetes authentication
List ACL policies
List enabled audit devices
List enabled auth methods
List secrets in a KV v2 engine path
List mounted secrets engines
List token accessors (requires sudo)
Lookup a lease by ID
Lookup details about the current Vault token
Map a GitHub team to Vault policies
Read metadata for a KV v2 secret
Read a secret from KV v2 engine
Renew a lease
Renew the current Vault token
Revoke a lease
Revoke a PKI certificate
Revoke the current Vault token
Rotate a Transit key
Seal the Vault
Unseal the Vault with a key share
Login using Username and Password
Create or update a secret in KV v2 engine
Why VS Code Copilot?
GitHub Copilot Agent mode brings HashiCorp Vault data directly into your VS Code workflow. With a project-scoped config, the entire team shares access to 50 tools. Copilot queries live data, generates typed code, and writes tests from actual API responses, all without leaving the editor.
- —
VS Code is used by over 70% of developers. adding MCP tools to Copilot means your team can leverage external data without leaving their primary editor
- —
Project-scoped MCP configs (
.vscode/mcp.json) let you commit server configurations to your repository, ensuring the entire team shares the same tool access - —
Copilot's Agent mode integrates MCP tools seamlessly with file editing, terminal commands, and workspace search in a single agentic loop
- —
GitHub's enterprise compliance and audit features extend to MCP tool usage, providing visibility into how AI interacts with external services
HashiCorp Vault in VS Code Copilot
HashiCorp Vault and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect HashiCorp Vault to VS Code Copilot through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for HashiCorp Vault in VS Code Copilot
The HashiCorp Vault MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 50 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in VS Code Copilot only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
HashiCorp Vault for VS Code Copilot
Every tool call from VS Code Copilot to the HashiCorp Vault MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I check the remaining TTL and policies of my current session token?
Yes. Use the lookup_self_token tool. It returns the creation time, TTL, associated policies, and metadata for the token currently in use.
How do I retrieve a specific secret from a KV version 2 engine?
Use the read_kv_secret tool by providing the path to the secret. The agent will fetch the data and present the key-value pairs securely.
Is it possible to generate temporary database credentials through the agent?
Yes. If the database engine is configured, use generate_database_creds with the specific role name to receive a temporary username and password.
Which VS Code version supports MCP?
MCP support requires VS Code 1.99 or later with the GitHub Copilot extension. Ensure both are updated to the latest version. Older versions of Copilot may not expose the Agent mode toggle.
How do I switch to Agent mode?
Open the Copilot Chat panel and look for two mode options: "Ask" and "Agent". Click "Agent" to enable autonomous tool calling. In Ask mode, Copilot provides conversational answers but cannot invoke MCP tools.
Can I restrict which MCP tools Copilot can access?
Yes. VS Code shows a tool consent dialog before any MCP tool is invoked for the first time. You can also configure tool access policies at the organization level through GitHub Copilot settings.
Does MCP work in VS Code Remote or Codespaces?
Yes. MCP servers configured via .vscode/mcp.json work in Remote SSH, WSL, and GitHub Codespaces environments. The MCP connection is established from the remote host, so ensure the server URL is accessible from that environment.
MCP tools not available
Ensure you are in Agent mode in Copilot Chat. MCP tools only appear in Agent mode.
Explore More MCP Servers
View all →
Chargeblast
8 toolsManage chargeback prevention and dispute alerts via Chargeblast — intercept disputes, automate refunds, and audit deflection logs directly from any AI agent.

Snov.io
10 toolsFind business emails, verify deliverability, and run multi-step drip campaigns that fill your outbound sales pipeline.

Cleared (ClearedIn)
8 toolsManage identity verification and background screening via Cleared — track verifications, monitor screenings, and audit security logs directly from any AI agent.

Open Brewery DB Alternative
11 toolsSearch and discover craft breweries worldwide — find locations, types, and contact info via AI.
