iridium-mcp-server
MCP server for AI agent security guardrails — blocks vulnerable imports at generation time.
Install
pip install iridium-mcp-server
Cursor setup
Add to your MCP config (see src/iridium_mcp/cursor_config.json):
{
"mcpServers": {
"iridium": {
"command": "iridium-mcp-server",
"env": {
"IRIDIUM_API_URL": "https://api.iridium.example.com"
}
}
}
}
No API key required for anonymous tier (rate-limited).
Tools (Phase 2)
| Tool | Purpose |
|---|---|
validate_dependency_addition |
Check if adding a package creates reachable CVE risk |
get_reachability_context |
Return entrypoint → sink path + rewrite hints for agents |
refresh_workspace_graph |
Re-index workspace after agent saves files |
Behavior
- Fail-open: API 429/5xx never blocks the agent — returns
degraded: true - Background warm-index: indexes workspace on startup before first tool call
- Parent heartbeat: exits cleanly when MCP parent process dies
- Audit log: writes to
.iridium/audit.log
Development
uv sync
uv run pytest packages/iridium-mcp-server/tests -v
Metadata
Release files for iridium-mcp-server 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iridium_mcp_server-0.6.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iridium_mcp_server-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / iridium_mcp_server-0.6.0.tar.gz
| Download URL | iridium_mcp_server-0.6.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c936b0017fc4ea1be4b817efdd96af54f48da4c2536f086c2dcde9e1e18c1584
|
|
BLAKE2b-256 checksum How to use checksums |
57a403023a4f337a0e9ca803a9c949b3339618e0a1ba707ca6692cca3b838367
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency logRelease files / iridium_mcp_server-0.6.0-py3-none-any.whl
| Download URL | iridium_mcp_server-0.6.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c1bb3abc8b904702ef916286e7ce2bdac5ae47d0f2097c6ae873f3637075973
|
|
BLAKE2b-256 checksum How to use checksums |
332cd4dffe3d3541ce4770ee8c451ac770ffd4cee13981d1f4d70da332a15034
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency log