Local-First Tooling

Run Veldica in Your Terminal or Agent

Every analyzer in Veldica Workbench runs locally outside the browser through the Node CLI and the JSON-RPC 2.0 stdio MCP server—using the exact same ESM modules and worker-thread isolation.

Node CLI (tools/veldica.mjs)

List every available analyzer ID, or pipe any config, log excerpt, or CIDR block via stdin (pass - as the input argument) or from a file:

# List all 78 analyzer IDs
node tools/veldica.mjs --list

# Pipe an IPv4 CIDR block
printf '192.0.2.10/31' | node tools/veldica.mjs ipv4-subnet-calculator -

# Audit an Nginx server block from a file
node tools/veldica.mjs nginx-server-block-auditor /etc/nginx/sites-enabled/default

Example JSON Output

{
  "tool": "ipv4-subnet-calculator",
  "findings": [
    {
      "rule_id": "CIDR-INPUT",
      "status": "pass",
      "summary": "IPv4 CIDR block calculated",
      "evidence": {
        "network": "192.0.2.10/31",
        "usable_hosts": 2
      }
    }
  ]
}

stdio MCP Server (tools/veldica-mcp.mjs)

tools/veldica-mcp.mjs exposes every analyzer in src/config/workbench.json as a callable MCP tool over newline-delimited JSON-RPC 2.0 (initialize, tools/list, tools/call).

Add it to your MCP client configuration (Claude Code, Cursor, Antigravity, or Codex):

{
  "mcpServers": {
    "veldica-workbench": {
      "command": "node",
      "args": ["/path/to/veldica-site/tools/veldica-mcp.mjs"]
    }
  }
}

Verdict & Finding Contract

Every analyzer returns findings conforming to a shared schema:

  • status: pass, info, warning, fail, or insufficient_evidence (returned explicitly when an excerpt omits required fields).
  • remediation & references: Every warning and fail finding includes actionable fix guidance and canonical RFC, man-page, or vendor documentation links.
  • limitations: Explicit scope boundaries stating what static/offline evidence can and cannot prove.
Zero Network Needed
Local Worker Isolation

Both tools/veldica.mjs and tools/veldica-mcp.mjs execute analyzers inside isolated Node worker threads with bounded input limits.

Identical Output
Parity Verified by CI

workbench-surface.test.mjs asserts byte-for-byte identical findings across the browser registry, CLI stdout, and MCP tool calls.

Agent Ready
MCP Protocol 2025-11-25

Expose all deterministic parsers, subnet math, Nginx audits, and log analyzers directly to Claude Code, Cursor, Codex, or Antigravity.