Skip to main content
Glama
inavhq

gopass-mcp

by inavhq

gopass-mcp

MCP server for gopass password management. Gives AI agents secure, on-demand access to credentials stored in your gopass (GPG-encrypted, git-backed) password store.

Prerequisites

  • Node.js >= 20

  • gopass installed and configured (v1.16+)

  • A working gopass store (run gopass ls to verify)

Related MCP server: onepassword-mcp-server

Install

git clone https://github.com/inavhq/gopass-mcp.git
cd gopass-mcp
npm install
npm run build

Claude Code Configuration

Add to your Claude Code MCP settings (~/.claude/settings.json or project .claude/settings.local.json):

{
  "mcpServers": {
    "gopass": {
      "command": "node",
      "args": ["/path/to/gopass-mcp/dist/index.js"]
    }
  }
}

Tools

Tool

Description

Write?

list_secrets

List all secret paths, optionally filtered by folder prefix

No

get_secret

Retrieve a secret's content by path

No

search_secrets

Search for secrets by name

No

generate_password

Generate and store a random password

Yes

Environment Variables

Variable

Default

Description

GOPASS_PATH

gopass

Path to gopass binary

Security

  • Uses execFile (not exec) — no shell involved, no injection surface

  • Path validation blocks directory traversal (.., absolute paths, ~)

  • Secret values are never written to stderr or logs

  • No insert_secret or delete_secret — too dangerous for LLM automation

Development

npm test          # Run tests
npm run lint      # ESLint + Prettier check
npm run typecheck # tsc --noEmit
npm run build     # Compile to dist/

License

MIT

Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents and automation scripts to securely interact with self-hosted Vaultwarden instances through the Bitwarden CLI, automatically managing vault sessions and providing tools to read, create, update, and delete secrets programmatically.
    18
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables to manage 1Password resources including vaults, items, documents, users, groups, and more through the 1Password CLI, exposing 65 tools for comprehensive password management via natural language.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to securely manage API keys and secrets via the MCP protocol, with encrypted storage at rest and a simple CLI and Python SDK.
    MIT

View all related MCP servers

Related MCP Connectors

  • Encrypted secret store and rotation for autonomous agent credentials

  • Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.

  • Git-backed platform for skills, tools, and context for AI agents

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/inavhq/gopass-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server