B

Brokre

by Furowu · io.github.Furowu/brokre

Local credential broker that enables AI agents to securely run CLI tools like SSH and MySQL without exposing passwords to the AI context, environment variables, or process listings.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-furowu-brokre": {
      "command": "npx",
      "args": [
        "-y",
        "brokre"
      ],
      "env": {
        "BROKRE_BIN": "",
        "BROKRE_TUNNEL": "1",
        "BROKRE_MCP_SESSION": "1",
        "BROKRE_ROUTED_INNER": "",
        "BROKRE_SOFT_MEMLOCK": "",
        "BROKRE_MCP_SKIP_SETUP": "",
        "BROKRE_BASTION_MAX_SECS": "28800",
        "BROKRE_MCP_NO_AUTO_OPEN": "",
        "BROKRE_BASTION_IDLE_SECS": "1800",
        "BROKRE_SKIP_AUTO_INSTALL": "",
        "BROKRE_ALLOW_FILE_KEYCHAIN": "",
        "BROKRE_SSH_CONNECT_TIMEOUT": "5",
        "BROKRE_BASTION_NO_AUTO_OPEN": "",
        "BROKRE_MCP_SESSION_MAX_SECS": "1800",
        "BROKRE_MCP_SESSION_IDLE_SECS": "600",
        "BROKRE_MCP_SESSION_CMD_TIMEOUT": "120"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-furowu-brokre": {
      "command": "npx",
      "args": [
        "-y",
        "brokre"
      ],
      "env": {
        "BROKRE_BIN": "",
        "BROKRE_TUNNEL": "1",
        "BROKRE_MCP_SESSION": "1",
        "BROKRE_ROUTED_INNER": "",
        "BROKRE_SOFT_MEMLOCK": "",
        "BROKRE_MCP_SKIP_SETUP": "",
        "BROKRE_BASTION_MAX_SECS": "28800",
        "BROKRE_MCP_NO_AUTO_OPEN": "",
        "BROKRE_BASTION_IDLE_SECS": "1800",
        "BROKRE_SKIP_AUTO_INSTALL": "",
        "BROKRE_ALLOW_FILE_KEYCHAIN": "",
        "BROKRE_SSH_CONNECT_TIMEOUT": "5",
        "BROKRE_BASTION_NO_AUTO_OPEN": "",
        "BROKRE_MCP_SESSION_MAX_SECS": "1800",
        "BROKRE_MCP_SESSION_IDLE_SECS": "600",
        "BROKRE_MCP_SESSION_CMD_TIMEOUT": "120"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-furowu-brokre": {
      "command": "npx",
      "args": [
        "-y",
        "brokre"
      ],
      "env": {
        "BROKRE_BIN": "",
        "BROKRE_TUNNEL": "1",
        "BROKRE_MCP_SESSION": "1",
        "BROKRE_ROUTED_INNER": "",
        "BROKRE_SOFT_MEMLOCK": "",
        "BROKRE_MCP_SKIP_SETUP": "",
        "BROKRE_BASTION_MAX_SECS": "28800",
        "BROKRE_MCP_NO_AUTO_OPEN": "",
        "BROKRE_BASTION_IDLE_SECS": "1800",
        "BROKRE_SKIP_AUTO_INSTALL": "",
        "BROKRE_ALLOW_FILE_KEYCHAIN": "",
        "BROKRE_SSH_CONNECT_TIMEOUT": "5",
        "BROKRE_BASTION_NO_AUTO_OPEN": "",
        "BROKRE_MCP_SESSION_MAX_SECS": "1800",
        "BROKRE_MCP_SESSION_IDLE_SECS": "600",
        "BROKRE_MCP_SESSION_CMD_TIMEOUT": "120"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-furowu-brokre": {
      "command": "npx",
      "args": [
        "-y",
        "brokre"
      ],
      "env": {
        "BROKRE_BIN": "",
        "BROKRE_TUNNEL": "1",
        "BROKRE_MCP_SESSION": "1",
        "BROKRE_ROUTED_INNER": "",
        "BROKRE_SOFT_MEMLOCK": "",
        "BROKRE_MCP_SKIP_SETUP": "",
        "BROKRE_BASTION_MAX_SECS": "28800",
        "BROKRE_MCP_NO_AUTO_OPEN": "",
        "BROKRE_BASTION_IDLE_SECS": "1800",
        "BROKRE_SKIP_AUTO_INSTALL": "",
        "BROKRE_ALLOW_FILE_KEYCHAIN": "",
        "BROKRE_SSH_CONNECT_TIMEOUT": "5",
        "BROKRE_BASTION_NO_AUTO_OPEN": "",
        "BROKRE_MCP_SESSION_MAX_SECS": "1800",
        "BROKRE_MCP_SESSION_IDLE_SECS": "600",
        "BROKRE_MCP_SESSION_CMD_TIMEOUT": "120"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-furowu-brokre": {
      "command": "npx",
      "args": [
        "-y",
        "brokre"
      ],
      "env": {
        "BROKRE_BIN": "",
        "BROKRE_TUNNEL": "1",
        "BROKRE_MCP_SESSION": "1",
        "BROKRE_ROUTED_INNER": "",
        "BROKRE_SOFT_MEMLOCK": "",
        "BROKRE_MCP_SKIP_SETUP": "",
        "BROKRE_BASTION_MAX_SECS": "28800",
        "BROKRE_MCP_NO_AUTO_OPEN": "",
        "BROKRE_BASTION_IDLE_SECS": "1800",
        "BROKRE_SKIP_AUTO_INSTALL": "",
        "BROKRE_ALLOW_FILE_KEYCHAIN": "",
        "BROKRE_SSH_CONNECT_TIMEOUT": "5",
        "BROKRE_BASTION_NO_AUTO_OPEN": "",
        "BROKRE_MCP_SESSION_MAX_SECS": "1800",
        "BROKRE_MCP_SESSION_IDLE_SECS": "600",
        "BROKRE_MCP_SESSION_CMD_TIMEOUT": "120"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-furowu-brokre": {
      "command": "npx",
      "args": [
        "-y",
        "brokre"
      ],
      "env": {
        "BROKRE_BIN": "",
        "BROKRE_TUNNEL": "1",
        "BROKRE_MCP_SESSION": "1",
        "BROKRE_ROUTED_INNER": "",
        "BROKRE_SOFT_MEMLOCK": "",
        "BROKRE_MCP_SKIP_SETUP": "",
        "BROKRE_BASTION_MAX_SECS": "28800",
        "BROKRE_MCP_NO_AUTO_OPEN": "",
        "BROKRE_BASTION_IDLE_SECS": "1800",
        "BROKRE_SKIP_AUTO_INSTALL": "",
        "BROKRE_ALLOW_FILE_KEYCHAIN": "",
        "BROKRE_SSH_CONNECT_TIMEOUT": "5",
        "BROKRE_BASTION_NO_AUTO_OPEN": "",
        "BROKRE_MCP_SESSION_MAX_SECS": "1800",
        "BROKRE_MCP_SESSION_IDLE_SECS": "600",
        "BROKRE_MCP_SESSION_CMD_TIMEOUT": "120"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
BROKRE_BIN No Path to a specific brokre binary to use, overriding auto-download.
BROKRE_TUNNEL No Set to '0' to disable SessionRelay tunnel and fall back to direct SSH. Default: 1
BROKRE_MCP_SESSION No Enables or disables the background session pool for elevated commands. Set to '0' to disable. Default: 1
BROKRE_ROUTED_INNER No Set to '1' for headless Linux routed exec.
BROKRE_SOFT_MEMLOCK No Set to '1' to enable soft memlock for headless Linux.
BROKRE_MCP_SKIP_SETUP No Set to '1' to skip automatic MCP registration during npm install.
BROKRE_BASTION_MAX_SECS No Bastion unlock max lifetime in seconds (8 hours). Default: 28800
BROKRE_MCP_NO_AUTO_OPEN No Set to '1' to disable automatic opening of the manage UI in browser on first connect.
BROKRE_BASTION_IDLE_SECS No Bastion unlock idle timeout in seconds (30 minutes). Default: 1800
BROKRE_SKIP_AUTO_INSTALL No Set to '1' to disable automatic binary download on MCP start.
BROKRE_ALLOW_FILE_KEYCHAIN No Set to '1' to allow file-based keychain.
BROKRE_SSH_CONNECT_TIMEOUT No SSH connect timeout in seconds. Default: 5
BROKRE_BASTION_NO_AUTO_OPEN No Set to '1' to disable automatic opening of browser on bastion unlock.
BROKRE_MCP_SESSION_MAX_SECS No Maximum session lifetime in seconds. Default: 1800
BROKRE_MCP_SESSION_IDLE_SECS No Idle timeout for session pool in seconds. Default: 600
BROKRE_MCP_SESSION_CMD_TIMEOUT No Per-command timeout in seconds. Default: 120

Similar servers