# rustmistmcp

> rustmistmcp is an open-source MCP server for cloud and infrastructure. Rust MCP server for the Juniper Mist cloud with scoped tokens and two-person changes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, self-hosted
- **Website:** https://mechub.org/projects/rustmistmcp/
- **Repository:** https://github.com/mechubsec/rustmistmcp
- **MCP Registry name:** io.github.mechubsec/rustmistmcp
- **Categories:** cloud and infrastructure, security
- **Listing updated:** 2026-11-14

## About

Mist is a multi-tenant control plane, where a single org-scoped call can reach every site and access point in an estate. The project treats that as the central design problem: tools are scoped by org and site, responses are bounded, calls are audited, and the surface is deliberately curated rather than generated. The README contrasts itself with a Python project that registers on the order of a thousand generated tools.

Only WAN edge objects can be changed, and only through a plan, digest, approve and apply sequence, with a two-person mode and an optional `--lab-mode` for lab use. Packaging via Docker, archive, systemd and LXC is marked pre-release.

Authentication is by Mist API token only, sent as a Token header; OAuth is not accepted and HTTP Basic login is not implemented because Mist deprecates it as of September 2026. The region host (such as api.mist.com or api.eu.mist.com) must be set by the operator. Token handling, audit and transport come from the shared mecmcp foundation. It is an unofficial community project with no HPE or Juniper affiliation.

## Features

- **Scoped tool surface:** Tools are limited by org and site, with bounded responses.
- **Guarded WAN-edge changes:** Mutations go through plan, digest, approve and apply.
- **Audited calls:** Audit events and redaction come from the shared mecmcp foundation.
- **API-token auth:** Uses Mist API tokens; OAuth and Basic login are not supported.
- **Regional endpoints:** The operator sets the Mist cloud region host.
- **Pre-release packaging:** Docker, tarball, systemd and LXC options.

## Good for

- Check which sites exist in a Mist org
- Review AP, switch and gateway status through a bounded interface
- Apply a WAN edge change only after a second approval
- Keep an audit trail of what an assistant asked of Mist
- Test in a lab tenant using lab mode

## Install

### Claude Code (Terminal)

```sh
claude mcp add rustmistmcp -- docker run -i --rm ghcr.io/mechubsec/rustmistmcp:0.5.2
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mechubsec/rustmistmcp:0.5.2"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mechubsec/rustmistmcp:0.5.2"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "rustmistmcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mechubsec/rustmistmcp:0.5.2"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mechubsec/rustmistmcp:0.5.2"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "rustmistmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mechubsec/rustmistmcp:0.5.2"
      ]
    }
  }
}
```

## Tools

- `get_mist_self`: Return the identity behind the API token.
- `get_mist_org`: Return the Mist organisation.
- `list_mist_sites`: List the sites in the org.

## FAQ

### Is it an official HPE or Juniper product?

No. The README says it is an unofficial community project.

### Which authentication does it support?

Mist API tokens only; OAuth credentials are not accepted.

### Can it change my network?

Only WAN edge objects, through plan, digest, approve and apply.

### Is it production ready?

Packaging is marked pre-release, and live-tenant acceptance so far covered read-only calls in a lab.

### How do I run it?

As a container from ghcr.io, or from a Linux x86_64 release tarball.

### Is rustmistmcp free?

Yes. rustmistmcp is open source, so you can use and self-host it for free.

### How do I add rustmistmcp to Claude Code?

Run this command in your terminal: claude mcp add rustmistmcp -- docker run -i --rm ghcr.io/mechubsec/rustmistmcp:0.5.2

### What are the best alternatives to rustmistmcp?

The closest alternatives to rustmistmcp are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/rustmistmcp
