
Securecode
- 1 repo stars
- Updated March 17, 2026
- juanisidoro/securecode-mcp
Securecode is an MCP server that provides an AES-256 secrets vault with access rules and audit logs for Claude Code.
About
Securecode MCP is a secrets vault tailored for Claude Code that stores credentials with AES-256 encryption, enforces access rules, and records audit logs whenever secrets are used. developers shipping SaaS, agents, or CLI tools with many API keys benefit during the ship and operate phases because the agent can request secrets through MCP instead of embedding them in conversation or loose.env copies. The server is published as @securecode/mcp-server 0.15.2 over stdio. It does not replace full secret managers for large teams, but it closes the gap between casual dotenv usage and accountable, logged access for agent development.
- AES-256 encrypted secrets vault for Claude Code
- Access rules and audit logs for secret retrieval
- npm stdio package @securecode/mcp-server v0.15.2
- MCP-native secret injection instead of env files in prompts
- Designed around agent workflows with governed access
Securecode by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
claude mcp add securecode -- npx -y @securecode/mcp-serverAdd your badge
Show developers this MCP server is listed on Skillselion. Paste this into your README.
| repo stars | ★ 1 |
|---|---|
| Package | @securecode/mcp-server |
| Transport | STDIO |
| Auth | None |
| Last updated | March 17, 2026 |
| Repository | juanisidoro/securecode-mcp ↗ |
What it does
Give Claude Code a local secrets vault with encrypted storage, access rules, and audit logs instead of pasting API keys into chat.
Who is it for?
Best when you're running Claude Code daily with multiple third-party API keys and want vault semantics without enterprise HashiCorp overhead.
Skip if: Skip if you already mandate org-wide Vault or cloud KMS with SSO, or projects with zero secret-handling needs.
What you get
After registration, secrets flow through an encrypted vault with audit trails so shipping with agents stays safer and more accountable.
- Encrypted vault reachable from the agent via MCP
- Audit trail of secret access attempts and usage
- Documented access rules separating dev vs sensitive credentials
By the numbers
- Package version 0.15.2
- AES-256 encryption stated in server description
- npm identifier @securecode/mcp-server
README.md
@securecode/mcp-server
MCP Server for SecureCodeHQ. Lets Claude Code access your secrets securely without ever seeing them.
Quick Start
claude mcp add securecode -- npx -y @securecode/mcp-server
Then tell Claude Code:
Set up SecureCode in this project
The onboard tool walks you through account creation, secret import, and configuration. Takes about 2 minutes.
What It Does
Your secrets (API keys, tokens, passwords) are encrypted with AES-256 and stored in SecureCode. Claude Code accesses them via MCP, but the actual values never appear in the chat.
When Claude reads a secret, the value is written to a local file on your machine. The AI gets the file path but never sees the raw value. This is inject mode, the default.
Tools
| Tool | What it does |
|---|---|
onboard |
Guided setup: signup, import, API key, config, SDK |
get-secret |
Get a secret (injected to file by default, reveal: true to show to AI) |
list-secrets |
List all secrets with tags and expiry status |
create-secret |
Create a new secret |
update-secret |
Update value, description, or tags |
delete-secret |
Delete a secret |
renew-secret |
Renew expired secrets or change TTL |
import-env |
Import .env via secure web window (values never pass through AI) |
export-env |
Export secrets as .env or CSV |
get-status |
Check plan, usage, and MCP server version |
wake-session |
Unlock session with optional scope and auto-sleep timer |
sleep-session |
Lock session and clean injected files |
session-status |
Check session state and time remaining |
byebye |
Lock session + clean all secrets from disk |
get-active-rules |
List active MCP access rules (read-only) |
security-check |
Post-setup security hardening checks |
help |
Docs: tools, SDK, sessions, rules, troubleshooting |
MCP Access Rules
Control how AI agents access your secrets with tag-based policies. Created from the dashboard, enforced server-side.
| Action | Effect |
|---|---|
| Block Always | Secret only accessible from the dashboard |
| Require Confirmation | Agent must acknowledge before accessing |
| Require Session | Requires active session (wake-session) |
| Block Models | Only allows specific AI models |
| Notify | Sends email on access (non-blocking) |
Session Lock
You: "Wake my session for acme staging"
Claude: Session unlocked. Only acme/staging secrets accessible.
You: "byebye"
Claude: Session locked & secrets cleaned from disk.
Sessions auto-sleep after configurable inactivity (default: 2 hours).
How It Works
- Secret values are written to a local file, the AI never sees them (inject mode)
- Explicit
reveal: truereturns value to AI (audited) - Injected files are removed on sleep, byebye, or process exit
- Multiple Claude Code instances don't collide (hash based on API key + PID)
- Encrypted with AES-256-GCM using envelope encryption (Cloud KMS)
- Every access is logged with AI model, IP, machine identity, and timestamp
- Runs locally via stdio transport, secrets never pass through third parties
- Device approval required on first use from each machine
SDK
The companion SDK lets your app load secrets at runtime:
npm install @securecode/sdk
import { loadEnv } from '@securecode/sdk';
await loadEnv(); // all secrets loaded into process.env
Links
- Website: https://securecodehq.com
- npm: https://www.npmjs.com/package/@securecode/mcp-server
- SDK: https://www.npmjs.com/package/@securecode/sdk
Requirements
- Node.js >= 18
- A SecureCodeHQ account (free tier: 50 secrets, 10K accesses/month)
License
MIT
Recommended MCP Servers
How it compares
Agent-local secrets vault MCP, not a penetration-testing skill or cloud IAM console.
FAQ
Who is Securecode for?
Claude Code users who need encrypted secret storage, access rules, and audit logs exposed via MCP.
When should I use Securecode?
Use it before and during ship when integrating payment, auth, and third-party APIs through your coding agent.
How do I add Securecode to my agent?
Install @securecode/mcp-server from npm, add the stdio MCP server in Claude Code settings, then populate and govern secrets per Securecode docs.