This Rust workspace implements one Junos and SRX MCP server:
rust-junosmcp/is the unified Junos/SRX MCP server.rust-junosmcp-core/owns device I/O, base tools, and HTTP limits.rust-junosmcp-srx-core/owns optional SRX workflows.rust-junosmcp-auth/is the auth security boundary.- Audit/compliance is owned by the external
mecmcp-auditcrate (not a workspace member here);rust-junosmcp-coredepends on it.
Inventory mutation, file transfer, configuration load and commit, upgrades, support bundles, and package lifecycle tools are high risk.
- Install the golden workstation baseline and run
just setup. - Use the pinned
rust-toolchain.toml; commitCargo.lockwith dependency changes.just devshows the local server CLI without contacting a device. - Keep MCP schemas, annotations, auth scopes, timeouts, and audit behavior compatible or document the break in the changelog.
- Offline:
just fmt,just lint,just test, andjust guard. just integrationis the only target for ignored real-device tests and requiresCONFIRM_LAB_INTEGRATION=yes.just e2eperforms offline CLI help checks.- Run
just securityandjust release-checkbefore handoff.
- Do not hand-edit
Cargo.lock, generated schemas, package archives, or build output. Keepdevices-template.jsonandtokens-template.jsonsecret-free. - Review new dependencies for maintenance, license, crypto, and attack surface.
- Never commit device inventories, bearer tokens, SSH keys, fetched files, private configurations, support bundles, or generated certificates.
- Read-only facts/config/diff are the default. Writes require validated target, exact diff, approval, confirmed commit/rollback protection, and verification.
- Never run upgrades or real-device tests against production.
Report files changed, commands/results, schema or behavior compatibility, skipped real-device checks, and remaining risk.