SuperAPIAI Directory

securecode-mcp

github.com · AI coding

Encrypted secrets vault for Claude Code that injects secrets into local files so the AI never sees raw values, with audit logs and per-model access rules.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

SecureCode MCP is an MCP (Model Context Protocol) server launched by SecureCodeHQ, with the goal of enabling Claude Code to securely access users' secrets while preventing the AI from directly seeing the plaintext of the secrets.

Purpose It is aimed at developers who need to use sensitive credentials such as API keys, tokens, and passwords in AI coding assistants (such as Claude Code), but do not want these values to appear in conversations or model context. Secrets are stored centrally in SecureCode and provided on demand to the local development environment by the MCP server.

Main capabilities

  • Encrypted storage: Secrets are encrypted using AES-256-GCM and envelope encryption (based on Cloud KMS).
  • Injection mode (default): When Claude reads a secret, the value is written to a local file on the machine, and the AI only receives the file path and never sees the original value.
  • Explicit reveal: With reveal: true, the value can be returned to the AI, but this operation is recorded in the audit log.
  • Access rules: Tag-based policies can be created in the dashboard and enforced by the server to control how AI agents access secrets.
  • Session management: Sessions automatically sleep after a configurable idle time (default 2 hours); injected files are removed on sleep, byebye, or process exit.
  • Multi-instance isolation: Multiple Claude Code instances do not conflict with each other (hash generated based on API key + PID).
  • Audit log: Every access records the AI model, IP, machine identity, and timestamp.
  • Local operation: Runs locally via stdio transport, and secrets do not pass through third parties.
  • Device approval: Device approval is required the first time each machine is used.
  • Companion SDK: Allows applications to load secrets at runtime.

How to use

  1. A SecureCodeHQ account is required (free quota: 50 secrets, 10,000 accesses per month).
  2. Install the npm package @securecode/mcp-server.
  3. Call the onboard tool in Claude Code, which will guide you through account creation, secret import, and configuration, taking about 2 minutes.
  4. After that, Claude Code can access secrets via MCP, working in injection mode by default.

Applicable scenarios

  • Using Claude Code, etc. AI coding assistants for development, while needing to reference real secrets but not wanting to expose plaintext.
  • Teams need policy control and auditing for AI agents' secret access.
  • Applications need to securely load secrets at runtime (via the companion SDK).

Limitations and notes

  • A SecureCodeHQ account is required, and the free tier has limits on the number of secrets and accesses.
  • In the default injection mode, the AI can only obtain the file path; if the value needs to be returned directly, reveal must be explicitly enabled and auditing accepted.
  • Device approval is required the first time each machine is used.
  • Sessions automatically sleep after being idle, and injected files are cleaned up.
  • The materials do not provide specific pricing, paid tiers, supported operating system range, or further technical details.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools