原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

rust-junosmcp

作者:mechubsec版本 2.7.2i★ –i在你的电脑上运行
注册名称io.github.mechubsec/rustjunosmcp

安装

概览

作者提供的说明(英文原文)

Juniper Junos/SRX MCP server: scoped, audited, two-person change control. Rust.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "rustjunosmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mechubsec/rustjunosmcp:2.7.2",
        "--transport",
        "stdio"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add rustjunosmcp -- docker run -i --rm ghcr.io/mechubsec/rustjunosmcp:2.7.2 --transport stdio

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "rustjunosmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mechubsec/rustjunosmcp:2.7.2",
        "--transport",
        "stdio"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "rustjunosmcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mechubsec/rustjunosmcp:2.7.2",
        "--transport",
        "stdio"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mechubsec 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32568 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32568 个服务器的 88% 更新
  • 基础检查结果等于或优于此分类中其他 32568 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

rust-junosmcp 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.7.2)于5天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, FlyDocs

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

FlyDocs

作者:flydocs.ai

Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

rust-junosmcp

One MCP server for Juniper Junos and SRX devices, in Rust

a mechub project — sovereign network-security automation

Unofficial / community project. This repository is an independent, community-driven project. It is not affiliated with, endorsed by, sponsored by, or supported by Hewlett Packard Enterprise or Juniper Networks. "HPE", "Juniper", "SRX", "JUNOS", "Security Director" and "Juniper Mist" are trademarks of their respective owners and are used here only to describe what this software interoperates with. Please direct support and licensing questions about those products to the respective vendors.

A Model Context Protocol server for Juniper Junos and SRX devices, written in Rust. One rust-junosmcp process gives an MCP client the core Junos tools and the SRX security workflows (45 tools by default), with per-token device and tool scopes, audit logging, and change control for configuration writes. It reads the same devices.json inventory as Juniper/junos-mcp-server.

The server runs on Linux only, in an LXC container or in Docker. The current version is 2.7.2. It is stable: see Stability for what that covers.

1. Install

Pick one path. Both end with the server on 127.0.0.1:30030/mcp behind bearer-token authentication. You need the same things either way:

  • A devices.json inventory. Start from devices-template.json. Each device needs an auth object with a type (ssh_key or password).
  • An SSH private key whose public half is installed for a NETCONF user on each device. Prefer keys to passwords.
  • A known_hosts entry for each device. Host-key checking is strict. scripts/scan-known-hosts.sh builds the file from the inventory; check the fingerprints against a trusted source.
  • Mode 0600 on devices.json, the key and tokens.json; the server refuses to start otherwise.
Docker

Prebuilt images are public and need no login:

  • ghcr.io/mechubsec/rustjunosmcp
  • docker.io/mechub/rustjunosmcp

The image runs as UID/GID 65532:65532 and has no shell. Its entrypoint already passes the inventory, state, known-hosts, lease, token-file and audit-key paths, so add only transport and bind flags. Do not repeat the entrypoint flags.

Verify the image signature first. Your inventory and SSH key get mounted into this image, so stop if the check fails. Pin the image by digest, so the bytes you verify are the bytes you run. A later release needs its own version and digest.

image=ghcr.io/mechubsec/rustjunosmcp:2.7.2@sha256:a6f9c89291d213e7f81d73fda59bc859d98c85c517596304b4a57a283d4247c1

cosign verify \ --certificate-identity-regexp '^https://github\.com/mechubsec/mecmcp/\.github/workflows/reusable-release-image\.yml@' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ --certificate-github-workflow-repository mechubsec/rustjunosmcp \ --certificate-github-workflow-trigger push \ --certificate-github-workflow-ref refs/tags/v2.7.2 \ "$image"

Then prepare the host paths:

mkdir -p junos-docker/keys junos-docker/state/device-leases junos-docker/state/staging

cd junos-docker

Put devices.json and keys/id_ed25519 here, then pin each device's host key:

/path/to/rustjunosmcp/scripts/scan-known-hosts.sh \ --inventory ./devices.json --known-hosts ./state/known_hosts chmod 0600 devices.json keys/id_ed25519 sudo chown -R 65532:65532 devices.json keys state sudo chmod 0700 keys state state/device-leases

Mint a token (below), then start it:

docker run -d --name junos-twoperson \

-p 127.0.0.1:30030:30030 \ -v "$PWD/devices.json:/etc/jmcp/devices.json:ro" \ -v "$PWD/keys:/etc/jmcp/keys:ro" \ -v "$PWD/state:/var/lib/jmcp" \ "$image" \ --transport streamable-http --host 0.0.0.0 --port 30030 \ --allow-insecure-bind \ --allowed-host 127.0.0.1:30030 --allowed-host localhost:30030 \ --allowed-origin http://127.0.0.1:30030 --allowed-origin http://localhost:30030

Notes:

  • private_key_path in devices.json is the in-container path, for example /etc/jmcp/keys/id_ed25519.
  • Keep tokens.json in the mounted state directory. Do not bind-mount it as a single file. Token commands replace the file, so a single-file mount keeps the old copy and a revoked token stays valid after a reload.
  • --allowed-host and --allowed-origin carry the port the client dials, which is the published port, not the container's 30030.
  • Without --lab-mode this is two-person mode. To run lab mode, add --lab-mode as the last argument. See section 2.
  • --audit-journald does not work in a container (no journald socket). Read the audit stream with docker logs.

Full walk-through, image digest pinning and troubleshooting: docs/HOW-TO-SETUP-DOCKER.md.

LXC (Proxmox)

The container must be Debian 13 (trixie). The published binary needs GLIBC_2.39 and Debian 12 ships 2.36, so the service would fail at start with a "GLIBC_2.39 not found" error after an otherwise clean install. Create it unprivileged with --features nesting=1 (systemd 257 needs it). 512 MB and one core is enough.

Use the release tarball. Do not build the binary on your workstation and copy it in: a newer glibc than the container's will not load.

The checksum proves the download is intact. The signature proves it came from this project's release workflow. Stop if either check fails.

version=2.7.2

base="https://github.com/mechubsec/rustjunosmcp/releases/download/v${version}" tarball="rust-junosmcp_${version}_amd64.tar.gz" curl -fLO "$base/$tarball" curl -fLO "$base/$tarball.sha256" curl -fLO "$base/$tarball.cosign.bundle"

sha256sum -c "$tarball.sha256" cosign verify-blob \ --certificate-identity-regexp '^https://github\.com/mechubsec/mecmcp/\.github/workflows/reusable-sign-release-tarball\.yml@' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ --certificate-github-workflow-repository mechubsec/rustjunosmcp \ --certificate-github-workflow-trigger release \ --certificate-github-workflow-ref "refs/tags/v${version}" \ --bundle "$tarball.cosign.bundle" "$tarball"

pct push "$tarball" /tmp/pkg.tar.gz pct exec -- bash -lc "cd /tmp && tar xzf pkg.tar.gz && cd rust-junosmcp_${version}_amd64 && JMCP_INSTALL_VERIFY_TOOLS=1 ./install.sh"

install.sh creates the jmcp service user, installs the binary and the systemd unit, and stops. The service will not start until it has an inventory. Then place the credentials and fix their modes:

pct push <vmid> devices.json /etc/jmcp/devices.json

pct push id_ed25519 /etc/jmcp/id_ed25519 pct push known_hosts /etc/jmcp/known_hosts pct exec -- bash -lc ' chown -R jmcp:jmcp /etc/jmcp chmod 0600 /etc/jmcp/devices.json /etc/jmcp/id_ed25519 chmod 0644 /etc/jmcp/known_hosts '

Mint a token (below), then start it:

pct exec <vmid> -- systemctl enable --now rust-junosmcp

The shipped unit binds 127.0.0.1:30030 and keeps its token store at /var/lib/jmcp/tokens.json. For remote clients, use an SSH tunnel or a TLS reverse proxy, or add site settings in a systemd drop-in as the HOW-TO shows.

