Skip to content
Claude Code

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

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

Petra Security in other clients