R

Rustmistmcp

by mechubsec · io.github.mechubsec/rustmistmcp

Enables MCP clients to access HPE Juniper Mist cloud organizations, sites, devices, WLANs, clients, events, and network health through scoped, bounded tools. Supports guarded WAN-edge configuration changes via a plan, approve, apply, and verify workflow.

oci 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-mechubsec-rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "--host=<YOUR_VALUE>",
        "-e",
        "--port=<YOUR_VALUE>",
        "-e",
        "--lab-mode=<YOUR_VALUE>",
        "-e",
        "--transport=<YOUR_VALUE>",
        "-e",
        "--tokens-file=<YOUR_VALUE>",
        "-e",
        "MCP_TOOL_MODE=<YOUR_VALUE>",
        "-e",
        "--audit-format=<YOUR_VALUE>",
        "-e",
        "--audit-redact=<YOUR_VALUE>",
        "-e",
        "--audit-log-file=<YOUR_VALUE>",
        "-e",
        "--device-mapping=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_429_RETRIES=<YOUR_VALUE>",
        "-e",
        "--audit-hmac-key-file=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_RETRY_WAIT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_CONNECT_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_REQUEST_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "--site-refresh-interval-secs=<YOUR_VALUE>",
        "ghcr.io/mechubsec/rustmistmcp:0.5.3"
      ]
    }
  }
}

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-mechubsec-rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "--host=<YOUR_VALUE>",
        "-e",
        "--port=<YOUR_VALUE>",
        "-e",
        "--lab-mode=<YOUR_VALUE>",
        "-e",
        "--transport=<YOUR_VALUE>",
        "-e",
        "--tokens-file=<YOUR_VALUE>",
        "-e",
        "MCP_TOOL_MODE=<YOUR_VALUE>",
        "-e",
        "--audit-format=<YOUR_VALUE>",
        "-e",
        "--audit-redact=<YOUR_VALUE>",
        "-e",
        "--audit-log-file=<YOUR_VALUE>",
        "-e",
        "--device-mapping=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_429_RETRIES=<YOUR_VALUE>",
        "-e",
        "--audit-hmac-key-file=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_RETRY_WAIT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_CONNECT_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_REQUEST_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "--site-refresh-interval-secs=<YOUR_VALUE>",
        "ghcr.io/mechubsec/rustmistmcp:0.5.3"
      ]
    }
  }
}

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-mechubsec-rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "--host=<YOUR_VALUE>",
        "-e",
        "--port=<YOUR_VALUE>",
        "-e",
        "--lab-mode=<YOUR_VALUE>",
        "-e",
        "--transport=<YOUR_VALUE>",
        "-e",
        "--tokens-file=<YOUR_VALUE>",
        "-e",
        "MCP_TOOL_MODE=<YOUR_VALUE>",
        "-e",
        "--audit-format=<YOUR_VALUE>",
        "-e",
        "--audit-redact=<YOUR_VALUE>",
        "-e",
        "--audit-log-file=<YOUR_VALUE>",
        "-e",
        "--device-mapping=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_429_RETRIES=<YOUR_VALUE>",
        "-e",
        "--audit-hmac-key-file=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_RETRY_WAIT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_CONNECT_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_REQUEST_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "--site-refresh-interval-secs=<YOUR_VALUE>",
        "ghcr.io/mechubsec/rustmistmcp:0.5.3"
      ]
    }
  }
}

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-mechubsec-rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "--host=<YOUR_VALUE>",
        "-e",
        "--port=<YOUR_VALUE>",
        "-e",
        "--lab-mode=<YOUR_VALUE>",
        "-e",
        "--transport=<YOUR_VALUE>",
        "-e",
        "--tokens-file=<YOUR_VALUE>",
        "-e",
        "MCP_TOOL_MODE=<YOUR_VALUE>",
        "-e",
        "--audit-format=<YOUR_VALUE>",
        "-e",
        "--audit-redact=<YOUR_VALUE>",
        "-e",
        "--audit-log-file=<YOUR_VALUE>",
        "-e",
        "--device-mapping=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_429_RETRIES=<YOUR_VALUE>",
        "-e",
        "--audit-hmac-key-file=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_RETRY_WAIT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_CONNECT_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_REQUEST_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "--site-refresh-interval-secs=<YOUR_VALUE>",
        "ghcr.io/mechubsec/rustmistmcp:0.5.3"
      ]
    }
  }
}

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-mechubsec-rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "--host=<YOUR_VALUE>",
        "-e",
        "--port=<YOUR_VALUE>",
        "-e",
        "--lab-mode=<YOUR_VALUE>",
        "-e",
        "--transport=<YOUR_VALUE>",
        "-e",
        "--tokens-file=<YOUR_VALUE>",
        "-e",
        "MCP_TOOL_MODE=<YOUR_VALUE>",
        "-e",
        "--audit-format=<YOUR_VALUE>",
        "-e",
        "--audit-redact=<YOUR_VALUE>",
        "-e",
        "--audit-log-file=<YOUR_VALUE>",
        "-e",
        "--device-mapping=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_429_RETRIES=<YOUR_VALUE>",
        "-e",
        "--audit-hmac-key-file=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_RETRY_WAIT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_CONNECT_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_REQUEST_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "--site-refresh-interval-secs=<YOUR_VALUE>",
        "ghcr.io/mechubsec/rustmistmcp:0.5.3"
      ]
    }
  }
}

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-mechubsec-rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "--host=<YOUR_VALUE>",
        "-e",
        "--port=<YOUR_VALUE>",
        "-e",
        "--lab-mode=<YOUR_VALUE>",
        "-e",
        "--transport=<YOUR_VALUE>",
        "-e",
        "--tokens-file=<YOUR_VALUE>",
        "-e",
        "MCP_TOOL_MODE=<YOUR_VALUE>",
        "-e",
        "--audit-format=<YOUR_VALUE>",
        "-e",
        "--audit-redact=<YOUR_VALUE>",
        "-e",
        "--audit-log-file=<YOUR_VALUE>",
        "-e",
        "--device-mapping=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_429_RETRIES=<YOUR_VALUE>",
        "-e",
        "--audit-hmac-key-file=<YOUR_VALUE>",
        "-e",
        "MIST_MAX_RETRY_WAIT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_CONNECT_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "MIST_REQUEST_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "--site-refresh-interval-secs=<YOUR_VALUE>",
        "ghcr.io/mechubsec/rustmistmcp:0.5.3"
      ]
    }
  }
}

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
--host No HTTP listen host. The default deployment posture is loopback only; any external bind requires TLS plus exact allowed Host and Origin configuration.
--port No HTTP listen port. Default: 30030
--lab-mode No Waives the second-principal approval requirement for a single-operator lab. Off by default. The change-set record still notes the waiver and records `approver: null`. Default: false
--transport No Transport mode. Use `stdio` to run as a child process over stdin/stdout with no listening socket, or `streamable-http` for shared/remote use.
--tokens-file No Path to the bearer-token store. Not read when `--transport stdio` is used.
MCP_TOOL_MODE No Controls what `tools/list` advertises (`--tool-mode full|compact`). `compact` lists only catalog dispatchers visible to the caller; tools remain callable regardless. Default: full
--audit-format No Audit output format. JSON is mandatory for forwarding/parse targets; `text` is for terminal reading only.
--audit-redact No Enable audit redaction. Native stdio audit is unredacted unless this and `--audit-hmac-key-file` are given.
--audit-log-file No Path to the audit log file. File-audit startup is fail-closed if the file cannot be opened.
--device-mapping No Path to the Mist profile configuration file (for example `/etc/rustmistmcp/mist.json`).
MIST_MAX_429_RETRIES No Maximum number of Mist 429 retries (`--mist-max-429-retries`). Range 0-5; `0` disables retry. Default: 2
--audit-hmac-key-file No Path to the audit HMAC key file used with `--audit-redact`.
MIST_MAX_RETRY_WAIT_SECS No Maximum Mist 429 retry wait in seconds (`--mist-max-retry-wait-secs`). Range 1-120; honors `Retry-After` but never exceeds this value. Default: 30
MIST_CONNECT_TIMEOUT_SECS No Outbound Mist connect timeout in seconds (`--mist-connect-timeout-secs`). Range 1-300; out-of-range values are rejected at startup. Default: 10
MIST_REQUEST_TIMEOUT_SECS No Outbound Mist request timeout in seconds (`--mist-request-timeout-secs`). Range 1-600; out-of-range values are rejected at startup. Default: 30
--site-refresh-interval-secs No Interval in seconds for the background `listOrgSites` refresh. `0` disables background refresh and discovers sites once at startup only. Default: 300

Similar servers