@watchdog-sec/mcp
v1.0.2
Published
watchdog's MCP server: query the published Threat feed and Scan a repo's dependencies from a coding agent.
Maintainers
Readme
@watchdog-sec/mcp
An MCP server for watchdog, the free feed of critical, exploited vulnerabilities (Threats) merged from many Sources three times a day. A coding agent can look up a Threat, search the feed, and Scan a repo's dependency files for what to upgrade, Exploited first. In Claude Desktop, VS Code and Cursor, the Scan and the Threat detail also show as interactive views.
It runs on your machine over stdio, reads only watchdog's published JSON (from https://tinesoft.github.io/watchdog/data/), and stores nothing.
You can point the server at your own deployment with
WATCHDOG_FEED_URLenv variable, the absolute URL of itsdata/folder.For example,
claude mcp add --scope user --env WATCHDOG_FEED_URL=https://<your.deployed.watchdog.URL>/data/ --transport stdio watchdog -- npx -y @watchdog-sec/mcp.
📦 Installation
Every coding agent below launches the same local server with npx -y @watchdog-sec/mcp (Node 22 or later). Pass your Stack terms on each call (stack), because it can't see the web app's browser-held state.
claude mcp add --scope user watchdog -- npx -y @watchdog-sec/mcpIn claude_desktop_config.json (Settings → Developer → Edit Config; ~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows), then restart it:
{
"mcpServers": {
"watchdog": { "command": "npx", "args": ["-y", "@watchdog-sec/mcp"] }
}
}Claude Desktop doesn't start the server in your project folder, so ask it to Scan absolute paths, or paste the file's contents.
Run codex mcp add watchdog -- npx -y @watchdog-sec/mcp, or in ~/.codex/config.toml:
[mcp_servers.watchdog]
command = "npx"
args = ["-y", "@watchdog-sec/mcp"]Run copilot mcp add watchdog -- npx -y @watchdog-sec/mcp, or in ~/.copilot/mcp-config.json:
{
"mcpServers": {
"watchdog": {
"type": "local",
"command": "npx",
"args": ["-y", "@watchdog-sec/mcp"],
"tools": ["*"]
}
}
}Install in VS Code, or in .vscode/mcp.json:
{
"servers": {
"watchdog": { "type": "stdio", "command": "npx", "args": ["-y", "@watchdog-sec/mcp"] }
}
}Run opencode mcp add watchdog -- npx -y @watchdog-sec/mcp, or in opencode.jsonc:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"watchdog": { "type": "local", "command": ["npx", "-y", "@watchdog-sec/mcp"] },
},
},
}Open cursor://anysphere.cursor-deeplink/mcp/install?name=watchdog&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB3YXRjaGRvZy1zZWMvbWNwIl19 in a browser, or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"watchdog": { "type": "stdio", "command": "npx", "args": ["-y", "@watchdog-sec/mcp"] }
}
}Any other agent that runs stdio MCP servers: the command npx with the arguments -y @watchdog-sec/mcp.
🧰 Tools
All four are read-only. Each answer says how fresh it is: collectedAt (when the Sweep behind it ran), stale (the last refresh failed, so this is the last good copy), overdue (the last two scheduled Sweeps didn't run) and sample (seed data, before the first Sweep).
| Tool | What it answers | Inputs |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| get_threat | One Threat: severity, CVSS, Exploited and the KEV required action, what is affected, fix commands, Advisories and Field reports | id (a CVE or alias), stack |
| search_threats | The feed, filtered and in Risk order: Exploited first, then Mine, then CVSS. Pages of up to 100 | query, package, ecosystem, category, severity, exploited, mine, publishedSince, stack, limit, offset |
| scan_dependencies | A fix plan: each vulnerable dependency, the version to upgrade to (the lowest fix on its major) and the command, in Risk order | paths or inline contents, checkOsv |
| sweep_status | When the last Sweep ran, when the next is due, and which Sources failed | none |
scan_dependencies reads package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lock, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, go.mod, Cargo.lock, Gemfile.lock, composer.lock, pom.xml, gradle.lockfile, packages.lock.json and *.csproj, and CycloneDX or SPDX 2.x JSON SBOMs named bom.json, sbom.json, *.cdx.json, *.spdx.json or *.sbom.json, and skips any other file unread. SBOM components outside the eight supported ecosystems are counted as not checked, by reason. checkOsv also asks OSV.dev about every dependency, which sends package names, ecosystems and versions to api.osv.dev. It's off by default.
stack is your list of products and packages. Pass it to rank and mark the Threats that are Mine; the server keeps nothing between calls.
💬 Prompts
check_repo (optional path, default .): Scan this repo's dependency files and report what to upgrade, Exploited first.
🖼️ App views
In hosts with MCP Apps support (Claude Desktop, VS Code and Cursor), two tools also show an interactive view in the chat. Other hosts get the same answer as text. The views follow the host's dark or light theme, and nothing in them changes state.
Threat detail
Shown by get_threat.
- Severity, CVSS, the Exploited marker with its KEV required action, and the summary.
- How to fix: the package, what is affected and what fixes it, then one command for each release line that has a fix, each with Copy.
- Sources: the Advisories and Field reports that cover it.
- Open on watchdog and Copy link.
Scan results
Shown by scan_dependencies.
- A numbered fix plan in Risk order, headed "N upgrades fix M Threats, K Exploited". Exploited steps are drawn in red.
- Each step: its command with Copy,
name version → target, the file it came from, and a chip for each Threat. - A chip opens that Threat's detail in place; Back to Scan results returns to where you were. A step with no known fix links to its Advisories the same way.
- Copy all for each ecosystem with more than one step, such as Copy all npm commands.
- The files scanned and skipped, what only OSV.dev knows (with
checkOsv), and banners when the data is stale, overdue or sample.
🧪 Testing
Run pnpm nx inspect mcp to build the server and test it in the MCP Inspector.
📄 License
MIT. Source: https://github.com/tinesoft/watchdog
