iridium-mcp-server
v0.6.0Iridium MCP server for AI agent security guardrails
See packages/iridium-client/.env.example. Repository: github.com/mziqudhd92/Iridium Release version is defined once in VERSION. Hatch reads that file for package metadata; runtime version / CLIENT_VERSION resolve from installed metadata (with a VERSION fallback in the source tree). Bump by editing VERSION only.
Summary extracted from the README.
╔══════════════════════════════════════════════════════════════════════════════╗
║ ║
║ ██╗██████╗ ██╗██████╗ ██╗██╗ ██╗███╗ ███╗ ║
║ ██║██╔══██╗██║██╔══██╗██║██║ ██║████╗ ████║ ║
║ ██║██████╔╝██║██║ ██║██║██║ ██║██╔████╔██║ ║
║ ██║██╔══██╗██║██║ ██║██║██║ ██║██║╚██╔╝██║ ║
║ ██║██║ ██║██║██████╔╝██║╚██████╔╝██║ ╚═╝ ██║ ║
║ ╚═╝╚═╝ ╚═╝╚═╝╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ║
║ ║
║.---[ A.I CYBER REASONING SYSTEM · CLIENT LAYER ]----------------------------.║
║| local AST/graph · CLI scan · MCP guardrails · cloud reachability |║
║'----------------------------------------------------------------------------'║
║ ║
╚══════════════════════════════════════════════════════════════════════════════╝
release ....... iridium-client / iridium-core / iridium-mcp-server
type .......... open-source client for the Iridium offensive research platform
pypi .......... iridium-core · iridium-client · iridium-mcp-server
╔══════════════════════════════════════════════════════════════════════════════╗
║Iridium is an autonomous security research platform that combines multi-role ║
║AI reasoning with hardened runtime verification to find, prove, and package ║
║unknown vulnerabilities — not just flag scanner noise. ║
║ ║
║Most AppSec tooling stops at static findings: SAST alerts, dependency CVEs, ║
║and heuristic "possible RCE" reports with no exploit path and no proof. Bounty║
║hunters and red teams need attacker-reachable bugs, verified under isolation, ║
║with submission-ready artifacts. ║
║ ║
║Iridium treats vulnerability research as an end-to-end pipeline — code ingest ║
║→ AI-guided hypotheses → sandbox execution → patch validation → bounty export.║
╚══════════════════════════════════════════════════════════════════════════════╝
Site: mziqudhd92.github.io/Iridium
This repository is the open-source client layer: local AST extraction, dependency graphs, CLI scanning, and MCP guardrails that feed the Iridium engine.
Architecture
flowchart LR
subgraph local["Developer machine"]
core["iridium-core\n(AST, graph, cache)"]
client["iridium-client\n(CLI)"]
mcp["iridium-mcp-server\n(MCP guardrails)"]
core --> client
core --> mcp
end
client -->|"POST /api/v1/client/scan"| api["Iridium SaaS API\n(private backend)"]
api -->|"GET findings"| client
| Package | PyPI | Role |
|---|---|---|
iridium-core |
pip install iridium-core |
Extractors, cache, graph, payload models (no network) |
iridium-client |
pip install iridium-client |
Typer CLI + httpx SaaS client |
iridium-mcp-server |
pip install iridium-mcp-server |
MCP server for AI agent guardrails (Phase 2) |

Quick start
pip install iridium-client
# Zero-install demo (<10s, no API key)
uvx iridium-client demo
# Full scan — local parsing + cloud reachability (no API key required for anonymous tier)
iridium-client scan .
# Optional: API key for higher quotas / pro features
# export IRIDIUM_API_KEY=iridium_live_...
Local payload dump (zero network):
iridium-client payload dump . --validate
Environment variables
| Variable | Default | Description |
|---|---|---|
IRIDIUM_API_URL |
https://api.iridium.example.com |
SaaS API base URL (no trailing slash) |
IRIDIUM_API_KEY |
— | Optional. Sent as X-API-Key for authenticated tiers (higher limits, patches) |
DO_NOT_TRACK |
unset | Set to 1 to block analytics even when opted in |
IRIDIUM_TELEMETRY |
0 |
Set to 1 to opt in to anonymized product analytics |
IRIDIUM_ANON_KEY |
— | HMAC key for --anonymize blind-graphing mode |
IRIDIUM_PUBLIC_URL |
— | Public dashboard URL for sharing reports |
See [packages/iridium-client/.env.example](packages/iridium-client/.env.example).
Monorepo structure
packages/
iridium-core/ # LanguageExtractor plugins, Tarjan SCC, AST cache
iridium-client/ # CLI, demo, terminal output
iridium-mcp-server/ # MCP skeleton (Phase 1)
openapi/client-scan-api-v1.yaml
schema/client-scan-payload-v1.json
Repository: github.com/mziqudhd92/Iridium
Versioning
Release version is defined once in VERSION. Hatch reads that file for package metadata; runtime __version__ / CLIENT_VERSION resolve from installed metadata (with a VERSION fallback in the source tree). Bump by editing VERSION only.
API contract
Stable paths under {IRIDIUM_API_URL}/api/v1/client/*:
POST /api/v1/client/scan→ 202 +scan_idGET /api/v1/client/scan/{scan_id}→ poll findings
See openapi/client-scan-api-v1.yaml and schema/client-scan-payload-v1.json.
Security
See SECURITY.md for vulnerability reporting, client-side threat model, and privacy defaults.
Phase 1 limitations:
- Local audit log (
.iridium/audit.log) is implemented for MCP server; CLI audit log planned. --anonymizeHMAC-hashes internal symbols in graph payloads; available oniridium-client scan.- Product analytics are off by default. If you want to help us improve Iridium, opt in with
IRIDIUM_TELEMETRY=1oriridium-client scan --telemetry. Pings are anonymized operational metrics only (CLI version, scan duration, error classes) — never AST or source code.DO_NOT_TRACK=1always disables pings. - Graph payloads contain syntactic structure only — string literals and secrets are stripped client-side.
License
Apache-2.0 — see LICENSE. Contributions require DCO sign-off.