Skip to main content

NetConverter CLI

Migrate, validate and optimize network configurations from the folder that holds them, with direct file transport for your AI assistant.

Version 0.8.1. Qualification is unchanged from 0.8.0: installed macOS stdio workflows and Linux/Windows CI are verified; native Windows end-to-end and individual hosted assistant workflows retain separate acceptance scopes.

NetConverter — by ValeronLabs LLC.

◆ NetConverter  v0.8.1                      ● Server   ◆ Bridge claude-code · 2m ago
▍ Start
▍ /convert    Migrate a configuration to another vendor
▍ /validate   Check a configuration before migrating
▍ /optimize   Cleanup and optimization findings
▍ /activity   What your AI assistant did here
╭ What does edge-fw.conf contain? ───────────────────────────────╮
│ ▸  1  Fortinet FortiGate  · detected                            │
│    2  Cisco ASA                                                 │
╰──────────────────────────────── ↑↓ choose · 1–9 jump · Enter ───╯

One small client, three ways in:

What it is
netconverter A keyboard-first full-screen app: pick a file, answer a few inline questions, follow the job, get verified outputs beside your source.
netconverter mcp A local MCP bridge for Claude Code, Claude Desktop, Cursor, VS Code and Codex. Your AI passes a file path; the bridge reads the file and uploads it straight to NetConverter. Automatic file-transfer responses contain paths, hashes, job IDs and summaries. Authorized result tools can expose configuration sections under the account and workspace privacy settings.
netconverter validate edge.cfg --vendor fortinet Plain one-shot commands that print JSON, for scripts and CI.

What it supports

Whatever the NetConverter server you sign in to supports — the client reads GET /capabilities and builds every menu from it, so new vendors appear without a client update. Today that is:

  • Firewalls: Palo Alto (SET, XML, Panorama), Fortinet FortiGate, Cisco FMC (JSON); Cisco ASA as a source. Check Point is a source through a handoff bundle in the portal.
  • Routers and switches: Cisco IOS-XE, Juniper JunOS (braces and set), Aruba CX; ArubaOS as a source.
  • Jobs: convert, validate, optimize; follow-up questions on NAT, policy, routes, interfaces, unused objects, object dependencies and traffic flows.

Run netconverter capabilities to see exactly what your credential can do. A 0.1.x Terminal Quick pilot key still works and keeps its ASA → Palo Alto scope; the app labels it as such.

Development preview: revisioned drafts and guided MCP adds an opt-in client contract for manual YAML, reviewed migration preparation, job status and verified result downloads. It requires explicit server support and is not enabled by an ordinary MCP connection.

Start here

One line installs everything (uv, the CLI from PyPI), signs you in and connects your AI assistants to ~/migrations:

curl -LsSf https://netconverter.ai/install.sh | sh              # macOS / Linux
irm https://netconverter.ai/install.ps1 | iex                    # Windows PowerShell

Options: --yes (no prompts, for IT/MDM), --no-connect, --workspace PATH (curl … | sh -s -- --yes; PowerShell: -Yes -NoConnect -Workspace PATH, see scripts/install.ps1). Running it again only does what is missing.

Or by hand:

# 1. Install (Python 3.12+ via uv: https://docs.astral.sh/uv)
uv tool install --python 3.12 netconverter-cli

# 2. Sign in once
netconverter login --clerk          # your NetConverter account, in the browser
#    or: netconverter login          # paste an API key at a hidden prompt

# 3. Work in the folder that holds your configs
cd ~/migrations && netconverter

Upgrading from netconverter-terminal 0.1.x: uv tool uninstall netconverter-terminal first. Saved keys and sign-ins carry over (Keychain service NetConverter Terminal).

Full walkthrough: Quick start.

A YAML v2 decisions file (zone and interface mappings) rides along with a conversion: netconverter convert edge.cfg --vendor fortinet --to palo_alto_xml --options "$(jq -Rs '{yaml_v2: .}' decisions.yaml)", or inline as --options '{"yaml_v2": {...}}'; see docs/COMMANDS.md.

Use it from your AI

Step-by-step guides for every assistant (Claude, ChatGPT, Cursor, Gemini CLI, Codex …): docs/connect.

netconverter connect claude-code    # or claude-desktop, cursor, vscode, codex, gemini, devin, windsurf, lmstudio
netconverter connect --all          # every assistant found on this computer
netconverter connect chatgpt        # ChatGPT / claude.ai: remote-connector setup steps

connect shows the exact change it will make and asks before applying it (Claude Code through its own claude mcp add; JSON files keep a .bak). For Claude Code it then offers a Read deny rule for the folder, so the assistant works on your configurations only through the bridge. Then ask your assistant, for example: "Validate edge-fw.conf and tell me what it finds," "Convert it to Palo Alto XML," "Can WEB reach DB on tcp/1433?"

Guided migration: "Prescan edge-fw.conf for Palo Alto XML and walk me through the decisions." submit_file(..., job_type="prescan") stops at a psc_ prescan; the assistant reads the decisions (list_operations, get_decision_document, validate_decision_document), records your choices (propose_operations) and, with your OK, queues the conversion (submit_conversion). These tools need the folder at netconverter privacy level full; the two write tools also need them enabled for your tenant (docs/COMMANDS.md § Guided migration). If your assistant declines the upload confirmation without showing it (ChatGPT, Claude Code), approve in the conversation or run the bridge with --no-upload-confirm.

Bridge tools: submit_file, job_status, wait_for_job, account, download, plus an allowlist of NetConverter's tools (reports, evidence, why a job needs review, NAT, flows, knowledge base, guided mapping and guided migration). What the assistant sees is this folder's exposure level (netconverter privacy level none|masked|selected|full, default masked: the strict view, names as tokens, addresses masked, no configuration content); secrets are removed at every level, and raising the level needs a confirmation typed in a terminal (docs/PRIVACY.md). netconverter privacy apply --client claude-code (also cursor, gemini; codex and openclaw print the settings) keeps the assistant's own file tools out of the folder. Job options from an assistant pass an allowlist with type checks: an unknown or reserved key (the file, vendors, job type, a decisions document) is refused naming it, never silently sent.

Upgrading from 0.4.x: --full (or NETCONVERTER_MCP_VIEW=full) no longer widens the view on its own; run netconverter privacy level full in a terminal for the folder. Run netconverter connect <assistant> again to drop the --strict that 0.4.4 wrote, which would hold the assistant at masked.

Inside the app, /activity and the header's Bridge pill show what your AI did through the bridge — paths, sizes, SHA-256 and job IDs only.

Resume an evidence workbook

For full API conversion jobs, download saves verified configuration/report files and prepares the workbook once. complete: false means the bundle is incomplete; inspect files, pending_export, and failure separately. export_reference retains the exact resume arguments even if a later status response is lost. Saved file receipts remain valid. After the returned retry interval, call download with the same job_id, artifact_kind: "evidence-workbook", and the returned export_id. This checks that export and downloads only its workbook when ready, without fetching primary files again. Each call performs bounded work; there is no background client polling.

A timeout leaves the response outcome unknown. If preparation returned no export ID, reconcile it before explicitly preparing again. Failed, stale, inaccessible, and older-server exports are reported as incomplete; the client never regenerates an export during resume or invokes the legacy synchronous workbook endpoint. Review a stale/failed export before explicitly preparing a replacement. Export bytes stay out of model replies. Content type, length, and the server SHA-256 must agree before atomic, non-overwriting publication. The 50 MiB workbook download ceiling is separate from the configurable source-upload policy. Validation/optimization, Quick, diagram, and YAML/NCIR download contracts are unchanged. This workflow has synthetic contract coverage; live server/client qualification is pending.

Show a diagram in IDE chat

With the matching diagram-enabled server and bridge, use this prompt in your IDE:

