passwd
MCP server + CLI for passwd.team password manager — give your AI assistant access to passwords, TOTP codes, secrets, and sharing
claude mcp add --transport stdio pepuscz-passwd npx -y @pepuscz/passwd-mcp@1.0.6 \ --env PASSWD_ORIGIN="https://your-company.passwd.team"
How to use
This MCP server exposes the passwd.team password manager as an MCP service, enabling your AI assistant to search, read, create, update, delete, and share secrets, including passwords, API keys, SSH keys, secure notes, TOTP codes, and file attachments. It supports advanced sharing permissions and group/contacts lookups to facilitate secure collaboration. You can interact with it through MCP-enabled clients (e.g., Claude Code, Claude Desktop/Cowork, Cursor/Windsurf) or via the passwd CLI when integrated as an MCP tool. The server relies on OAuth-based authentication and requires you to set the deployment URL via PASSWD_ORIGIN; all secret operations are performed through the passwd CLI tool or via the MCP bridge, allowing structured, JSON-driven interactions for automation and chat-based workflows.
How to install
Prerequisites:
- Node.js and npm (or pnpm) installed on the client machine
- Access token for GitHub Packages if you’re behind a private registry (as the README notes, packages are hosted on GitHub Packages)
- PASSWD_ORIGIN URL for your passwd.team deployment
Step-by-step installation:
- Ensure you have a GitHub Packages auth setup if required by your environment. For one-time setup described in the README:
//npm.pkg.github.com/:_authToken=ghp_YOUR_TOKEN_HERE
@pepuscz:registry=https://npm.pkg.github.com
- Use npx to run the MCP server directly (no build step required):
npx -y @pepuscz/passwd-mcp@1.0.6
- If you prefer to pin the server to a specific version in your MCP config, set up the server entry as:
{
"mcpServers": {
"passwd-mcp": {
"command": "npx",
"args": ["-y", "@pepuscz/passwd-mcp@1.0.6"],
"env": {
"PASSWD_ORIGIN": "https://your-company.passwd.team"
}
}
}
}
- Test the setup by running a basic command through your MCP client (the exact syntax depends on the client). For example, in Claude or the CLI integration, ensure the server name matches (passwd-mcp) and that PASSWD_ORIGIN is configured.
Prerequisites recap:
- Node.js installed
- Access token or authentication flow enabled for passwd.mcp
- PASSWD_ORIGIN set to your passwd.team URL
- Optional: configure npm authentication if needed to access the package registry
Additional notes
Tips and common considerations:
- PASSWD_ORIGIN is required and points to your passwd.team deployment; without it, authentication and API requests may fail.
- Tokens are cached after first login (e.g., ~/.passwd/tokens.json for the CLI). If you encounter authentication issues, ensure tokens are refreshed or re-authenticated.
- Upgrading: when new versions are released, update the MCP config and the referenced MCP package version, then restart the client to pick up changes.
- If you use the CLI in conjunction with the MCP, you may need to login via npx @pepuscz/passwd-cli@<version> to populate cached tokens.
- This MCP server integrates with standard passwd CLI tooling and supports sharing, TOTPs, files, and multiple secret types; always follow the recommended JSON outputs and avoid exposing secrets in chat unless explicitly requested by the user.
Related MCP Servers
mcp-config-manager
Manage MCP server configs across Claude, Gemini & other AI systems. Interactive CLI for server enable/disable, preset management & config sync.
mongo
MCP server that provide tools to LLMs such as claude in cursor to interact with MongoDB
vscode-context
MCP Server to Connect with VS Code IDE
web-research-assistant
MCP server for SearXNG with 13 production-ready tools for web search, package info, GitHub integration, error translation, API docs, and more
mcp-tidy
CLI tool to visualize and manage MCP server configurations in Claude Code. List servers, analyze usage statistics, and clean up unused servers
mcpman
The package manager for MCP servers — install, manage & monitor across Claude Desktop, Cursor, VS Code, Windsurf