Aevrin MCP Security Scanner CLI — scan a GitHub repo, local path, or live MCP server.
Project description
aevrin
Aevrin MCP Security Scanner CLI. Wraps the same open-source scanner binaries and normalization logic (aevrin-scanner-core) that the Aevrin backend uses, run locally against your own machine. Results save to your Aevrin dashboard automatically once you're logged in — pass --no-upload for a purely local, ephemeral scan.
Install
pip install aevrin
Requires Docker (each scanner runs in its own disposable container — see the main repo README for why).
Usage
aevrin scan ./my-mcp-server
aevrin scan github.com/owner/repo
aevrin scan https://my-live-server.example.com --json
aevrin scan ./my-mcp-server --fail-on high
aevrin scan ./my-mcp-server --no-upload # skip saving to your dashboard (e.g. in CI)
Target type is auto-detected: a github.com URL scans the full pipeline (static analysis, secrets, dependencies, tool-description checks); any other http(s):// URL is treated as a live MCP server (manifest-level checks only); anything that exists on disk is scanned as a local path (full pipeline, no cloning).
Flags
| Flag | Behavior |
|---|---|
--json |
Machine-readable JSON on stdout instead of a formatted table. |
--no-upload |
Skip saving the result to your Aevrin dashboard (on by default once logged in). Useful in CI, or for a purely local, ephemeral scan. |
--fail-on <severity> |
Minimum severity that causes a non-zero exit code. One of critical, high, medium, low, info. Defaults to high (both critical and high findings fail the build). |
Exit codes
| Code | Meaning |
|---|---|
0 |
Clean — no findings at or above the --fail-on threshold. |
1 |
Findings at or above the --fail-on threshold were found. |
2 |
Misuse — bad arguments, a target that couldn't be resolved, or every scan stage failed to run. A dashboard-save failure does not set this — it's a warning on stderr, not a scan failure. |
Results go to stdout; stage progress and diagnostics go to stderr — safe to pipe --json output without stage-progress noise mixed in.
Example output
[✓] static analysis
[✓] secrets
[✓] dependencies
[✓] tool description check
[✓] aggregating
Target: ./my-mcp-server
Score: 62/100 Significant risk — do not deploy as-is
┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┓
┃ Severity ┃ Title ┃ OWASP category ┃ Tool ┃
┡━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━┩
│ CRITICAL │ Hardcoded secret │ MCP01: Token Mismanagement │ trivy │
│ HIGH │ subprocess shell true│ MCP05: Command Injection, ... │ semgrep │
└──────────┴──────────────────────┴──────────────────────────────────────┴─────────┘
Development
uv sync
uv run pytest tests -v
uv run ruff check .
uv run mypy src
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aevrin-0.1.5.tar.gz.
File metadata
- Download URL: aevrin-0.1.5.tar.gz
- Upload date:
- Size: 43.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9df797b83a1d344619ae30c812b68492a645c44643845a4af348d42c52313234
|
|
| MD5 |
090421427d35b90755575d97fbe1d53b
|
|
| BLAKE2b-256 |
7fa6f7f2b8e219f66d9ea9960fbc317deaed3ef47580e5ae99649b840debc7e0
|
Provenance
The following attestation bundles were made for aevrin-0.1.5.tar.gz:
Publisher:
publish.yml on aevrin-projects/aevrin-mcp-scanner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aevrin-0.1.5.tar.gz -
Subject digest:
9df797b83a1d344619ae30c812b68492a645c44643845a4af348d42c52313234 - Sigstore transparency entry: 2330498948
- Sigstore integration time:
-
Permalink:
aevrin-projects/aevrin-mcp-scanner@b74000117b56a787a6929b069b7841db17a810b7 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/aevrin-projects
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b74000117b56a787a6929b069b7841db17a810b7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aevrin-0.1.5-py3-none-any.whl.
File metadata
- Download URL: aevrin-0.1.5-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aafad220a2ae924364a9f76893d90aa2d1bf982dec64473ee7d2a907325f3ea
|
|
| MD5 |
35e95dee7190ee118a68f80125e7bbb5
|
|
| BLAKE2b-256 |
d4c0a0e2f3b86ec997f0d94b2747d075c130e667968d0e8825668e626e44a6d9
|
Provenance
The following attestation bundles were made for aevrin-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on aevrin-projects/aevrin-mcp-scanner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aevrin-0.1.5-py3-none-any.whl -
Subject digest:
5aafad220a2ae924364a9f76893d90aa2d1bf982dec64473ee7d2a907325f3ea - Sigstore transparency entry: 2330499285
- Sigstore integration time:
-
Permalink:
aevrin-projects/aevrin-mcp-scanner@b74000117b56a787a6929b069b7841db17a810b7 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/aevrin-projects
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b74000117b56a787a6929b069b7841db17a810b7 -
Trigger Event:
push
-
Statement type: