# Security Watch

> Security Watch is an open-source MCP server for security. Watches your dependencies for newly reported vulnerabilities and malicious packages. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, API
- **Repository:** https://github.com/shieldaai/security-watch
- **MCP Registry name:** io.github.ShieldaAI/security-watch
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-27

## About

Security Watch gives a developer or an AI coding assistant a way to check a project's packages against OSV advisories and the CISA known-exploited catalog. Its MCP server exposes the checks as tools that an agent can run before adding a dependency or before handing back a change, and it can write a CycloneDX SBOM for the project as well.

The server runs locally over stdio using the npm package or a signed container image. When it is started with a monitor configuration file, it also adds a tool that lists findings from a continuous watch, so an agent can read results collected over time rather than only one-off checks.

It suits engineers who want dependency security answers inside their coding workflow, and teams that want an agent to flag risky library changes during review.

## Features

- **Package and project checks:** Checks a project's dependencies or a single package version against known vulnerabilities.
- **Known-exploited flagging:** Marks findings that appear in the CISA known-exploited vulnerabilities catalog.
- **Malicious package records:** Includes OSV records that report malicious packages.
- **SBOM writing:** Writes a CycloneDX software bill of materials for a project.
- **Local stdio transport:** Runs as a local process that AI clients connect to over stdio.
- **Optional watch findings tool:** With a monitor configuration file, adds a tool that lists collected findings.

## Good for

- Check a package for known vulnerabilities before an AI agent adds it to a project
- Verify that a dependency change in a branch does not introduce risky packages
- Generate an SBOM for a project from inside a coding assistant
- Look up a specific advisory identifier and see which packages it affects
- Review findings from a continuous watch within an agent session

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add security-watch -- npx -y @shieldaai/security-watch
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add security-watch -- npx -y @shieldaai/security-watch
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.security-watch]
command = "npx"
args = ["-y", "@shieldaai/security-watch"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user security-watch npx -- -y @shieldaai/security-watch

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 1 tool only read data. From the server's own tool labels and tool names; not verified by us.

- `list_watch_findings` (name suggests: reads): Lists findings from a Security Watch monitor, available when SECURITY_WATCH_CONFIG is set.

## FAQ

### How is the server installed?

It is available as the npm package @shieldaai/security-watch version 1.4.1 and as the container image ghcr.io/shieldaai/security-watch:1.4.1.

### What transport does Security Watch use?

It uses stdio.

### How do I enable the watch findings tool?

Set the SECURITY_WATCH_CONFIG environment variable to the path of a Security Watch monitor configuration file.

### Is Security Watch free?

Yes. Security Watch is open source, so you can use and self-host it for free.

### How do I add Security Watch to Claude Code?

Run this command in your terminal: claude mcp add security-watch -- npx -y @shieldaai/security-watch

### What are the best alternatives to Security Watch?

The closest alternatives to Security Watch are SBOM Dependency CVE & US CISA Known Exploited Vulnerability MCP, OSV Open Source Dependency CVE Scanner MCP Server, Dependency Auditor, Package Risk Radar and Dependency Auditor.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [SBOM Dependency CVE & US CISA Known Exploited Vulnerability MCP](https://ai-powered.com/mcp/sbom-dependency-cve-and-us-cisa-known-exploited-vulnerabilit): SBOM Dependency CVE & US CISA Known Exploited Vulnerability MCP is a freemium MCP server for security.
- [OSV Open Source Dependency CVE Scanner MCP Server](https://ai-powered.com/mcp/osv-open-source-dependency-cve-scanner-mcp-server): OSV Open Source Dependency CVE Scanner MCP Server is a paid MCP server for security.
- [Dependency Auditor](https://ai-powered.com/mcp/dependency-auditor): Dependency Auditor is an open-source MCP server for security.
- [Package Risk Radar](https://ai-powered.com/mcp/package-risk-radar): Package Risk Radar is a paid MCP server for security.
- [Dependency Auditor](https://ai-powered.com/mcp/dependency-auditor-2): Dependency Auditor is an open-source MCP server for security.
- [maplewatch](https://ai-powered.com/mcp/maplewatch): maplewatch is an open-source MCP server for security.
- [Dependency Risk Audit](https://ai-powered.com/mcp/dependency-risk-audit): Dependency Risk Audit is a freemium MCP server for developer tools.
- [VulnWatch](https://ai-powered.com/mcp/vulnwatch): VulnWatch is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/security-watch
