URL: /cli/mcp

---
title: "mcp"
description: "Run the local MCP server so agents can drive squirrelscan"
---

The `mcp` command starts a local [Model Context Protocol](https://modelcontextprotocol.io) server over stdio. Agents like Claude Code and Cursor launch it to call squirrelscan's audit engine and cloud features as tools.

## Usage

```bash
squirrel mcp
```

The server runs in the foreground and speaks JSON-RPC on stdin/stdout. You rarely run it directly — your agent spawns it from its MCP config. See the [MCP Server guide](/developers/mcp) for connect instructions.

## Tools

| Tool | Auth | Description |
|------|------|-------------|
| `audit_website` | None | Full deterministic audit of a URL; cloud enrichment added when logged in. |
| `quick_check` | None | Fast, local-only single-pass health check of one URL. |
| `list_rules` | None | List all built-in audit rules. |
| `get_rule` | None | Full definition of one rule by id. |
| `list_audits` | Login | Your org's running/pending audits. |
| `get_report` | Login | Fetch a published report by audit id. |
| `list_issues` | Login | Supplant-aware issue state for a website. |
| `get_issue` | Login | A single issue by website + number. |
| `comment_on_issue` | Login | Comment on an audit issue. |

## Quick start with Claude Code

```bash
claude mcp add squirrelscan -- squirrel mcp
```

## Related

- [MCP Server](/developers/mcp) — full connect guide for Claude Code, Cursor, and other clients
- [Using with Agents](/agents) — skills-based integration
