rust-junosmcp
What it does
Juniper Junos/SRX MCP server: scoped, audited, two-person change control. Rust.
- Connects 내 컴퓨터에서 실행
- Account or key No key needed
- Category 개발자 도구
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
검사 3/3 통과 · 내 컴퓨터에서 실행돼요
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
컴퓨터용 Claude 앱 설정 파일 열기
SettingsDeveloperEdit Config
이 설정을 붙여 넣고 저장
{ "mcpServers": { "rustjunosmcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/mechubsec/rustjunosmcp:2.7.4", "--transport", "stdio" ] } } }Claude를 끄고 다시 열기
해 보기
rust-junosmcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 rust-junosmcp을 쓰고 있다고 하거나 답에 rust-junosmcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 rust-junosmcp에 연결할 수 없어요
rust-junosmcp는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
대신 이렇게 할 수 있어요
A · rust-junosmcp에 연결되는 앱 쓰기
- 먼저 컴퓨터에 Docker를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
- 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
- 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
- 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
B · 개발자 도구에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
터미널 열기
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
이 명령을 붙여 넣고 Enter
claude mcp add --scope user rustjunosmcp -- docker run -i --rm ghcr.io/mechubsec/rustjunosmcp:2.7.4 --transport stdioClaude Code에서 /mcp 입력
rust-junosmcp이 목록에 있고 연결됨으로 보이면 돼요
해 보기
rust-junosmcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 rust-junosmcp을 쓰고 있다고 하거나 답에 rust-junosmcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
Cursor에서 AI 채팅을 Agent 모드로 열기
해 보기
rust-junosmcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 rust-junosmcp을 쓰고 있다고 하거나 답에 rust-junosmcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
VS Code에서 AI 채팅을 Agent 모드로 열기
해 보기
rust-junosmcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 rust-junosmcp을 쓰고 있다고 하거나 답에 rust-junosmcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요
JSON 설정은 아래 “개발자용”에 있어요
개발자용: 터미널 명령과 JSON 설정
컴퓨터에 설치
Claude Code
claude mcp add --scope user rustjunosmcp -- docker run -i --rm ghcr.io/mechubsec/rustjunosmcp:2.7.4 --transport stdioClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"rustjunosmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustjunosmcp:2.7.4",
"--transport",
"stdio"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"rustjunosmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustjunosmcp:2.7.4",
"--transport",
"stdio"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"rustjunosmcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustjunosmcp:2.7.4",
"--transport",
"stdio"
]
}
}
}이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
한눈에 보기
- 주간 다운로드i
- npm/PyPI에 없음
- 연결 방식
- 내 컴퓨터에서 실행
- 최신 버전i
- 2.7.4
- 레지스트리 공개i
- 2026년 11월 12일
- 코드 마지막 변경i
- 2026년 11월 12일
- 제작자
- mechubsec
- 패키지
oci: ghcr.io/mechubsec/rustjunosmcp:2.7.4- 웹사이트
- github.com
- 레지스트리 상태
- 활성
어떤 앱에서 쓸 수 있나요
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 12일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 mechubsec 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ✓ 통과
계속 관리되고 있음
코드 마지막 변경: 오늘
- ✓ 통과
라이선스 있음
MIT 사용
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
토론
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
사용자 리뷰
아직 리뷰가 없어요
개발자 도구 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 5804개 중 81%보다 스타가 많아요
- 이 카테고리의 다른 서버 5804개 중 98%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 5804개 중 100%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
rust-junosmcp, 안전한가요?
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 오늘 변경됐고, 최신 버전(2.7.4)은 오늘 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Docker도 있어야 해요.
같은 카테고리의 다른 것
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
제작자의 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.jsoninventory. Start fromdevices-template.json. Each device needs anauthobject with atype(ssh_keyorpassword). - An SSH private key whose public half is installed for a NETCONF user on each device. Prefer keys to passwords.
- A
known_hostsentry for each device. Host-key checking is strict.scripts/scan-known-hosts.shbuilds the file from the inventory; check the fingerprints against a trusted source. - Mode
0600ondevices.json, the key andtokens.json; the server refuses to start otherwise.
Docker
Prebuilt images are public and need no login:
ghcr.io/mechubsec/rustjunosmcpdocker.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_pathindevices.jsonis the in-container path, for example/etc/jmcp/keys/id_ed25519.- Keep
tokens.jsonin the mountedstatedirectory. 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-hostand--allowed-origincarry the port the client dials, which is the published port, not the container's 30030.- Without
--lab-modethis is two-person mode. To run lab mode, add--lab-modeas the last argument. See section 2. --audit-journalddoes not work in a container (no journald socket). Read the audit stream withdocker 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) | |
|---|---|---|
| Flag | none | --lab-mode |
| Who approves | a second principal | nobody; approved on creation |
| Self-approval | refused | not needed |
| Record | approver identity | approver: null, approval_waiver: "lab-mode" |
| Use it for | anything real | a 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 humanand theapprove_junos_change_settool. 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-