MCP Armor continuously secures and monitors Model Context Protocol operations through static and dynamic scans, revealing hidden risks in agent-to-tool communications.
# Add to your Claude Code skills
git clone https://github.com/aira-security/mcp-armormcp-armor is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by aira-security. MCP Armor continuously secures and monitors Model Context Protocol operations through static and dynamic scans, revealing hidden risks in agent-to-tool communications. It has 124 GitHub stars.
mcp-armor's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/aira-security/mcp-armor" and add it to your Claude Code skills directory (see the Installation section above).
mcp-armor is primarily written in Python. It is open-source under aira-security on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mcp-armor against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
MCP Armor is a comprehensive security scanner for Model Context Protocol (MCP). Automatically discovers, analyzes, and secures MCP servers integrated with all major Agentic IDEs, Agents and Clients.

pip install mcp-armor
# Scan all configurations with security analysis (auto-detects baseline.json if present)
mcp-armor scan
# Inspect configurations and generate baseline (defaults to baseline.json)
mcp-armor inspect
# Use custom configuration file
mcp-armor scan --config /path/to/config.json
# Scan multiple configuration files
mcp-armor scan \
--config /path/to/cursor.mcp.json \
--config /path/to/vscode.mcp.json
# Use custom baseline file path
mcp-armor inspect --baseline /path/to/my-baseline.json
mcp-armor scan --baseline /path/to/my-baseline.json
# Generate markdown report
mcp-armor scan --report-type md
# Save to custom file
mcp-armor scan --output my-report.json
mcp-armor scan --report-type md --output my-report.md
| Option | Description |
|---|---|
--config |
Custom configuration file path (can be used multiple times) |
--baseline |
Baseline file for drift detection (scan) or creation (inspect) |
--report-type {json,md} |
Output format (default: json) |
--output |
Custom output file path |
--verbose |
Detailed terminal output |
--show-logs |
Display debug logs in terminal |
Detects deviations from approved MCP components (requires a baseline generated via inspect mode):
Logs are automatically saved to logs/mcp_armor.log:
# Default: logs saved to file only
mcp-armor scan
# Show logs in terminal too
mcp-armor scan --show-logs
Test MCP Armor using our intentionally vulnerable MCP servers. For details, see the demo guide.
This open-source version covers static MCP configuration scanning. For teams that need deeper protection, Aira Security offers a full enterprise platform with:
| Capability | Open Source | Aira Platform |
|---|---|---|
| MCP config scanning | โ | โ |
| Prompt & command injection detection | โ | โ |
| Tool poisoning & shadowing checks | โ | โ |
| Hardcoded secrets detection | โ | โ |
| Runtime enforcement & blocking | โ | โ |
| Agent behavior policy enforcement (toxic flow analysis) | โ | โ |
| Skills scanner (agentic workflow & capability analysis) | โ | โ |
| Custom security policies | โ | โ |
| Aira dashboard (centralized visibility & alerting) | โ | โ |
| Complete Agentic Security (beyond MCP โ Agents, Workflows, and Skills) | โ | โ |
๐ See Aira in Action to experience the full platform.
Join our Slack - a space for developers and security engineers building together to secure AI agents.
Q: Is my source code ever shared, or does everything run locally?
MCP Armor runs entirely locally. Inspect and scan modes analyze your MCP configurations, detect MCP servers integrated with your agents, and evaluate them directly on your machine. Prompt injection checks use our open-source model Aira-security/FT-Llama-Prompt-Guard-2, downloaded from Hugging Face to your local environment, ensuring your data and code is never shared externally.
Distributed under the Apache 2.0 License. See LICENSE for more information.