Local Secrets
@Hustada
关于 Local Secrets
Store and retrieve API keys and secrets locally for Claude Code. No cloud services, no .env files scattered across projects. Secrets are stored in a SQLite database on your machine and accessed via MCP tools. Supports add, get, list, search, update, and delete operations with cat
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"local-secrets": {
"command": "npx",
"args": [
"-y",
"local-secrets-mcp",
"serve"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Local Secrets?
A local secrets manager for Claude Code that stores API keys and credentials securely on your machine using a SQLite database. It eliminates the need for cloud services or scattered .env files, designed for developers using Claude Code.
How to use Local Secrets?
Install and manage secrets via CLI with npx local-secrets-mcp init, npx local-secrets-mcp add <key> <value>, and npx local-secrets-mcp list. Secrets can also be accessed through MCP tools such as get_secret, add_secret, and search_secrets.
Key features of Local Secrets
- Store secrets in a local SQLite database
- Organize by category (api, auth, config, etc.)
- Search and filter secrets
- Get values formatted as environment variables
- Full CRUD operations via MCP tools
Use cases of Local Secrets
- Manage API keys for multiple projects in one place
- Avoid copying .env files between projects
- Organize credentials by category (e.g., API, auth)
- Securely retrieve secrets as environment variables
FAQ from Local Secrets
What is the difference from cloud-based secret managers?
Local Secrets keeps all data on your machine in a local SQLite database, with no cloud services involved.
Where are secrets stored?
Secrets are stored in a local SQLite database on your machine.
How do I access secrets?
Secrets can be accessed via CLI commands (e.g., npx local-secrets-mcp list) or through MCP tools like get_secret and list_secrets.
What runtime requirements does Local Secrets have?
It requires Node.js and npx to run the CLI and MCP tools.
Does Local Secrets support searching and filtering secrets?
Yes, you can search by key pattern and filter by category using MCP tools and CLI commands.
开发工具 分类下的更多 MCP 服务器

Sentry
modelcontextprotocolModel Context Protocol Servers
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
评论