To upgrade, read the CHANGELOG.md upgrade notes, then install the new tarball the same way. The installer does not restart the service, so do that yourself and check the version:

pct exec <vmid> -- systemctl try-restart rust-junosmcp

pct exec -- /usr/local/bin/rust-junosmcp --version

The installer replaces the binary and the shipped unit, and leaves devices.json, tokens.json and known_hosts alone. Keep site settings in a drop-in, because edits to the shipped unit are lost.

Container creation, the site drop-in, verification and troubleshooting: docs/HOW-TO-SETUP-LXC.md. Release tarball verification: docs/REFERENCE.md.

Mint a token

Clients authenticate with a bearer token. The secret prints once and is stored hashed. Define jmcp for your install. The token paths are the same in both.

# LXC: run as the service user inside the guest.

jmcp() { pct exec -- runuser -u jmcp -- /usr/local/bin/rust-junosmcp "$@"; }

Docker: run from junos-docker/. No binary on the host is needed.

jmcp() { docker run --rm --entrypoint /usr/local/bin/rust-junosmcp \ -v "$PWD/devices.json:/etc/jmcp/devices.json:ro" \ -v "$PWD/state:/var/lib/jmcp" \ "$image" "$@" }

jmcp token add --tokens-file /var/lib/jmcp/tokens.json -f /etc/jmcp/devices.json \ --name my-client --devices '*' --tools '*'

A wildcard --tools '*' grants read-only tools only. Name write tools explicitly or the caller gets insufficient_scope. After minting or revoking, signal the running server:

pct exec <vmid> -- systemctl kill -s HUP rust-junosmcp.service   # LXC

docker kill -s HUP junos-twoperson # Docker

Scopes, rotation and rescoping: Remote transport + auth.

Check it is up

The service listens on the guest's loopback, so on LXC run this inside the guest with pct exec -- curl .... For Docker, run it on the host.

curl -s -o /dev/null -w '%{http_code}\n' -X POST http://127.0.0.1:30030/mcp \

-H 'content-type: application/json' -d '{}'

401 is success: the transport is up and rejecting unauthenticated callers. 000 means nothing is listening. 421 means the allowed-host list is wrong.

2. Choose a safety mode

By default, every configuration write goes through a change set: one principal proposes it, a different principal approves it, and then it is applied. A principal is a bearer token. Choose how that rule applies to your deployment.

Two-person (default)Lab mode (--lab-mode)
Flagnone--lab-mode
Who approvesa second principalnobody; approved on creation
Self-approvalrefusednot needed
Recordapprover identityapprover: null, approval_waiver: "lab-mode"
Use it foranything reala single-operator lab
Two-person change control (default)

The flow is create_junos_change_set, then approve_junos_change_set, then apply_junos_change_set. A change set needs a second principal unless lab mode is on. The token that creates a change set cannot approve it. Plan, plan digest, drift detection and apply-time revalidation all run.

Set it up with two tokens. The token from Mint a token is read-only, so it can do neither job.

  • A proposer token that names the change-set tools.
  • An approver token held by a different person, with --actor-type human and the approve_junos_change_set tool. The server refuses approval from a non-human actor.

Mint both with the jmcp function from Mint a token:

jmcp token add --tokens-file /var/lib/jmcp/tokens.json -f /etc/jmcp/devices.json \

--name proposer --actor-type agent --devices '*' \ --tools get_junos_candidate_fingerprint,create_junos_change_set,get_junos_change_set_status,apply_junos_change_set,confirm_junos_change_set

jmcp token add --tokens-file /var/lib/jmcp/tokens.json -f /etc/jmcp/devices.json \ --name alice --actor-type human --devices '*' \ --tools approve_junos_change_set

Then signal the running server, as shown above.

Two tokens held by one person are not a second reviewer. To bind the approver to a real identity, use a verified approver (`--oidc-

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx