rustmistmcp
概要
作者による説明(英語の原文)
HPE Juniper Mist MCP server: scoped, audited, two-person change control. Rust.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi2項目中2項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい★ 1
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:2項目中2項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- レジストリには、入力が必要なキーは載っていません。
必要なもの
- DockerDockerのインストール
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"rustmistmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustmistmcp:0.5.1",
"--transport",
"stdio",
"--state-file",
"/var/lib/rustmistmcp/changeset-state.json"
]
}
}
}ターミナルでこれを実行します
claude mcp add rustmistmcp -- docker run -i --rm ghcr.io/mechubsec/rustmistmcp:0.5.1 --transport stdio --state-file /var/lib/rustmistmcp/changeset-state.jsonまたは、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"rustmistmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustmistmcp:0.5.1",
"--transport",
"stdio",
"--state-file",
"/var/lib/rustmistmcp/changeset-state.json"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"rustmistmcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustmistmcp:0.5.1",
"--transport",
"stdio",
"--state-file",
"/var/lib/rustmistmcp/changeset-state.json"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月10日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント mechubsec で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:今日
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5724件のうち65%よりスターが多い
- このカテゴリのほかの5724件のうち97%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5724件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
rustmistmcpは安全ですか?
当てはまる基本チェック2項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は今日、最新バージョン(0.5.1)がレジストリに届いたのは今日です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
代わりに使えるものは?
同じカテゴリには:REA, Netdata, Front-End Checklist
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
rustmistmcp
Async Rust Model Context Protocol server for the HPE Juniper Mist cloud
a mechub project — sovereign network-security automation
Unofficial / community project. This is an independent community project
and does not claim affiliation with or endorsement by Hewlett Packard
Enterprise or Juniper Networks. Product names and trademarks are used only to
identify the systems with which the software interoperates.
rustmistmcp exposes the Juniper Mist cloud — orgs, sites, APs, switches, gateways, WLANs, clients, SLE, and Marvis — to MCP clients as a bounded, auditable tool surface.
Where rustjunosmcp talks NETCONF to individual SRX devices and rustpanosmcp talks XML-API to individual PAN-OS firewalls, this server talks to a multi-tenant cloud control plane. One org-scoped call can reach every site and every access point in an estate, so scoping, bounded responses, and change control are not garnish here; they are the design.
The functional target is the Mist half of nowireless4u/hpe-networking-mcp — site health and SLE, device inventory and stats, WLAN/SSID management, client connectivity, events and alarms, audit logs, RRM and rogue detection, firmware, NAC/policy, guest access, webhooks, floor plans, and Marvis — reimplemented in Rust on the mecmcp foundation rather than as a Python spec-driven registry. That project registers on the order of a thousand generated tools; this one deliberately will not. A curated, scoped, individually-documented surface is the whole point of doing it again.
Relationship to mecmcp
mecmcp is the vendor-neutral Rust foundation shared by the mechub MCP server family. This repository is a consumer of that foundation, not a fork of it:
| Concern | Where it lives |
|---|---|
Token mint/digest/verify, tokens.json, scopes, grants, caller context | mecmcp-auth |
| Attribution, audit events, redaction, sinks | mecmcp-audit |
| Streamable-HTTP transport, host/Origin checks, rate + concurrency limits | mecmcp-transport |
| CLI skeleton, TLS bootstrap, signals, graceful shutdown | mecmcp-runtime |
| Plan → digest → approve → apply → verify change control | mecmcp-changeset |
| OpenAPI catalog path expansion (per-segment percent-encoding) | mecmcp-openapi |
| Mist REST client, API-token auth, response models, tool surface | this repo |
Everything that is *not* specific to the Mist API is upstream. If you find yourself writing generic auth or transport code here, it belongs in mecmcp. There is currently no temporary exception: the one the ledger at docs/UPSTREAM_COMPATIBILITY.md recorded — a Mist-typed token lifecycle adapter — was deleted when its removal condition was met. Any new exception must be recorded there with an objective removal condition.
The API
Mist publishes a versioned REST API under /api/v1, served from per-region cloud endpoints. The org's home region determines the host:
| Region | Endpoint |
|---|---|
| Global 01 | api.mist.com |
| EU 01 | api.eu.mist.com |
| GovCloud | api.gc1.mist.com |
Additional regional clouds exist; the authoritative list is Juniper's *API Endpoints and Global Regions* table, and the region must be operator-configured rather than guessed.
The Mist vendor API supports API tokens and external OAuth 2.0. API tokens are sent as Authorization: Token , may be minted per user or organization, and inherit the privileges of the account that created them. rustmistmcp v1 intentionally implements API-token authentication only; it does not accept OAuth credentials. HTTP Basic authentication with Juniper Mist login credentials is deprecated as of September 2026 and will not be implemented here.
Primary references:
The concrete endpoint map, pagination, and rate-limit semantics are being vetted directly against the live API reference before any client code lands — this README will not restate a surface it has not verified.
Status
Foundation built; read-only live-tenant acceptance passed. The workspace has an audited operation catalog, strict profile metadata, authorization models, and a catalog-bound MistClient contract that validates Mist operation inputs and binds opaque cursors to a configured origin. mecmcp#90 has closed, so HttpMistClient — the concrete HTTPS implementation over mecmcp-http — is built by MistHandler::from_config on the production path.
A lab deployment has reached a real Mist org. On 2026-08-10, through a loopback-bound endpoint and a grant-scoped bearer token, get_mist_self (getSelf), get_mist_org (getOrg), and list_mist_sites (listOrgSites) each returned tenant data with result: ok in 92–325 ms. That was issue #11's gate, and it closed.
What is *not* done, and must not be described as done:
- That run is not full packaging acceptance. It was loopback-only with no TLS, one org, one token, three read tools. The checklist in
docs/PACKAGING_ACCEPTANCE.md— TLS hostname and chain, anonymous and bad-bearer rejection, exact Host/Origin enforcement — is not complete. - **No
/api/v1/self*startup* identity probe.** Theget_mist_selftool works against a live tenant; nothing probes/selfduring startup, andLIVE_MIST_BLOCKERstill names that gap. - Mutations exist only for batch-1 WAN edge objects. Batch-1 covers create and update for networks, services, service policies, gateway templates, and device profiles, reachable only through the plan → digest → approve → apply lifecycle. Delete operations and
mist_configureddevice-profile assignment/unassignment remain out of reach. No live-tenant apply has been performed.
A handler constructed without a credential uses BlockedMistClient, which performs no I/O; LIVE_MIST_BLOCKER is the message it refuses with.
Outbound Mist timeouts and 429 retries
| Flag | Env | Default | Range |
|---|---|---|---|
--mist-connect-timeout-secs | MIST_CONNECT_TIMEOUT_SECS | 10 | 1-300 |
--mist-request-timeout-secs | MIST_REQUEST_TIMEOUT_SECS | 30 | 1-600 |
--mist-max-429-retries | MIST_MAX_429_RETRIES | 2 | 0-5 (0 disables retry) |
--mist-max-retry-wait-secs | MIST_MAX_RETRY_WAIT_SECS | 30 | 1-120 |
The retry wait honors Retry-After but never exceeds --mist-max-retry-wait-secs. Out-of-range values are rejected at startup. A 429 retry wait holds a Mist concurrency permit, so long waits reduce throughput.
Site discovery
Site-scoped tools refuse any site the handler does not already know (see "The API"). At startup, the server calls listOrgSites for every allowlisted org to populate that map before it begins serving. --site-refresh-interval-secs (default 300) controls a background task that repeats this walk on an interval, so a site added or removed on the Mist side is picked up without a restart; 0 disables the background task and discovers once at startup only.
This refresh is idle polling against the operator-configured Mist origin — listOrgSites requests every site-refresh-interval-secs, independent of tool traffic, over the same catalog-validated MistClient every other read uses. It bypasses the per-tool audit trail, since it is a read that updates internal server state rather than a client-initiated call. A request failure or hitting the tracked-site ceiling for one org during a refresh keeps that org's previously known sites rather than dropping them; it does not affect other orgs' sites.
Shared TokenSecret, cancellation, and changeset primitives are reused, not rebuilt. Mist header names, catalog policy, request/response schemas, terminal states, retry classification, and deployment remain in this repository.
Tool listing mode
--tool-mode full|compact (env MCP_TOOL_MODE, default full) controls what tools/list advertises. compact lists only the catalog dispatchers the caller may see (search_mist_operations, get_mist_operation_schema, invoke_mist_read, invoke_mist_privileged_read) to keep the client's tool context small. The list is still scope-filtered: stdio callers and wildcard-scope tokens see three, and invoke_mist_privileged_read appears only for a token that explicitly allows it. It is listing only: every tool stays callable, and token tool/org/site scopes still authorize each call.
stdio transport
--transport stdio runs the server as a child process of a local MCP client (Claude Desktop, Claude Code, and similar), speaking MCP over stdin/stdout with no listening socket. Use it for single-operator, same-machine setups; use streamable-http for anything shared or remote.
- No bearer-token layer.
--tokens-fileis not read on stdio. The process boundary is the trust boundary: whoever can launch the process is the one caller, recorded in audit and change sets as the principalstdio. Tool, org and site scopes from the token store do not apply; theallowed_orgslist inmist.jsonstill does. Because the planner and approver would both bestdio, self-approval is refused, so a stdio client can plan WAN edge changes but cannot apply them (seedocs/THREAT_MODEL.mdbefore combining stdio with--lab-mode). - Restricted tools are hidden, not blocked.
plan_mist_change,invoke_mist_privileged_read,get_mist_self,search_mist_audit_logsand the rest ofRESTRICTED_TOOLS(crates/rustmistmcp/src/server/mod.rs) are omitted fromtools/liston stdio but remain callable by name. - Never combine stdio, `--lab-mode`, and a production-reaching Mist token. Under
--lab-modea single stdio agent can plan and apply a WAN edge change against the real org (docs/THREAT_MODEL.md). - Native stdio audit is unredacted unless
--audit-redactand--audit-hmac-key-fileare given; the OCI image's entrypoint supplies both. - The Mist API token still comes from the credential file (or env-var name) configured in
mist.json, never from the client config. examples/mcp.json.examplehas two client entries: the native binary and the OCI image (arguments matchserver.json). Replace the placeholder paths.- For clients with a small tool budget, add
"--tool-mode", "compact"toargs(see "Tool listing mode").
Pre-release packaging and deployment boundary
The checked-in Docker, archive, systemd, and LXC assets are pre-release packaging only. A lab LXC built from them has served live read-only tenant traffic (issue #11), which is not the same as packaging acceptance: that run used no TLS and no off-loopback bind, so the TLS, Host/Origin, and bad-bearer rows of docs/PACKAGING_ACCEPTANCE.md remain unproven. The /api/v1/self startup probe is unimplemented, and mutations exist only for batch-1 WAN edge objects behind the change-set lifecycle; no live-tenant apply has been performed. No v1 release label may be claimed until that checklist is complete.
The OCI image is a multi-stage build with a digest-pinned Rust builder and a digest-pinned distroless Debian 13 runtime. It runs only `/usr/local/bin/