AIVault
Enables AI agents to run Docker commands such as login and push with injected credentials, so container images can be managed or deployed without exposing secrets.
Allows AI agents to use a stored GitHub token for authenticated repository access and GitHub-related commands without the token being visible.
Enables Slack notifications by injecting a stored Slack webhook URL at runtime while keeping the webhook secret hidden from the AI.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AIVault
Stop pasting API keys into AI chat.
AIVault is an MCP server that lets AI agents use your credentials without ever seeing them. The AI references secrets by name ($GITHUB_TOKEN), AIVault injects the real values at runtime, and scrubs them from the output before the AI sees anything.
Works with Claude Desktop, Kiro, Cursor, Windsurf, and any MCP-compatible client.
The Problem
Every day, developers paste API keys, database passwords, and tokens directly into AI chat. This is a massive security risk — those secrets end up in logs, training data, and who knows where else.
Related MCP server: Keiko
The Solution
You: "Deploy my app to AWS"
AI: calls run_command -> "aws s3 cp ./build s3://my-bucket"
AIVault: Injects $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY as env vars
Runs the command
Scrubs any leaked secrets from output
Returns clean result to AI
AI: "Done! All files uploaded to S3."The AI never sees your actual credentials. Ever.
Quick Start
1. Install
npm install -g aivault-mcp2. Initialize your vault
aivault init3. Add your secrets
aivault set GITHUB_TOKEN --desc "GitHub PAT for repo access" --tags "github"
aivault set AWS_ACCESS_KEY_ID --desc "AWS access key" --tags "aws"4. Connect to your AI tool
Add to your MCP config:
{
"mcpServers": {
"aivault": {
"command": "npx",
"args": ["-y", "aivault-mcp"],
"env": {
"AIVAULT_MASTER_PASSWORD": "your-master-password"
}
}
}
}AI Tool | Config File Location |
Claude Desktop |
|
Kiro |
|
Cursor |
|
Windsurf |
|
5. Ask your AI to use your secrets
"Check how many users are in my database"
The AI will call list_secrets, find your DB_URL, run the query with run_command, and return scrubbed results.
Web Dashboard
Manage secrets visually instead of the CLI:
aivault dashboardOpens a local web UI at http://localhost:7470 where you can add, view, edit, and delete secrets from your browser.
How It Works
User <-> AI (Claude, Kiro, Cursor, etc.)
|
MCP Protocol
|
+------------------+
| AIVault MCP |
| |
| Secret Store | <- AES-256-GCM encrypted local file
| Executor | <- Injects secrets as env vars
| Scrubber | <- Removes secret values from output
+------------------+MCP Tools
Tool | What it does |
| Shows available secrets (name + description only, never values) |
| Runs a shell command with secrets injected as env vars, output scrubbed |
| AI asks the user to add a missing secret |
Security
Encrypted at rest — AES-256-GCM with PBKDF2 key derivation (100k iterations, SHA-512)
AI never sees values — only names, descriptions, and tags
Output always scrubbed — raw, URL-encoded, and Base64-encoded values are all caught
Env var injection only — secrets are never interpolated into command strings (prevents shell injection)
Timeout enforcement — commands are killed after 30s (configurable, max 300s)
100% local — no cloud, no network, no telemetry
CLI Reference
aivault init # Set up vault with master password
aivault set <NAME> --desc "..." [--tags "a,b"] # Add or update a secret
aivault list [--tag "..."] # List secrets (never shows values)
aivault delete <NAME> # Remove a secret
aivault dashboard # Open web UI
aivault export-descriptions [--json] # Export metadata for docs/sharingSet AIVAULT_MASTER_PASSWORD env var to skip password prompts.
Example Interactions
Using a database:
You: "How many orders were placed today?" AI runs:
psql $DB_URL -c "SELECT COUNT(*) FROM orders WHERE date = CURRENT_DATE"Result:count: 847(connection string scrubbed)
Deploying code:
You: "Push my Docker image to ECR" AI runs:
aws ecr get-login-password | docker login ... && docker pushAWS credentials injected via env vars, never visible to AI
Missing credential:
You: "Send a Slack notification" AI: "I need a SLACK_WEBHOOK_URL. Please run:
aivault set SLACK_WEBHOOK_URL --desc 'Slack webhook'"
License
MIT
Built by Mohammed Shomis for developers who care about security.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Secrets for developers and agents—secure context and workflows without exposing secret values.
Credential isolation for AI agents: placeholder secrets, policy checks, optional human approval.
Encrypted secret store and rotation for autonomous agent credentials
A secret store for AI agents: the agent never sees the plaintext.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables secure credential storage for AI agents by encrypting secrets and providing agent-invisible references, ensuring sensitive data never leaks to the model.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to securely use secrets by running commands with environment-injected credentials and sanitizing output to prevent leakage.1-
- AlicenseAqualityCmaintenanceEnables AI agents to make authenticated API calls and run commands with secrets injected, while keeping credentials completely hidden from the model, with policy enforcement, grants, and audit logging.6MIT
- AlicenseAqualityCmaintenanceEnables running shell commands and persistent sessions with secrets stored in local secure storage injected into child processes at exec time based on rules. Guarantees secret plaintext never reaches the model context, returning only names, masks, and redacted output.161MIT