Skip to main content
Glama
mcp-server-vulnwatch

mcp-server-vulnwatch

by anton-kulyk

mcp-server-vulnwatch

Model Context Protocol (MCP) server for VulnWatch — a read-mostly bridge that lets AI agents (Claude Code, Cursor, Codex, …) query the VulnWatch Public Developer API.

VulnWatch is a vulnerability scanning platform. This server is a thin client over its HTTPS API — the scanning engine and all data stay behind the API. No vulnerability data ever leaves the platform through this bridge.

The fastest way to use VulnWatch from any MCP client is the hosted remote server — no Python, no pip, no local process:

https://mcp.vulnwatch.tech/mcp

Authenticate with a VulnWatch API token (Dashboard → API tokens) as a bearer token. Full docs, copy-paste configs for Claude Desktop / Claude Code / Cursor / Windsurf and an FAQ live at vulnwatch.tech/mcp; machine-readable metadata is served at /.well-known/mcp/server.json (MCP Registry name: tech.vulnwatch/vulnwatch). The server is also published in the official MCP Registry, so registry-aware MCP clients and directories can discover and install it automatically.

Example client config (remote):

{
  "mcpServers": {
    "vulnwatch": {
      "type": "streamable_http",
      "url": "https://mcp.vulnwatch.tech/mcp",
      "headers": { "Authorization": "Bearer vw_YOUR_TOKEN" }
    }
  }
}

This repository remains the self-hosted Python bridge for the same tools — use it if you want to run the server locally (stdio) or inspect the code.

Related MCP server: mcp-security-server

Features

  • Read-mostly by design. Account quota, scan history, per-scan status and full JSON reports are available out of the box. Submitting a scan is a side-effecting action that is disabled by default (see Safety).

  • Ownership-isolated. Every call is authenticated with your dashboard personal access token. You only ever see your own scans.

  • Offline-safe. With no token configured the server refuses to touch the network and returns a clear error instead.

Tools

Tool

Auth

Description

vw_get_stats

read

Monthly quota (used/remaining), concurrency, totals, credits

vw_scan_history

read

Paginated list of your API scans; optional status filter

vw_scan_status

read

Status of one scan by check_uuid (in_progress/completed/failed)

vw_scan_report

read

Full JSON vulnerability report for a completed scan

vw_submit_scan

write

Start an async scan of a URL. Disabled unless opted in

Requirements

  • Python 3.10+

  • A VulnWatch account with an API token (Dashboard → API tokens).

Quick start

1. Install

# pip
pip install mcp-server-vulnwatch

# or from source
git clone https://github.com/anton-kulyk/mcp-server-vulnwatch.git
cd mcp-server-vulnwatch
pip install .

2. Configure the token

export VULNWATCH_API_TOKEN="vw_..."

3. Connect it to your client

Claude Code:

claude mcp add vulnwatch -- python -m vulnwatch_mcp

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "vulnwatch": {
      "command": "python",
      "args": ["-m", "vulnwatch_mcp"],
      "env": { "VULNWATCH_API_TOKEN": "vw_..." }
    }
  }
}

Cursor — Settings → MCP → Add server (command mode):

{
  "command": "python",
  "args": ["-m", "vulnwatch_mcp"],
  "env": { "VULNWATCH_API_TOKEN": "vw_..." }
}

Configuration

All configuration is via environment variables:

Variable

Required

Default

Notes

VULNWATCH_API_TOKEN

yes

—

Your dashboard PAT

VULNWATCH_API_BASE

no

https://app.vulnwatch.tech/api

Override API root (self-host/staging)

VULNWATCH_MCP_ALLOW_SCAN

no

0

Set to 1 to enable vw_submit_scan

Safety

vw_submit_scan launches asynchronous scans of arbitrary URLs. To prevent a prompt-injected agent from triggering scans without your knowledge, it is a confused-deputy guard: the tool is off unless you explicitly start the server with VULNWATCH_MCP_ALLOW_SCAN=1, and the token is always passed via the environment at server start — never per-call and never read from prompts.

# opt in to scans only if you really want them
VULNWATCH_MCP_ALLOW_SCAN=1 python -m vulnwatch_mcp

Development

pip install -e ".[dev]"
pytest            # offline unit + stdio transport tests

