
MCPSonar watches the MCP servers your AI agents depend on, and tells you when they go down, get slower, or change their tools under you.
An MCP server can be up and still be dangerous. A tool description that changes after you approved it (a rug pull), or that hides instructions for the model (tool poisoning), goes unnoticed by ordinary uptime monitors. MCPSonar pins every tool definition, flags every change until a human reviews it, and lints the text of each tool for known poisoning patterns.

What it does
- Uptime and latency of HTTP, SSE and stdio MCP servers, with a learned baseline per server instead of fixed thresholds: spikes, sustained regressions, recoveries, flapping.
-
Rug-pull detection: every tool definition is fingerprinted; any change is shown as a diff and stays pending until reviewed.

- Tool-poisoning lint: documented heuristic rules, mapped to the OWASP MCP Top 10. A finding is something to review, not proof of an attack.
- CI gate:
mcpsonar scanand a GitHub Action fail a build on findings or on a changed lockfile, and write SARIF for GitHub code scanning. - Dashboard, CLI and REST API over one engine; Prometheus metrics; Uptime Kuma and webhook outputs.
- Secure by default: login and setup token, hashed sessions and API tokens, masked credentials, secret references, outbound connection policy, non-root container.
Try it
uvx mcpsonar demo
Needs only uv. The demo dashboard runs against four scripted local MCP servers: one gets rug-pulled, one gets slower, one flaps.
Scan a server once, as in CI:
uvx mcpsonar scan https://example.com/mcp
Documentation
- Quickstart: install, scan, monitor, review a rug pull and gate CI in ten minutes, all local.
- FAQ and troubleshooting.
- Demo: step-by-step scenarios for talks and articles, and a speaker guide.
- Command line: every command, local and remote mode, exit codes, completion.
- Configuration: servers, probes, secrets, backups, reverse proxy.
- Detection rules: what each lint rule looks for, its limits, its measured false positives.
- Engineering audit and threat model
- Product roadmap and comparison with other tools
Source code, issues and releases: github.com/alefra93/MCPSonar. MIT licensed.