Local Secrets MCP Server

A simple MCP (Model Context Protocol) server for managing local secrets with Claude Code.

Local serverstdio

What is the Local Secrets MCP Server?

Local Secrets is an MCP project maintained in the hustada/local-secrets-mcp repository. The maintainer describes its purpose as “A simple MCP (Model Context Protocol) server for managing local secrets with Claude Code”. Read the project documentation for the complete scope.

Installation

The documented npm package is local-secrets-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_secretGet a specific secret value by key
list_secretsList all secret keys (optionally filter by category)
search_secretsSearch secrets by key name pattern
get_env_valueGet secret as environment variable format
add_secretAdd a new secret
update_secretUpdate an existing secret
delete_secretDelete a secret

How to install the Local Secrets MCP Server

{
  "mcpServers": {
    "local-secrets": {
      "command": "npx",
      "args": [
        "-y",
        "local-secrets-mcp",
        "serve"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.