No API token is required to run the test suite — network is mocked and the auth/confused-deputy gates are asserted directly.

Example output

Real output from a live account (trimmed). vw_get_stats:

{
  "success": true,
  "data": {
    "free_monthly_allowance": { "limit": 10, "used": 2, "remaining": 8 },
    "concurrency": { "max_in_progress": 1, "in_progress": 0 },
    "totals": { "completed": 2, "failed": 0, "in_progress": 0 },
    "credits_left": 5319
  }
}

vw_scan_report returns a full vulnerability report keyed by score, scan_highlights (severity/source breakdown, SSL, performance), fingerprint (CMS/version/theme/plugins), cve_summary, and all_findings — a list of findings each carrying severity, owasp, cwe, cve, risk_score, recommendations and references. Shape (trimmed):

{
  "success": true,
  "data": {
    "score": 90,
    "scan_type_label": "Standard Scan",
    "fingerprint": { "cms": "wordpress", "cms_ver": "6.9.4" },
    "scan_highlights": {
      "issues_by_severity": { "critical": 1, "high": 33, "medium": 7, "low": 8 }
    },
    "all_findings": [
      { "title": "Webshell Detection", "severity": "critical",
        "owasp": "...", "cwe": "...", "recommendations": "..." }
    ]
  }
}

vw_submit_scan returns the new scan's uuid; poll it with vw_scan_status (progress + per-step scan_steps) and fetch the finished report with vw_scan_report.

Part of the VulnWatch ecosystem

License

MIT

Available Tools

5 tools
vw_get_statsVw Get StatsBInspect

Account usage: free monthly allowance (used/remaining), concurrency, totals (completed/failed/in_progress), and credits left.

Inputs: no named parameters. Returns: object

vw_scan_historyVw Scan HistoryBInspect

Paginated list of the account's own API scans (newest first). status: 'completed' | 'failed' | 'in_progress' (optional filter).

Inputs: page, status, per_page. Returns: object

vw_scan_reportVw Scan ReportAInspect

Full JSON vulnerability report for a completed scan. 409 until the scan completes; ownership-isolated (foreign uuid → 404).

Inputs: check_uuid (required). Returns: object

vw_scan_statusVw Scan StatusAInspect

Status of one scan by its check_uuid (ownership-isolated; another account's uuid → 404). Reflects in_progress/completed/failed.

Inputs: check_uuid (required). Returns: object

vw_submit_scanVw Submit ScanAInspect

Start an asynchronous scan of a URL and return its check_uuid. Consumes the free monthly allowance, else one credit. Concurrency capped at 1. ONLY ENABLED when the server runs with VULNWATCH_MCP_ALLOW_SCAN=1; otherwise raises a clear error.

Inputs: url (required), tools, scan_type, ai_analyst. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool targets a distinct concern: account stats, scan listing, single-scan status, full report, and scan submission. There is minor surface overlap between vw_scan_history and vw_scan_status (both expose status), but descriptions clearly differentiate list-vs-single and status-vs-full-report.

    Naming Consistency4/5

    All tools share a consistent vw_ snake_case prefix, which is predictable and readable. However, the verb usage is mixed: get_stats/submit_scan are verb_noun while scan_history/scan_status/scan_report are noun-style, a minor deviation from a single pattern.

    Tool Count5/5

    Five tools is well-scoped for a vulnerability-scanning service, mapping cleanly onto the natural workflow (stats, submit, history, status, report). Each tool earns its place with no redundancy.

    Completeness4/5

    The core lifecycle—submit a scan, check status, fetch the report, list history, view quota—is fully covered. Minor gaps exist (no cancel/delete scan operation), but agents can work around these for the primary flow.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides AI agents with standardized security scanning capabilities for authorized assessments, including host detection, port scanning, service fingerprinting, web vulnerability scanning, CVE verification, and report generation, all with unified JSON output and strict compliance controls.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to scan directories, container images, and SBOMs for vulnerabilities, look up individual CVEs, and refresh the local vulnerability database. Findings come back prioritized with concrete upgrade targets rather than raw scanner output.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to run authorized, OWASP Top 10-mapped web-security recon scans against a single target, list available check modules, and inspect optional scanner engine availability, returning severity-ranked findings and explicitly noting checks that found nothing.
      1
      MIT