Petra Security for Claude Code
io.github.wyre-ai/petra-mcp
Read-only Petra Security MCP: M365 compromise incidents, failed attacks, posture, tenants, usage.
client:Claude Code
transport:stdio
runtime:oci
Install Petra Security in Claude Code
run in your project directory
claude mcp add petra-mcp -e PETRA_API_KEY=<PETRA_API_KEY> -e MCP_TRANSPORT=<MCP_TRANSPORT> -e AUTH_MODE=<AUTH_MODE> -e LOG_LEVEL=<LOG_LEVEL> -- docker run -i --rm ghcr.io/wyre-ai/petra-mcp:v1.0.1
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs