Astrixion Docs
SonarInterfacesSonar MCP

Sonar MCP tool reference

Reference Sonar MCP tools by the capability they expose.

This reference groups registered tools by the Sonar capability they expose. The active profile may show only a subset; profile filtering and backend policy both apply.

First-use sequence

When the program ID is unknown:

list_programs { search }
        │ choose programId

get_target_overview { programId }
        │ inspect scopes and counts

list_domains / list_ports / list_http_paths / ...

If a trusted caller already has the program ID, begin at get_target_overview. Do not begin with an unbounded asset crawl or a scan launch.

Inventory reads

ToolPurpose
list_programsDiscover programs by search and filters. This is the discovery entry point.
get_programFetch one known program.
get_target_overviewFetch program, scopes, and per-asset-type counts before drilling in.
list_scopesPage through a program's scopes.
list_domainsPage through domains.
list_ip_addressesPage through IP addresses.
list_portsPage through ports for a target or IP.
list_http_pathsPage through HTTP paths, status, length, and discovery source.
list_technologiesPage through detected technologies.
get_http_path_technologiesFetch technology bindings for one HTTP path.
get_port_technologiesFetch technology bindings for one port.
list_mobilesPage through mobile application assets.
list_wildcardsPage through wildcard scope assets.
list_cidrsPage through CIDR scope assets.

Paged list tools support their declared target and pagination filters. Use counts from the overview to choose what to read; do not request every asset type reflexively.

Workflow and scan reads

ToolPurpose
list_workflowsFind current workflow versions; filter by category when selecting recon.
get_workflowInspect one workflow's category, parameters, graph, routing, and outputs.
export_workflowRead its complete authoring document.
list_scansList scans available to the service identity.
get_scanRead one scan's status and progress.
get_scan_tasks_statisticsRead per-step task counts and recent errors.
list_scan_resultsPage a compatible manifest-backed scan's frozen result revision.

Simple scans launched by the public create_scan flow refresh Inventory; read their useful effects through the Inventory tools after completion. list_scan_results is not a substitute for that refreshed-Inventory path.

Recon execution

create_scan starts one workflow version. Its strict arguments are:

ArgumentRequiredMeaning
workflowDefinitionIdYesCurrent workflow version ID from list_workflows or get_workflow.
parametersNoDeclared workflow parameter values. Omitted values use workflow defaults.
trackResultsNoRecord task-to-asset provenance; defaults on for parameter-targeted scans.
delaySecondsNoNon-negative pacing delay before task dispatch.

There is no per-scan secret argument. Steps receive current operator-managed global secrets at dispatch.

For the public pentest profile, select category AI, pass parameters: { program: "<program UUID>" }, and call exactly once. The simple create boundary is not idempotent; if the client loses the response, do not automatically retry.

Structural authoring

validate_workflow validates one complete workflow document against structural, graph, query, routing, timeout, and policy rules. It does not persist or execute the document. It is the only author-tier tool on the astrix-author MCP surface.

Asset synchronization

ToolPurpose
get_asset_schemasFetch live accepted fields and examples for writable asset tables.
upsert_assetsIdempotently ingest approved discovered assets into Inventory.

These tools are exposed by sync and admin, not pentest. Programs and scopes cannot be created through external asset synchronization. Follow Inventory acquisition rules for parent-before-child writes.

Administrative inspection

The following read-tier tools are registered but excluded from non-admin explicit allow-lists:

  • list_workers and list_github_accounts;
  • get_ai_resolve_status and list_ai_resolve_runs;
  • list_needs_review_items; and
  • get_program_resolution.

They are operational or resolution-management views, not general target reads.

Administrative actions

The admin profile additionally exposes:

  • scan control: stop_scan, delete_scan;
  • workflow control: delete_workflow;
  • worker provisioning: create_worker;
  • resolution control: trigger_ai_resolve, approve_resolve_item, decline_resolve_item; and
  • scope-change inspection: list_scope_changes.

These actions remain subject to Sonar API authorization and validation. A tool being present does not bypass backend policy.

On this page