Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI โ†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
  • Remote MCP โ†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) โ†— (opens in a new tab)
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ—„๏ธ Databases
  3. Brokre
B
Health: ActiveRecent health check succeeded.Last checked 8/11/2026, 12:00:07 AM

Brokre

Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).

AI-safe credential broker for MCP โ€” run saved SSH/MySQL/psql aliases; passwords never reach AI.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "brokre": {
      "command": "npx",
      "args": [
        "-y",
        "brokre@latest"
      ]
    }
  }
}

๐Ÿ’ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing Alternatives๐Ÿ—„๏ธ More in Databases

Documentation Overview

brokre โ€” AI-safe Credential Broker

English | ็ฎ€ไฝ“ไธญๆ–‡

brokre is a local credential broker for AI agents and humans. Use it with Cursor, Claude Code, Kimi Code, Trae, OpenClaw, Hermes Agent, ChatClaw, and other MCP-capable clients to run ssh, mysql, psql, and more โ€” passwords never enter AI context, environment variables, or ps output. It wraps any CLI on your PATH โ€” not only SSH or MySQL โ€” and injects saved passwords at the prompt without exposing plaintext to the AI process, shell history, or process environment.

Developed by Techinone (ๆˆ้ƒฝๅŒๅˆ›ๅˆไธ€็ง‘ๆŠ€ๆœ‰้™ๅ…ฌๅธ).

What's New in 0.2.17

0.2.17 is the current release: SessionRelay routed SSH by default, multi-hop bastion routes, local-only list by default, and the existing one-command npm install / auto MCP registration / auto binary upgrade flow.

npm โ€” install, auto-update, auto MCP setup

Terminal
npm install -g brokre          # or: npx -y brokre@latest
CapabilityWhat happens
Auto MCP registrationpostinstall runs brokre-setup-mcp โ€” detects installed IDEs only and merges npx -y brokre@latest into each global MCP config. Re-run: brokre mcp setup or npx brokre-setup-mcp. Skip: BROKRE_MCP_SKIP_SETUP=1.
Auto binary upgradeOn each MCP start, compares npm package version with PATH / ~/.brokre/bin/brokre; downloads matching GitHub Release when missing or older.
CLI without npmbrokre version / brokre upgrade for install.sh users; brokre mcp setup to register MCP after installing IDEs.
Supported IDEsCursor, VS Code, VS Code Insiders, Claude Code, Claude Desktop, Trae, Kimi Code, Windsurf, OpenClaw โ€” see packages/brokre-mcp/README.md.

Recommended MCP config (also applied by auto-setup):

config.json
{ "command": "npx", "args": ["-y", "brokre@latest"] }

Bastion broker โ€” cluster management

The bastion layer lets AI agents operate many hosts behind one jump box without copying vault passwords into context or scattering secrets on the laptop.

AdvantageWhat it means in practice
Single control planeRegister a bastion SSH alias (b150), sync inner aliases from remote brokre, and drive the whole cluster from brokre list / MCP brokre_list
Smart routingb150::db, b150::app-01, multi-hop b1::b2::inner โ€” route separator ::; routed SSH uses SessionRelay by default
Secrets stay on the bastionRouted exec runs ~/.brokre/bin/brokre on the jump host; laptop holds metadata and session gate, not inner-host passwords
Human gate, agent-friendlyBastion outbound requires unlock (TTY, /bastion-auth, or MCP URL elicitation); gate auth survives manage UI idle expiry so long MCP runs keep working
Cluster-safe defaultsLocal-only list by default; explicit bastion discovery; reachability probes with ms timeouts and concurrency caps; loop detection and audit route/bastion fields
Privileged ops over routesbrokre_exec_elevated and sudo/sudo -i paths work through bastions with session reuse and PTY hardening

Typical flow for a K8s / DB / batch cluster behind one entry host:

