bluerock
by bluerock-io·★ 29·Score 44
BlueRock provides runtime visibility for Python MCP servers with zero code changes, monitoring tool calls, sessions, imports and subprocess execution as structured NDJSON.
Overview
BlueRock is a lightweight runtime security sensor for Python MCP servers. It hooks into Python at startup to capture MCP tool calls, session lifecycle, module imports with SHA-256 verification, and subprocess execution. The sensor writes structured NDJSON events to a log file, providing visibility into what your Python applications are doing at runtime without requiring any code changes. It uses two mechanisms: wrapt monkey-patching for MCP protocol libraries and sys.meta_path import hooks for supply-chain visibility.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose BlueRock when you need security monitoring for MCP servers without modifying your application code, especially when you want visibility into tool calls, session lifecycle, and module integrity with SHA-256 verification.
When NOT to choose this
Don't choose BlueRock if you need Windows support (Linux/macOS only), require features beyond MCP monitoring and import tracking, or if you're looking for a lightweight solution with minimal resource overhead.
Comparable tools
Installation
# Install from PyPI
pip install bluerock[oss]
# Create configuration
echo '{"enable": true, "mcp": true}' > ~/.bluerock/bluerock-oss.json
# Run your Python script with BlueRock
python -m bluepython --oss your_script.pyFor Claude Desktop integration, add to claude_desktop_config.json:
{
"mcpServers": {
"bluerock": {
"command": "python",
"args": ["-m", "bluepython", "--oss"]
}
}
}FAQ
- Does BlueRock require code changes to my Python application?
- No, BlueRock works with zero code changes. It wraps your Python process at startup.
- What events does BlueRock capture?
- BlueRock captures MCP tool calls, resource access, session lifecycle, module imports (with SHA-256), and subprocess execution as structured NDJSON events.
On Hacker News
Recent discussion from the developer community.
- Story by BlueRock-Jake · 2026-05-06
Compare bluerock with
Last updated · Auto-generated from public README + GitHub signals.