For my selected completed NetConverter job, show its topology diagram here in chat. Call get_diagram, then pass the returned PNG artifact request unchanged to preview_diagram with that job_id. Use the current privacy view. Do not open a local file or fetch an image URL. If preview is refused, report the reason.

preview_diagram returns an MCP image content block (mimeType: image/png, base64 data) plus a text/structured receipt with SHA-256, byte count, dimensions and view. An IDE that renders MCP image content can display it inline; rendering in individual IDE clients still needs live qualification. The bridge fetches from the fixed, authenticated NetConverter endpoint, verifies the recipe's SHA-256, and saves no image file. It accepts PNG only, at most 2 MiB, 4096 pixels per side and 8 million pixels. Use download for larger diagrams or SVG/PDF/draw.io/JSON files.

Masked and selected levels force the server's strict projection; none refuses image previews. A stale hash or a hash from another privacy view is refused: request a fresh PNG recipe from get_diagram. Quick API credentials and development guided mode do not provide this preview tool's workflow. Automatic job summaries and ordinary downloads continue returning metadata only.

For a synthetic protocol check from the source checkout:

uv run pytest tests/test_diagrams.py -q

The preview test exchanges initialize/list/call messages over serialized stdio for all supported protocol versions, decodes the returned PNG, and checks hash, privacy, size and invalid-input refusals. For an IDE acceptance check, run the prompt above on a synthetic completed job and confirm an inline image, a matching receipt hash, and no local image-file read or arbitrary-URL request. Synthetic tests alone do not prove live server support or a client's inline rendering.

Stay current

netconverter update upgrades a PyPI install with uv tool upgrade netconverter-cli; a copy installed from a release wheel gets the latest wheel after its SHA-256 is checked (--check only reports). Interactive commands mention a new release at most once a day; set NETCONVERTER_NO_UPDATE_CHECK=1 to turn that off.

Boundaries

  • Configurations travel only from your workspace to NetConverter, over HTTPS. The bridge never returns configuration text to the AI; the server tokenizes addresses and removes credentials from every summary.
  • The client never pushes to a device. Outputs are files you review and load.
  • Downloads are hash-verified and never overwrite a file you changed.
  • An optional in-app model (/model: Anthropic, OpenAI, Gemini or local Ollama) only chooses among fixed operations; it never receives configurations or results.

Documentation

The client is licensed for use with your NetConverter account only and may not be redistributed (license); you accept it on first run (netconverter license). Versions up to 0.4.3 were MIT licensed. The license does not grant access to the hosted service or license the server code. macOS is the exercised platform; Windows acceptance remains pending.

Metadata

Release files for netconverter-cli 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netconverter-cli 0.8.1
File Size Uploaded Provenance Actions
netconverter_cli-0.8.1.tar.gz 412.7 kB With provenance Details for netconverter_cli-0.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netconverter-cli 0.8.1
File Interpreter ABI Platform Actions
netconverter_cli-0.8.1-py3-none-any.whl Python 3 none any Details for netconverter_cli-0.8.1-py3-none-any.whl

Total release size: 639.3 kB

Release files / netconverter_cli-0.8.1.tar.gz

Download URL netconverter_cli-0.8.1.tar.gz
Size 412.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a6b8ea4dac8a85667b2ca1930b1811d37dad43aaad42d252ee8366f9b9684292
BLAKE2b-256 checksum
How to use checksums
286e54817bb9b134970dec387ef31bb133be5f45f2ee43454fb1dc4ece9bfd3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / netconverter_cli-0.8.1-py3-none-any.whl

Download URL netconverter_cli-0.8.1-py3-none-any.whl
Size 226.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00fa31746b7981745103ea333b9291997e0b4336bbf9222e390164d6d267a15d
BLAKE2b-256 checksum
How to use checksums
6bf32d387933ce883a24e9c220a2dd293bffde4fd2ab5e8ddfaca86ba867be28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for netconverter-cli 0.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for netconverter_cli-0.8.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page