Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

keyshroud

MCP server by dinhkarate Community

Keeps API keys out of AI coding agents by storing them in an encrypted vault and masking them in command output. It suits developers who use Claude Code, Codex, Cursor and similar tools with a shell or an MCP client.

  • Score 82
  • 3 stars
  • 1.1k a week
  • MIT
  • Updated

Install keyshroud

Built from the published package, never by AI.

claude mcp add keyshroud -- npx -y keyshroud

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install keyshroud in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the keyshroud block.

About

keyshroud stores secrets in an encrypted vault on the user's machine, or in a self-hosted Vaultwarden or Bitwarden account. Commands run through keyshroud receive the real values as environment variables, while any value that reaches stdout or stderr is replaced with a placeholder such as <redacted:GH_TOKEN>. Agents refer to secrets by name, and the MCP server returns no tool output that contains a value.

The local vault uses AES-256-GCM, with its key kept in the macOS keychain, the Linux Secret Service or Windows DPAPI, or derived from a passphrase on machines without those. It works with Claude Code, pi and omp, Codex, OpenCode, Gemini CLI, Cursor and Cline, and it also provides an MCP server for clients that cannot run commands. It is aimed at developers who want agents to use credentials without reading them.

Written from the project's README and checked against it.

Tools it gives your assistant

  • secrets_runRuns a command with stored secrets injected and masks their values in the output.
  • secrets_listLists the names of available secrets. Values are not returned.
  • secrets_requestAsks the user to add a new secret through a hidden-input dialog, not the chat.
  • vault_statusReports the state of the vault.
  • Masked outputReplaces every secret value in stdout and stderr with <redacted:NAME>.
  • Committable referencesLets .env.refs files and templates hold secret names such as local://item instead of values.
  • injectRenders secret templates into 0600 config files for tools that cannot read environment variables.
  • scanFinds vault values that have leaked into the working tree, with pre-commit use suggested.

What you need

  • Node.js 22.18 or later
  • Bitwarden CLI (bw), only for Vaultwarden or Bitwarden sync
  • A self-hosted Vaultwarden server or Bitwarden account, optional

Try asking

  • Run gh auth status using the GH_TOKEN secret from my keyshroud vault.
  • List the secret names available to keyshroud without showing values.
  • Ask me to add a new API key through the keyshroud secure dialog.

Good to know

  • Claude Code's PostToolUse hook redacts only successful tool results.
  • A passphrase-based vault session ends after 30 minutes and must be unlocked again.
  • A lost vault key or forgotten passphrase cannot be recovered, and the local vault belongs to one machine.
  • Unattended Vaultwarden unlock via the OS keychain is not supported on Windows.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to keyshroud

All alternatives →
Agentmesh MCP Proxy microsoft
94

Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.

AAA Local 6.6k
Bla qybaihe
94

Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.

AAA Local 7.3k
Bla Agents qybaihe
94

Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

keyshroud: common questions

Does keyshroud send my secrets to a server?

The local vault needs no account or server and stays on the user's machine. Sync with Vaultwarden or Bitwarden is optional and only used when the user chooses it.

Can the AI model see my API keys?

The source says agents use secret names and that every value reaching stdout or stderr is masked before the model reads it. No MCP tool returns a value.

Is keyshroud free to use?

The source says it is MIT-licensed, has no telemetry, and needs no paid account. Vaultwarden or Bitwarden are optional.

How do I install keyshroud?

In Claude Code run claude mcp add keyshroud -- npx -y keyshroud. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is keyshroud the official server?

keyshroud is a community project by dinhkarate, not verified by a company domain.

Is keyshroud free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is keyshroud safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to keyshroud?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does keyshroud work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

keyshroud Install

Add to stack

Loading.