agent-secrets
Stores, retrieves, and manages API keys, tokens, and credentials for OpenAI, with encryption, rotation, and audit logging.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-secretsstore my OpenAI API key with tag prod"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-secrets
Encrypted secrets management MCP server for AI agents. Store, retrieve, rotate, and audit API keys, tokens, and credentials — all encrypted at rest.
Why
AI agents need access to API keys, tokens, and credentials. Hardcoding them or passing via env vars is insecure and unmanageable at scale. agent-secrets provides a single encrypted vault with audit trails, access policies, and rotation — exposed as MCP tools any agent can call.
Related MCP server: MCP-Secrets-Vault
Features
AES-128 encryption at rest (Fernet: AES-128-CBC + HMAC-SHA256)
14 MCP tools: store, get, list, update, rotate, revoke, delete, search, audit, policies, batch, stats
Access policies: allow/deny patterns, type restrictions
Full audit log: every access tracked
Secret rotation: rotate with history
CLI + MCP server: use from terminal or any MCP-compatible agent
Quick start
pip install agent-secrets
# CLI
agent-secrets store OPENAI_API_KEY sk-... --type api_key --tag prod
agent-secrets get OPENAI_API_KEY --show
agent-secrets list
agent-secrets rotate OPENAI_API_KEY
agent-secrets audit
# MCP server
agent-secrets serve --db ~/.agent-secrets/vault.dbMCP tools
Tool | Description |
| Store a new encrypted secret |
| Retrieve a secret value |
| List all secrets (metadata only) |
| Update value/metadata |
| Rotate to new value |
| Revoke a secret |
| Permanently delete |
| Search by name/description/tag |
| View access history |
| Create access policy |
| List policies |
| Check policy permission |
| Store multiple secrets |
| Vault statistics |
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceSecrets management MCP server that injects credentials into API requests for AI agents, enforcing policies and logging all activity without exposing raw keys.Last updated9030MIT
- Flicense-qualityCmaintenanceEnables AI agents and MCP clients to securely store, retrieve, and manage encrypted credentials without hardcoding API keys.Last updated
- Alicense-qualityDmaintenanceEnables AI agents to securely manage API keys and secrets via the MCP protocol, with encrypted storage at rest and a simple CLI and Python SDK.Last updatedMIT
- Alicense-qualityCmaintenanceMCP server enabling AI agents to use secrets (API keys, tokens) via encrypted vault, executing HTTP/shell/SSH actions server-side while never exposing secret values to the AI.Last updatedMIT
Related MCP Connectors
Encrypted secret store and rotation for autonomous agent credentials
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server teaching AI agents to implement TideCloak: auth, E2EE, IGA, security analysis
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nyx-builds/agent-secrets'
If you have feedback or need assistance with the MCP directory API, please join our Discord server