mcpSafetyScanner

SecurityDocs and learning

MCPSafetyScanner - Automated MCP safety auditing and remediation using Agents. More info: https://www.arxiv.org/abs/2504.03767.

Your AI app calls the mcpSafetyScanner MCP server, which does the security and docs and learning work and sends the result back to the chat.

About mcpSafetyScanner

mcpSafetyScanner is a community MCP server from johnhalloran321, filed in our directory under security and docs and learning. MCPSafetyScanner - Automated MCP safety auditing and remediation using Agents. More info: https://www.arxiv.org/abs/2504.03767.

At a glance

Publisher
johnhalloran321 (community)
Runs
See the README for setup
Written in
Python
License
MPL-2.0
GitHub stars
178

How to set up mcpSafetyScanner

  1. Follow the install steps in the mcpSafetyScanner README; it is written in Python, so have that toolchain ready.
  2. Check the mcpSafetyScanner README for keys or settings; the registry lists none that mcpSafetyScanner requires.
  3. Add mcpSafetyScanner to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the mcpSafetyScanner tools to confirm the connection.
  5. Run one read-only task with mcpSafetyScanner first, and keep your app asking before each tool call until the results look right.

mcpSafetyScanner compared with similar servers

  • Geiger by Atomburstofficial has fewer GitHub stars than mcpSafetyScanner (174 against 178); both are community servers, and both run locally.
  • Jtsylve Re by jtsylve has more GitHub stars than mcpSafetyScanner (181 against 178); both are community servers, and both run locally.
  • Toolhive Studio by stacklok has fewer GitHub stars than mcpSafetyScanner (173 against 178); both are community servers, and both run locally.

Before you connect mcpSafetyScanner

  • Give mcpSafetyScanner its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each mcpSafetyScanner tool call until you trust what it does with them.
  • Treat text that mcpSafetyScanner fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for mcpSafetyScanner on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for mcpSafetyScanner

How marketing and sales teams put mcpSafetyScanner to work, by company size. Pick the size closest to yours and start mcpSafetyScanner on one use case.

Small business

  • A small business can use mcpSafetyScanner to check its domains, logins and site for common gaps before they cost a customer's trust.
  • Owners can ask mcpSafetyScanner whether a tool or vendor has known issues before connecting it to customer data.
  • A small business can use mcpSafetyScanner to keep help docs and how-tos current, answering customer questions before they become tickets.
  • mcpSafetyScanner runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can use mcpSafetyScanner to review what each connected app can access and remove keys nobody uses.
  • Security and web teams can connect mcpSafetyScanner to scan campaign sites and forms before launch, not after an incident.
  • Marketing teams can connect mcpSafetyScanner so agents write from current product docs, keeping launch copy accurate.
  • Start mcpSafetyScanner on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run mcpSafetyScanner in the security team's tooling, so marketing's agents and apps are reviewed like any other system.
  • Large orgs can use mcpSafetyScanner to keep evidence for audits, showing which agents reached which data and when.
  • Enterprises can serve approved docs through mcpSafetyScanner, so every agent answers from the same source of truth.
  • mcpSafetyScanner is a community server, so have security review the code and pin a version before mcpSafetyScanner touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

mcpSafetyScanner README

From johnhalloran321/mcpSafetyScanner on GitHub, shared under its MPL-2.0 license. Images are left out; the original has them.

README.md

MCPSafetyScanner

MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits
Brandon Radosevich*, John Halloran*
Paper: https://www.arxiv.org/abs/2504.03767

About

MCPSafetyScanner is a safety auditor for Model Contenxt Protocol (MCP) servers. Point it at your MCP server config file and the software will use multiple agents to audit your setup and produce a safety report. Developers can use this info to patch exploits and users can use this info to harden their system.

Claude Desktop Users can find their MCP server config files at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Installation

git clone https://github.com/johnhalloran321/mcpSafetyScanner
cd mcpSafetyScanner
python -m pip install -e .

Example use

An example MCP config is supplied in the examples of the repo. After updating the relevant directories and access credentials, you can perform a safety audit with the installed software by running:

export OPENAI_API_KEY="YOUR_API_KEY"
python3 mcpsafety/scanner/scan.py --config examples/example_config.json

The report would thus alert developers to screen for ~/.ssh/authorized_keys and *.pem files, while also placing direct guardrails around printing environment variables with sensitive information (e.g., api keys). The report would thus alert users to be cautious of providing paths containing .ssh/authorized_keys or *.pem files, and, alternatively, restrict user write permissions to such files.

Troubleshooting

The software requires python >= 3.11.

If using conda and npx is not installed, run

conda install conda-forge::nodejs

Citation

If you use this code in your research, please cite:

@article{radosevich2025mcp,
  title={MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits},
  author={Radosevich, Brandon and Halloran, John},
  journal={arXiv preprint arXiv:2504.03767},
  year={2025}
}

Questions about mcpSafetyScanner

What is the mcpSafetyScanner MCP server?

MCPSafetyScanner - Automated MCP safety auditing and remediation using Agents. More info: https://www.arxiv.org/abs/2504.03767. mcpSafetyScanner is maintained by johnhalloran321 on GitHub at johnhalloran321/mcpSafetyScanner, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the mcpSafetyScanner MCP server?

mcpSafetyScanner doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (johnhalloran321/mcpSafetyScanner). Like most servers, mcpSafetyScanner ends with a command or URL you paste into your AI app's MCP config.

Does mcpSafetyScanner need an API key?

The registry lists no required keys for mcpSafetyScanner. Check the mcpSafetyScanner README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is mcpSafetyScanner an official MCP server?

No. mcpSafetyScanner is a community server maintained by johnhalloran321. Community servers can be excellent; read the code and the open issues before you give mcpSafetyScanner access to company data.

What license is mcpSafetyScanner under?

mcpSafetyScanner is released under the MPL-2.0 license, according to its GitHub repository. The license covers the code of mcpSafetyScanner; the service it connects to has its own terms.