navi-mcp

v1.1.0
navi-mcp Checked 20 hours ago Published 2 months ago

MCP server wrapping the Tenable navi CLI for Vulnerability Management and Exposure Management workflows.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

navi_config_update

Refresh one slice of the local navi.db from the Tenable platform. kind: assets — asset inventory vulns — vulnerability findings agents — required before any agent-group tagging compliance — compliance check results (only if you scan for them) route — vuln routing table (vulns grouped by technology) paths — vuln paths table (vuln -> filesystem/URL path) was — Web Application Scanning: apps + findings tables fixed — fixed-vuln data for SLA processing (needed by export fail…

ParameterTypeDescription
kind *string
category
days
exid
operator
plugin_id
severity
since
size
state
threads
updated_at
value
vpr_score

navi_config_rebuild

DESTRUCTIVE. Run `navi config update <kind> -rebuild`: DROP the local table, re-create it empty, then download into it. This is a separate tool from navi_config_update precisely so the destructive annotation is honest — navi_config_update never drops anything, this always does. It requires NAVI_MCP_ALLOW_WRITES=1 and confirm=True. WHAT IS DESTROYED — the local navi.db table only: assets — every asset record you have cached vulns — every finding record you have cached NOTHING in Tenable Vulnerability Management is changed or deleted. What is…

ParameterTypeDescription
kind *string
category
confirmboolean
days
exid
operator
plugin_id
severity
since
state
threads
updated_at
value
vpr_score

navi_config

Run a non-update `navi config` command. kind: software — parse software plugins (22869, 20811, 83991) into the software table. Populates navi.db only (not write-gated). certificates — parse plugin 10863 into the certs table. Populates navi.db only (not write-gated). This is the correct cert command — it is NOT `config update certificates`. sla — runs `config sla calculate` (computes SLA times from the `fixed` data; run navi_config_update(kind='fixed') first).…

ParameterTypeDescription
kind *string
confirmboolean
url

navi_explore_query

Run a SQL query against navi.db. Reads (SELECT / WITH) are the default and need no confirmation. Call freely. Writes (CREATE INDEX, UPDATE, DELETE, DDL) work but require confirm=True. These modify navi.db ONLY — no Tenable platform interaction — so they do NOT require NAVI_MCP_ALLOW_WRITES=1; confirm alone is the write signal. Run one statement per call (multi-statement writes execute only the first). limit caps rows on reads (default 500); no effect on writes. Always banned (even with confirm): ATTACH DATABASE and PRAGMA journal_mode, which can cor…

ParameterTypeDescription
sql *string
confirmboolean
limitinteger

navi_explore_data

Run a `navi explore data` subcommand. Reads navi.db — no API calls. Subcommand -> required arg (most are POSITIONAL in navi, not flags): cve cve (CVE-ID) exploit (none) all exploitable assets name name plugin name contains text output output plugin output contains text xrefs xref_type e.g. "CISA"; optional xref_id docker (none) Docker hosts (plugin 93561) webapp (none) potential web apps creds (none) credential failures (plugin 104410) scantime min…

ParameterTypeDescription
subcommand *string
asset
cve
minutes
name
output
plugin_id
port
regexpboolean
table
xref_id
xref_type

navi_explore_info

Run a `navi explore info` subcommand. Reads LIVE from the Tenable API — reflects current platform state, not navi.db. Use for IDs (scanners/scans/policies/credentials/categories/target_groups), live state (running/status/sla/logs/auth), access inventories (users/user_groups/permissions), platform inventories, and version. Underscored values map to hyphenated navi subcommands (agent_groups -> agent-groups, etc.) — the MCP schema prefers underscores.

ParameterTypeDescription
subcommand *string

navi_explore_api

Raw Tenable API passthrough via `navi explore api`. For endpoints navi has no dedicated command for — most importantly EXPORT STATUS POLLING: navi_explore_api(url="/vulns/export/<UUID>/status") navi_explore_api(url="/assets/export/<UUID>/status") This is the async escape hatch for large exports: navi_export blocks on the full run and can hit the ~4-min call ceiling, so start the export, then poll status here until it's FINISHED before downloading. method: GET — read; no confirmation needed. POST / PUT — WRITE to the Tenabl…

ParameterTypeDescription
url *string
confirmboolean
limit
methodstring
offset
payload
rawboolean

navi_enrich_tag

Create a tag in Tenable VM via `navi enrich tag`. WRITE against a production tenant. Requires NAVI_MCP_ALLOW_WRITES=1 and confirm=True after narrating intent. Pass exactly ONE primary selector: plugin / plugin_output / plugin_regexp / plugin_name — by vuln content cve / cpe / xrefs (+xid) — by identifier port / route_id — by exposure / route file / manual / group / byadgroup / missed — by asset identity scanid (+histid) / scantime — by scan data query — raw SELECT returning asset_uuid by_tag / by_val / by_cat — derive f…

ParameterTypeDescription
category *string
value *string
by_cat
by_tag
by_val
byadgroup
confirmboolean
cpe
cve
description
file
group
histid
manual
missed
parent_category
parent_value
plugin
plugin_name
plugin_output
plugin_regexp
port
query
regexpboolean
removeboolean
require_bothboolean
route_id
scanid
scantime
toneboolean
xid
xrefs

navi_enrich_acr

Set Asset Criticality Rating (ACR) for all assets carrying a tag. ACR (1–10) is what Tenable One multiplies against severity to produce AES. category/value — the tag whose assets get adjusted score — 1–10; meaning depends on mod mod — "set" (absolute, default), "inc" (add), "dec" (subtract) note — optional audit text business/compliance/mitigation/development — Change Reasons; at least one is required (Tenable One mandates a reason on every ACR change). Suggested mapping for mod="set": 10 Prod+PII (business+compliance), 9 Internet-fac…

ParameterTypeDescription
category *string
score *integer
value *string
businessboolean
complianceboolean
confirmboolean
developmentboolean
mitigationboolean
modstring
note

navi_enrich_add

Add assets to Tenable VM from external sources (CMDB, AWS, OT/IoT). Single asset: pass `ip`, optionally hostname/fqdn/mac/netbios. Bulk import: pass `list_csv` (CSV in order: IP, MAC, FQDN, Hostname) and `source` (e.g. "CMDB", "AWS"). WRITE. Requires NAVI_MCP_ALLOW_WRITES=1 and confirm=True.

ParameterTypeDescription
confirmboolean
fqdn
hostname
ip
list_csv
mac
netbios
source

navi_export

Run a `navi export *` subcommand. Writes a CSV to NAVI_WORKDIR and returns the path + row count so Claude can surface it. Subcommand -> required params: assets/licensed/vulns/failures/compliance/agents/users/policy/parsed/compare — none bytag category + value (ONLY export with ACR + AES) network network route route_id group group_name query sql (custom SELECT — no ACR/AES; use bytag) Response: csv_path, csv_bytes, csv_rows, csv_header, csv_preview (up to 5 rows — a PREVIEW, not the ful…

ParameterTypeDescription
subcommand *string
category
group_name
network
route_id
sql
value

navi_scan

Control and inspect Tenable scans. READ (no gate): status — run status for scan_id details — configuration detail for scan_id history — run history for scan_id hosts — hosts in scan_id latest — latest scan results (no scan_id) evaluate — scan-time performance. No args = averages across scanners/ schedules/policies. scan_id = one scan; + histid = a specific run; full=True = entire available history. WRITE (NAVI_MCP_ALLOW_WRITES=1 + confirm=True): create — new scan; requir…

ParameterTypeDescription
subcommand *string
confirmboolean
credential_uuid
fullboolean
histid
plugin
policy_id
scan_id
scanner_id
targets

navi_was

Tenable Web Application Scanning (DAST). Requires a WAS license. READ: configs (none) · scans (config_id) · details (scan_id) · stats (none) · export (none) WRITE: scan (target URL) · start (config_id) · upload (file) — require NAVI_MCP_ALLOW_WRITES=1 + confirm=True. Drill-down: configs -> scans(config_id) -> details(scan_id). Prerequisite for local-data queries: navi_config_update('was'). (All identifiers below are POSITIONAL in navi.)

ParameterTypeDescription
subcommand *string
config_id
confirmboolean
file
scan_id
target

navi_action_delete

Delete objects from Tenable VM. IRREVERSIBLE for most kinds. kind -> required params: tag category + value bytag tag_string ("category:value") — deletes ASSETS matching the tag asset object_id (Asset UUID) scan object_id (Scan ID) user user_id (numeric User ID — NOT UUID, NOT email) tgroup object_id (target-group ID) usergroup object_id (user-group ID) tone category + value (TONE tag; case-sensitive). remove=True removes assets from the tag instead of deleting the tag. Th…

ParameterTypeDescription
kind *string
category
confirmboolean
object_id
removeboolean
tag_string
user_id
value

navi_action_rotate

Rotate a user's API keys in Tenable VM. The old keys stop working immediately — anything using them (automations, other navi workloads) fails until updated. WRITE; requires NAVI_MCP_ALLOW_WRITES=1 and confirm=True.

ParameterTypeDescription
username *string
confirmboolean

navi_action_cancel

Cancel a running Tenable export by its export UUID. kind='assets' cancels an asset export (-a); kind='vulns' a vuln export (-v). `uuid` is REQUIRED — the export UUID to cancel (find it via navi_explore_info(subcommand='exports') or navi_explore_api status polling). WRITE; requires NAVI_MCP_ALLOW_WRITES=1 and confirm=True.

ParameterTypeDescription
kind *string
uuid *string
confirmboolean

navi_action_encrypt

Encrypt a local file via `navi action encrypt`. Produces <file>.enc. Local-filesystem only — no API calls. `file` is absolute or relative to NAVI_WORKDIR.

ParameterTypeDescription
file *string

navi_action_decrypt

Decrypt a local .enc file via `navi action decrypt`. Local-filesystem only. `file` is absolute or relative to NAVI_WORKDIR.

ParameterTypeDescription
file *string

navi_action_mail

Send an email via `navi action mail`, optionally attaching a file. DOUBLE-GATED: requires NAVI_MCP_ALLOW_WRITES=1 AND NAVI_EMAIL=1 on the server, plus confirm=True after you narrate the recipient/subject/attachment to the user. Email delivery uses the SMTP settings configured out-of-band via `navi config smtp` (not exposed here). Args: to Recipient email address (REQUIRED — always passed so navi never drops into its interactive prompt, which would hang under MCP). subject Email subject. navi appends " - Emailed by navi". Always pas…

ParameterTypeDescription
to *string
confirmboolean
file
messagestring
subjectstring

navi_action_push

Run a shell command on — or push a file to — a single Linux host via `navi action push` (SSH). This is REMOTE CODE EXECUTION. DOUBLE-GATED: requires NAVI_MCP_ALLOW_WRITES=1 AND NAVI_REMOTE_CODE_EXECUTION=1 on the server, plus confirm=True after you spell out the exact target and command to the user. SSH credentials come from `navi config ssh`, set out-of-band. Args: target Target host IP (REQUIRED). push hits ONE host — there is no --tag. To run across a tagged group, enumerate the tag's asset IPs and call this tool onc…

ParameterTypeDescription
target *string
command
confirmboolean
file