bash
brokre bastion enable b150
brokre bastion sync b150 --json          # pull inner alias catalog
brokre bastion unlock
brokre list --include-bastions --json    # b150::db, b150::worker-01, โ€ฆ
brokre ssh b150::db systemctl status   # MCP: brokre_exec with routed alias

MCP equivalent:

config.json
{ "binary": "ssh", "args": ["b150::db", "uname", "-a"] }

Gate policy (default vs strict) โ€” see Bastion gate policy below. Gate is inactive until brokre bastion set-key; then default unlocks only bastion outbound paths; strict requires unlock for every exec while list remains local-only unless bastion discovery is requested.

See Cross-network list inheritance and Bastion proxy below for setup details.

CLI security (core)

brokre is built around one rule: secrets stay out of the AI's reach and out of observable process state.

LayerWhat brokre does
No env / ps leakageInjection is PTY prompt-based โ€” passwords are never passed via -p, SSHPASS, MYSQL_PWD, or exported env vars
Parent never holds plaintext (Unix)Saved passwords decrypt in a short-lived brokre --internal-injector child, written once to the PTY, then the child exits
AI cannot revealbrokre reveal requires a real TTY + master passphrase; unavailable in the web UI and not exposed via MCP
Vault at restPer-field AES-256-GCM; DEK wrapped with OS keyring (Linux) or ~/.brokre/.master_kek (macOS) + optional Argon2id reveal passphrase
AuditHMAC-chained JSONL at ~/.brokre/audit/audit.log; brokre audit list queries history (metadata only); brokre audit verify detects tampering
MCP boundaryMCP exposes metadata (brokre_list), exec (brokre_exec, brokre_exec_elevated), brokre_setup, and read-only audit (brokre_audit_list, brokre_audit_verify) โ€” no passwords, session tokens, or reveal
Manage UIBinds 127.0.0.1 only; passwords are write-only; audit log tab for history; session token printed in your terminal, never returned to AI
OS hardeningCore dumps disabled, ptrace checks (Linux), optional mlockall โ€” see docs/HARDENING.md

Full threat model: SECURITY.md, THREAT_MODEL.md.

Any CLI on PATH (generic by design)

brokre is not a fixed list of database/SSH wrappers. The core model is:

bash
brokre <any-cli-on-PATH> [args...]

First connection: run verbatim, capture the password you type at the prompt, offer to save as an alias.
Next time: brokre <cli> <alias> โ€ฆ auto-injects โ€” AI and scripts only see the alias name.

Preset prompt patterns ship for common tools (ssh, mysql, psql, redis-cli, ftp, clickhouse, git, docker, kubectl, sudo, โ€ฆ). Everything else uses a generic password: / passphrase: matcher โ€” no code changes required.

bash
brokre gsql prod-cluster -c "SELECT 1"    # any proprietary CLI on PATH
brokre kubectl get pods                   # if your cluster CLI prompts for a password
brokre my-internal-tool --host db.internal

Customize when needed:

  • ~/.brokre/prompts.toml โ€” per-binary prompt regex overrides
  • ~/.brokre/manage.toml โ€” custom sections in the manage UI (e.g. GaussDB, internal tools)

Built-in manage UI tabs (when the binary is installed) include SSH, FTP, MySQL, PostgreSQL, Redis, ClickHouse, MinIO โ€” convenience only; the PTY wrapper works for any CLI.

Install (MCP first โ€” recommended for AI)

The npm package brokre launches the local brokre mcp server over stdio for Cursor, Claude Code, Kimi Code, Trae, OpenClaw, Windsurf, VS Code, and other MCP clients.

Choose your install path

PathBest forInstallMCP in IDEsCLI upgrade
npm (recommended)AI users; want one commandnpm install -g brokreAutomatic on install (postinstall)npm + auto-download on each MCP start
install.sh / HomebrewProduction; no Node for daily usecurl โ€ฆ | bash or brew install brokreRun brokre mcp setup after IDE installbrokre version / brokre upgrade
Manual MCP JSONCustom layouts onlyCLI or npm already presentEdit IDE config by handDepends on how CLI was installed

Recommended MCP entry (also what auto-setup writes):

config.json
{ "command": "npx", "args": ["-y", "brokre@latest"] }

No Node โ€” point MCP at the native binary: { "command": "brokre", "args": ["mcp"] }.

Path A โ€” npm one-liner (0.2.8+)

Terminal
npm install -g brokre
# or without global install:
npx -y brokre@latest

On npm install, three things happen automatically:

  1. MCP launcher โ€” brokre-mcp / npx -y brokre@latest spawns brokre mcp.
  2. IDE auto-registration โ€” postinstall runs brokre-setup-mcp: detects installed IDEs only (app, CLI, or real usage artifacts โ€” not empty folders) and merges the MCP entry above into each global config. Idempotent; preserves your other MCP servers.
  3. Binary auto-upgrade โ€” on each MCP start, if PATH or ~/.brokre/bin/brokre is older than the npm package, the matching GitHub Release is downloaded.

IDEs covered by auto-setup

IDEGlobal config
Cursor~/.cursor/mcp.json
VS Code / Insidersโ€ฆ/Code/User/mcp.json
Claude Code~/.claude.json
Claude Desktopโ€ฆ/Claude/claude_desktop_config.json
Traeโ€ฆ/Trae/User/mcp.json
Kimi Code~/.kimi-code/mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json
OpenClaw~/.openclaw/openclaw.json (mcp.servers)

Re-run registration (e.g. you installed brokre before Cursor, then installed Cursor later):

bash
brokre mcp setup              # via CLI โ€” same logic as postinstall
npx brokre-setup-mcp          # via npm
brokre mcp setup --dry-run    # preview only
brokre mcp setup --force      # overwrite existing brokre entry

Skip auto-registration on npm install: BROKRE_MCP_SKIP_SETUP=1. Disable binary auto-download: BROKRE_SKIP_AUTO_INSTALL=1. Pin a binary: BROKRE_BIN=/path/to/brokre.

Requires Node.js 18+ for the npm path.

Path B โ€” Native CLI (install.sh / Homebrew, no npm)

Terminal
curl -fsSL https://raw.githubusercontent.com/Furowu/brokre/main/install.sh | bash
bash
brew tap Furowu/brokre
brew install brokre

Version and upgrade (built into the CLI โ€” no npm required):

bash
brokre version                # version, binary path, install type
brokre version --check        # compare with latest GitHub release
brokre version --check --json
brokre upgrade                # download latest release (curl + tar)
brokre upgrade --check        # exit 1 if an update is available
brokre upgrade 0.2.10         # install a specific version
brokre upgrade --force        # reinstall even when up to date

Re-run install.sh also upgrades when a newer release exists.

Register MCP after CLI install (needs Node for the setup script, or npx fallback):

bash
brokre mcp setup

Manual per-IDE setup (optional)

Use this only if you skip auto-setup or need project-scoped config.

Cursor โ€” one-click install, or ~/.cursor/mcp.json:

config.json
{
  "mcpServers": {
    "brokre": { "command": "npx", "args": ["-y", "brokre@latest"] }
  }
}

Claude Code โ€” user scope in ~/.claude.json or claude mcp add --scope user brokre -- npx -y brokre@latest. Project scope: .mcp.json with "type": "stdio".

More clients and env vars: packages/brokre-mcp/README.md. MCP Registry ID: io.github.Furowu/brokre.

MCP tools and usage

MCP toolPurpose
brokre_listSaved local aliases by default; set include_bastions=true to discover routed aliases (b150::db), which may require bastion unlock; includes access/availability/bastion_gate
brokre_execRun any saved CLI alias (binary + args); ssh supports shell_command for remote scripts; ssh + sudo/su auto-reuses elevated session
brokre_exec_elevatedRemote privileged command (alias, command, mode); default session=reuse (10 min idle timeout)
brokre_setupOpen manage UI in browser for the human to add creds
brokre_audit_listQuery audit history (metadata only โ€” args redacted)
brokre_audit_verifyVerify tamper-evident audit log chain
brokre_bastion_policyRead or set bastion gate mode (default / strict); returns key_set, unlocked

MCP vs CLI (essential for AI agents)

brokre is not a drop-in for ssh / mysql โ€” you must prefix with brokre for vault injection.

TaskMCP (in IDE)CLI (terminal / debugging)
List aliasesbrokre_listbrokre list --json
SSH remote commandbrokre_exec binary=ssh, args=["prod","uname","-a"]brokre ssh prod uname -a
Any CLIbrokre_exec binary=mysql, args=["prod-db","-e","SHOW TABLES"]brokre mysql prod-db -e "SHOW TABLES"
Write remote scriptshell_command="โ€ฆ" (ssh only)brokre ssh prod sh -c 'โ€ฆ' (whole script as one -c arg)
Privileged execbrokre_exec_elevated command="โ€ฆ"brokre ssh prod sudo โ€ฆ (MCP has session pool; CLI uses fresh PTY each time)
Add credentialsbrokre_setup (opens browser)brokre manage --open
First-time savenot available (human TTY required)brokre ssh user@10.0.0.1

Common mistakes (AI agents)

WrongRight
ssh prod uptimebrokre ssh prod uptime
MCP args=["prod","uname -a"] (one shell string)args=["prod","uname","-a"] (argv tokens)
MCP args=["prod","sh -c 'echo hi'"]shell_command="echo hi" or args=["prod","sh","-c","echo hi"]
bare mysql -h โ€ฆ -pbrokre mysql <saved-alias> โ€ฆ

For remote SSH: tokens after the alias are argv slices, not one shell command. Use split tokens for simple commands; use shell_command for complex scripts.

MCP elevated sessions (sudo / su, Unix)

By default, brokre mcp reuses a background elevated shell per (alias, mode, user) so sudo passwords are not re-prompted on every call.

brokre_exec_elevated (preferred for privilege escalation):

config.json
{
  "alias": "prod",
  "command": "systemctl status nginx",
  "mode": "sudo_login",
  "session": "reuse"
}
FieldDescription
modesudo, sudo_login (or sudo-i), su
sessionreuse (default), new (close old session and open fresh), close (end session; pass command: "")
usersu mode only; default root

When the session pool is enabled, responses include session_reused and session_idle_expires_at in addition to exit_code / stdout / stderr. session_idle_expires_at is a rolling idle-window hint refreshed on each call, not a fixed expiry timestamp. stderr is usually empty on the pool path.

brokre_exec: binary=ssh with sudo/su in args auto-uses the same pool (always reuse; no session=new|close). Example: args=["prod","sudo","whoami"].

Writing remote scripts/files (shell_command, binary=ssh only): pass only the alias in args; put the full shell script in shell_command (brokre normalizes to sh -c). Do not embed sh -c '...' in args or split printf/redirects across argv tokens. For privileged system paths use brokre_exec_elevated.command.

config.json
{
  "binary": "ssh",
  "args": ["prod"],
  "shell_command": "cat > /tmp/deploy.sh <<'EOF'\n#!/bin/sh\necho ok\nEOF"
}

Bastion routes work the same: args=["b150::db"] with shell_command as the remote script.

SessionRelay tunnel (default)

brokre ssh b150::db uses the SessionRelay path by default: the laptop starts brokre tunnel agent --stdio on b150 over SSH, and the agent runs brokre ssh db on the bastion. Multi-hop routes peel one hop per agent (b1::b2::db starts on b1, then b1 continues with b2::db). Inner credentials stay in the bastion vault; the laptop only relays terminal bytes. BROKRE_TUNNEL=0 is a temporary legacy escape hatch for emergency rollback.

bash
brokre tunnel doctor b150
brokre ssh b150::db uname -a

MCP brokre_exec responses for routed SSH include tunnel: { mode, active }. TcpForward, endpoint sync, Manage UI tunnel controls, and persistent tunneld are later phases.

ControlDefault
Idle teardown10 minutes
Max lifetime30 minutes
Per-command timeout120 seconds
VariableDefaultMeaning
BROKRE_MCP_SESSION10 disables the pool; falls back to one-shot subprocess exec
BROKRE_MCP_SESSION_IDLE_SECS600Idle timeout (seconds)
BROKRE_MCP_SESSION_MAX_SECS1800Max session lifetime (seconds)
BROKRE_MCP_SESSION_CMD_TIMEOUT120Remote command timeout (seconds)

Not supported: interactive sudo -i without a command, vim/top, or sudo passwords different from the vault password field. See THREAT_MODEL.md T12.

On first connect with an empty vault, brokre opens manage in your browser (http://127.0.0.1:56777/?t=โ€ฆ). Session tokens stay on localhost โ€” never returned to the AI. Set BROKRE_MCP_NO_AUTO_OPEN=1 to disable auto-open.

| MCP tool | Purpose |

Add credentials

After CLI install, the manager opens on first run (brokre manage --onboard --open). Or anytime:

bash
brokre manage --open

Or save on first interactive connection (any CLI):

bash
brokre ssh root@10.0.0.1
brokre my-tool --host internal.corp

Use (AI-safe)

bash
brokre mysql prod-db -e "SHOW TABLES"
brokre ssh prod-bastion uname -a
brokre <your-cli> <alias> [args...]

List metadata (safe for AI / scripts)

bash
brokre list --json              # local aliases with reachability status (default probe)
brokre list --no-probe --json   # metadata only, skip TCP/SSH probes
brokre list --reachable-only    # hide unavailable aliases
brokre list --all --json        # compat: show all (same as default unless --reachable-only)
brokre list --no-bastion-discovery   # local only โ€” no bastion SSH discovery

When bastions are registered, brokre list stays local-only by default and does not SSH to bastions or trigger bastion unlock. Use brokre list --include-bastions (MCP: include_bastions=true) when you actually need routed aliases such as b150::db; that remote discovery may require unlock.

OpenSSH sessions inject ConnectTimeout=5 by default (BROKRE_SSH_CONNECT_TIMEOUT). Override with -o ConnectTimeout=N or the env var.

Cross-network list inheritance (bastion broker)

For cross-network access โ€” travel, VPN, public entry points โ€” when direct LAN aliases are unreachable locally but reachable via a bastion running brokre.

Prerequisites

  1. Laptop: brokre bastion enable b150 (b150 is a saved SSH alias)
  2. Bastion host runs brokre at ~/.brokre/bin/brokre (standard install / npx path) with inner aliases saved (e.g. db)

Routed list

bash
brokre bastion unlock            # if bastion key is set
brokre list --include-bastions   # includes b150::db (route=b150, access=via_b150)

When cross-network, use --include-bastions when you need routed aliases. Plain brokre list stays local-only and does not unlock or SSH to bastions.

Execute

bash
brokre ssh b150::db uname -a
# MCP: brokre_exec binary=ssh, args=["b150::db", "uname", "-a"]

When both paths work, the list shows both db (direct) and b150::db (via_b150) โ€” distinguish by access.

Bastion proxy (cross-network / intranet entry)

Promote any saved SSH alias whose remote host runs brokre into a bastion broker. Secrets stay on the bastion; the laptop caches metadata and executes via SSH passthrough.

bash
brokre bastion enable b150        # register ssh alias b150 as bastion
brokre bastion set-key              # set bastion unlock key (TTY)
brokre bastion unlock               # unlock outbound session (TTL, 30 min idle default)
brokre list --include-bastions --json # discover bastion-routed aliases
brokre ssh b150::db uname -a        # routed exec via b150 remote brokre
brokre bastion sync b150 --json     # fetch alias list from one bastion
  • Route separator :: (: is illegal in alias names): db (local), b150::db (via bastion), b1::b2::inner (multi-hop, default depth โ‰ค2).
  • Remote brokre: routed exec invokes ~/.brokre/bin/brokre on the bastion (with BROKRE_SOFT_MEMLOCK=1, BROKRE_ALLOW_FILE_KEYCHAIN=1, BROKRE_ROUTED_INNER=1 for headless Linux). Interactive commands (e.g. sudo -i) automatically get -tt.
  • Guardrails: probe concurrency cap, ms timeouts, short cache, loop detection, audit route/bastion (HMAC v4).
  • Manage UI: brokre manage Bastion tab โ€” register/disable bastions, Web set-key and unlock/lock, strict-mode toggle, sync remote aliases; non-TTY still auto-opens /bastion-auth. Audit tab filters by bastion/source and shows route fields.

Bastion gate policy (default vs strict)

The bastion gate is a human unlock step before sensitive operations. It is off until you set a bastion key (brokre bastion set-key). After a key exists, unlock establishes a local TTL session (brokre bastion unlock, TTY passphrase, manage UI /bastion-auth, or MCP browser elicitation).

Policy is stored at ~/.brokre/bastion/policy.json (strict_mode, default false).

Modegate_modeWhen unlock is required (key must be set)
defaultdefaultBastion outbound only โ€” b150::inner routed exec; SSH/scp/sftp to a registered bastion alias; brokre list / brokre_list when bastion discovery SSHs to bastions. Purely local exec (e.g. brokre ssh lan-db) does not require unlock.
strictstrictEvery brokre exec / MCP brokre_exec; metadata-only brokre list stays local-only, while --include-bastions still requires unlock. Use when you want a human in the loop for agent execution while a bastion key is configured.

Examples (default mode, key set, session locked)

OperationUnlock needed?
brokre ssh prod uname -a (local alias)No
brokre ssh b150::db uname -aYes
brokre ssh b150 uptime (registered bastion)Yes
brokre list --include-bastionsYes
brokre list (local only)No

In strict mode, exec rows require unlock; metadata-only brokre list remains local-only and does not unlock unless --include-bastions is used.

Set gate mode

bash
brokre bastion strict status    # default | strict
brokre bastion strict on        # strict โ€” all exec gated; list stays local-only unless discovery is requested
brokre bastion strict off       # default โ€” bastion outbound only
SurfaceHow
CLIbrokre bastion strict on|off|status
Manage UIBastion tab โ€” strict mode toggle
MCPbrokre_bastion_policy โ€” read current policy, or pass {"strict_mode": true} / false

MCP read response includes strict_mode, gate_mode, key_set, unlocked. List/exec responses include bastion_gate (required, unlocked_during_call, idle_expires_at).

Unlock session TTL (defaults): 30 min idle (BROKRE_BASTION_IDLE_SECS), 8 h max lifetime (BROKRE_BASTION_MAX_SECS). Idle window renews on each gated call while unlocked (shared across CLI, MCP, and manage UI via ~/.brokre/run/bastion_session.json). Bastion gate auth is independent of manage UI session idle expiry. Disable auto-open browser on MCP unlock: BROKRE_BASTION_NO_AUTO_OPEN=1.

Reveal / delete (human-only, real TTY)

bash
brokre reveal mysql prod-db --field password
brokre rm ssh prod-bastion

Audit log (metadata only)

bash
brokre audit list --profile ssh --action exec --json
brokre audit verify --json

Events are stored at ~/.brokre/audit/audit.log (HMAC-chained). Command arguments are uniformly redacted as <REDACTED>. New events include a source field (cli, mcp, or manage). The manage UI Audit log tab and MCP brokre_audit_list expose the same metadata.

Manage UI security

  • 127.0.0.1 only; session token in terminal
  • Passwords: create / rotate only โ€” no read API
  • Delete / rotate require reveal passphrase (or YES for auto-saved records)
  • 15-minute idle timeout

Architecture

Code
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ AI/User โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚ brokre CLIโ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚ OS Keychain โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚ Vault File โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      โ”‚
                      โ–ผ
               โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
               โ”‚  PTY + inj. โ”‚โ”€โ”€โ–ถ any CLI on PATH (ssh, mysql, gsql, โ€ฆ)
               โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  • Double encryption: unique DEK per field; wrapped for exec and reveal separately.
  • Vault metadata: profile, name, host_alias, saved_args in cleartext beside ciphertext (THREAT_MODEL.md T3).
  • SSH private keys: 0600 temp file + -i for the session (docs/HARDENING.md).

Preset manage UI groups

Convenience tabs when the binary is on PATH:

GroupBinaries
SSHssh, scp, sftp (shared creds)
FTPftp, lftp
MySQLmysql, mariadb
PostgreSQLpsql, postgres
Redisredis-cli, redis
ClickHouseclickhouse-client, clickhouse
MinIOmc, minio

Roadmap

Today: generic PTY wrapper + manage.toml groups + prompts.toml overrides.

Planned: full TOML connector profiles under ~/.brokre/profiles/ with per-tool injection strategies.

Piped stdin and OpenSSH sharing

  • Piped stdin (tar | brokre ssh host 'tar xf -'): pipe data forwards only after injection completes.
  • OpenSSH family (ssh, scp, sftp): shared saved credentials when the host matches. Interactive save required first (TTY).

Development

bash
cargo test    # unit tests in src/ only (no tests/ integration suite in this repo)
cargo clippy --all-targets --all-features -- -D warnings
cargo build --release   # binary: target/release/brokre

Release version is declared in VERSION (also reflected in Cargo.toml and packages/brokre-mcp/package.json). Official binaries and npm packages are published by TechinOne via GitHub Releases and CI โ€” not part of this open-source tree.

License

MIT โ€” see LICENSE.


Techinone ยท ๆˆ้ƒฝๅŒๅˆ›ๅˆไธ€็ง‘ๆŠ€ๆœ‰้™ๅ…ฌๅธ

Related MCP Servers

View all in Databases View all alternatives
  • AllMCPs Server logoAllMCPs Server
    โ˜… Featured

    The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 3,181+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

    ๐Ÿ—„๏ธ Databases7 views
    Compare vs AllMCPs Server โ†’
  • Genai Toolbox logoGenai Toolbox

    Open source MCP server specializing in easy, fast, and secure tools for Databases.

    ๐Ÿ—„๏ธ Databases3 views
    Compare vs Genai Toolbox โ†’
  • Mcp Mysql Server logoMcp Mysql Server

    Node.js-based MySQL database integration that provides secure MySQL database operations

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs Mcp Mysql Server โ†’
  • Mcp Server Duckdb logoMcp Server Duckdb

    DuckDB database integration with schema inspection and query capabilities

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs Mcp Server Duckdb โ†’

Frequently Asked Questions about Brokre

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "brokre": { "command": "npx", "args": ["-y", "brokre"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBrokre AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/brokre?style=directory)](https://allmcps.com/mcp/brokre)
HTML Embed
<a href="https://allmcps.com/mcp/brokre"><img src="https://allmcps.com/api/badge/brokre?style=directory" alt="Brokre on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ—„๏ธDatabases
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
4/4 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
Last commit21d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 20, 2026
npm downloads1,003/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
45Quality signal: Fair ยท 45/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity8/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge โ€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ—„๏ธ Databases โ†’Best MCP servers for Databases โ†’Alternatives to Brokre โ†’Install in Claude DesktopInstall in CursorInstall in VS Code