Holster MCP

Registre officiel Sécurité

Local-first secret scanning, rotation, vault, and audit-log tools for AI agents.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

PYPI package holster-mcp
Claude Code
claude mcp add holster-mcp -- uvx holster-mcp==0.1.1
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "holster-mcp": {
            "command": "uvx",
            "args": [
                "holster-mcp==0.1.1"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Holster
  2. Install
  3. Rotating the master password (since v0.7.0)
  4. Password sources (since v0.7.0)
  5. Documentation
  6. holster guard
  7. Status

Holster

Local-first API key manager for AI developers.

Install

macOS Apple Silicon (M-series)
  1. Download holster-cli-macos-arm64.tar.gz + .sha256 from the latest release: https://github.com/nauta-ai/holster/releases/latest
  2. Extract: tar xzf holster-cli-macos-arm64.tar.gz
  3. Verify: shasum -a 256 -c holster-cli-macos-arm64.tar.gz.sha256
  4. Install: sudo mv holster-cli /usr/local/bin/
  5. If macOS blocks first run: xattr -d com.apple.quarantine /usr/local/bin/holster-cli
  6. Verify: holster-cli --version
macOS Intel (x86_64, since v0.7.0)
  1. Download holster-cli-macos-x86_64.tar.gz + .sha256 from the latest release.
  2. Same extract / verify / install steps as above.
Linux x86_64
  1. Download holster-cli-linux-x86_64.tar.gz + .sha256 from the latest release.
  2. Extract: tar xzf holster-cli-linux-x86_64.tar.gz
  3. Verify: shasum -a 256 -c holster-cli-linux-x86_64.tar.gz.sha256
  4. Install: sudo mv holster-cli /usr/local/bin/
  5. Verify: holster-cli --version

Password handling on Linux: macOS Keychain is not available. Use --password-env <ENV_NAME> to read the vault password from an environment variable, or --password-stdin to pipe it via stdin.

Windows x86_64 (since v0.7.0)
  1. Download holster-cli-windows-x86_64.zip + .sha256 from the latest release.
  2. Verify: in PowerShell, (Get-FileHash -Algorithm SHA256 holster-cli-windows-x86_64.zip).Hash should match the value in the .sha256 file.
  3. Extract: Expand-Archive holster-cli-windows-x86_64.zip -DestinationPath .
  4. Move holster-cli.exe somewhere on $env:Path (e.g. C:\Users\<you>\bin\ after adding that folder to PATH).
  5. Verify: holster-cli.exe --version

Password handling on Windows: macOS Keychain is not available. Use --password-env <ENV_NAME> or --password-stdin.

Rotating the master password (since v0.7.0)

Holster lets you change the vault's master password without re-creating the vault or losing entries:

holster-cli rotate-master /path/to/vault
# Prompts for OLD master, then NEW master twice (confirm)

This re-encrypts every entry under the new master and regenerates the vault salt under a single SQLite transaction. If the rotation fails or is interrupted, the vault remains intact under the old master.

If you cache the master password in macOS Keychain (common for daemon usage), pass --keychain-update SERVICE,ACCOUNT to update the cached entry in the same command:

holster-cli rotate-master /path/to/vault \
  --keychain-update holster-personas-vault,admin

For unattended / scripted rotation:

# OLD pw from Keychain, NEW pw from env
holster-cli rotate-master /path/to/vault \
  --old-password-keychain-service holster-personas-vault \
  --old-password-keychain-account admin \
  --new-password-env NEW_HOLSTER_MASTER

# Both from stdin (one line each, OLD first then NEW)
printf '%s\n%s\n' "$OLD_PW" "$NEW_PW" | \
  holster-cli rotate-master /path/to/vault \
  --old-password-stdin --new-password-stdin

Rotate the master password:

  • After any suspected credential exposure
  • After a team member who knew the master leaves
  • Quarterly as routine hygiene
  • Whenever the master appears in plaintext somewhere (logs, configs, transcripts)

Password sources (since v0.7.0)

get, add, rotate-master, and exec-env now accept the master password from multiple sources. Precedence (first non-None wins):

  1. --password-env <NAME> — read from an environment variable
  2. --password-stdin — read first line of stdin
  3. --password-keychain-service <SVC> [--password-keychain-account <ACCT>] — macOS Keychain
  4. Interactive TTY prompt (fallback)

This makes Holster scriptable from CI, launchd, systemd, and daemon contexts without requiring an interactive TTY.

Documentation

Read docs/framework/00_README.md to start.

holster guard

holster guard . preflights a repo before you run an AI agent against it or share/commit it. It prints a local RUN verdict, a SHARE verdict, and a ranked fix list without exposing raw secret values.

RUN VERDICT:   CAUTION
SHARE VERDICT: RISKY

Why:
  1. [SHARE/RISK] OPENAI_API_KEY in .env.local:3
  2. [SHARE/RISK] .env.local not gitignored — will be committed
  3. [RUN/CAUTION] MCP server "cursor" inherits full shell environment

Fix order:
  1. Add .env.local and *.pem to .gitignore
  2. Move live keys into the Holster vault (holster add ...)
  3. Pin or approve the MCP wrapper command

For a redacted report that is safe to paste into a review thread:

holster guard . --share-report holster-guard-report.md

Status

v0.7.0 — early access. Holster includes the local vault CLI, rotate-master, scriptable password sources, Windows/macOS-x86_64 builds, and early holster guard preflight checks. Vault crate stable since M1.

Questions fréquentes

Qu'est-ce que Holster MCP ?

Local-first secret scanning, rotation, vault, and audit-log tools for AI agents.

Comment installer Holster MCP ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add holster-mcp -- uvx holster-mcp==0.1.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Holster MCP ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Holster MCP est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Holster MCP ?

Il est publié par nauta-ai. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.