Armis Security Scanner
AI-powered security scanning. Scans code, files, and git diffs for vulnerabilities in real-time using the Armis scanning API.
Armis AppSec MCP Plugin
AI-powered security scanning for Claude Code. Scans code, files, and git diffs for vulnerabilities in real-time using the Armis scanning API.
Features
scan_code— Scan a code snippet for vulnerabilitiesscan_file— Scan a file on diskscan_diff— Scan git changes (staged, unstaged, or diff against a branch)- Commit gate — Automatically blocks
git commit,git push, andgh pr createuntil code is scanned /security-scan— On-demand scanning via slash command
Installation
1. Add the marketplace
In Claude Code:
/plugin marketplace add ArmisSecurity/armis-appsec-mcp
2. Install the plugin
/plugin install armis-appsec@armis-appsec-mcp
This unpacks the plugin into a versioned directory under
~/.claude/plugins/cache/armis-appsec-mcp/armis-appsec/<version>/.
3. Set credentials
Run this in a shell after installing — it locates the unpacked plugin
directory and writes .env into it:
PLUGIN_DIR="$(ls -dt ~/.claude/plugins/cache/armis-appsec-mcp/armis-appsec/*/ | head -1)"
cat > "$PLUGIN_DIR/.env" << 'EOF'
ARMIS_CLIENT_ID=<your-client-id>
ARMIS_CLIENT_SECRET=<your-client-secret>
EOF
chmod 600 "$PLUGIN_DIR/.env"
Contact the Armis AppSec team if you don't have credentials.
4. Restart Claude Code
The plugin loads automatically. Verify with:
/security-scan
Usage
Scan staged changes (default)
/security-scan
Scan a specific file
/security-scan path/to/file.py
Scan diff against a branch
/security-scan ref=main
Scan pasted code
Paste code into the conversation and ask:
Is this code secure?
Commit gate
When Claude runs git commit, git push, or gh pr create, the plugin automatically:
- Blocks the command
- Instructs Claude to scan the changes
- Allows the command after a clean scan (no HIGH/CRITICAL findings)
If HIGH/CRITICAL findings are found, Claude will attempt to fix them. If findings remain after remediation, Claude asks for your approval before proceeding.
Configuration
| Environment Variable | Default | Description |
|---|---|---|
ARMIS_CLIENT_ID | (required) | Client ID for authentication |
ARMIS_CLIENT_SECRET | (required) | Client secret for authentication |
APPSEC_ENV | prod | dev or prod — selects API endpoint |
APPSEC_API_URL | (auto) | Override the API base URL |
APPSEC_DEBUG | (unset) | Set to any value to enable debug logging |
Running Tests
pip install pytest httpx mcp[cli] python-dotenv
python -m pytest hooks/tests/ -v
Architecture
+---------------------+
| Armis Cloud |
| POST /scan/fast |
+--------+------------+
^
| HTTPS (JWT Bearer)
+--------+------------+
| Scanner Core |
| scanner_core.py |
+--------+------------+
+-----+------+
| |
+-----v-----+ +---v---------+
| MCP Server | | PreToolUse |
| server.py | | Hook |
+------------+ +-------------+
License
Apache License 2.0 — see LICENSE for details.
Похожие серверы
Alpha Vantage MCP Server
спонсорAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Locust MCP Server
An MCP server for running Locust load tests. Configure test parameters like host, users, and spawn rate via environment variables.
Stata MCP
Run Stata commands and execute .do files directly from VS Code and Cursor, with AI assistant integration.
Liveblocks
Interact with the Liveblocks REST API to manage rooms, threads, comments, and notifications, with read access to Storage and Yjs.
Vibe-Coder
A structured development workflow for LLM-based coding, including feature clarification, planning, phased development, and progress tracking.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
s&box MCP Server
Enables AI assistants to interact with s&box game objects and components via WebSocket communication.
MATLAB MCP Server
Integrates MATLAB with AI to execute code, generate scripts from natural language, and access documentation.
Agile Team MCP Server
An MCP server providing model wrapper tools for agile development teams, requiring external API keys.
bulhufas
MCP server that ingests project docs once and lets Claude search by meaning instead of reading everything — saving tokens on large codebases
MCP My Mac
Exposes local Mac system information through a simple API for AI assistants.