Petra Security MCP
A read-only MCP server for Petra Security's public REST API, designed for AI assistants and the WYRE Conduit gateway. It exposes data regarding Microsoft 365 account compromises, including incidents, failed attacks, posture reports, tenants, usage metrics, and billable users.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Retrieve M365 compromise incidents
- Check failed attack data
- View tenant posture reports
- Monitor usage and billable users
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/wyre-ai/petra-mcp:v1.0.1
{
"transport": "stdio",
"identifier": "ghcr.io/wyre-ai/petra-mcp:v1.0.1",
"registryType": "oci",
"environmentVariables": [
{
"name": "PETRA_API_KEY",
"format": "string",
"isRequired": true,
"description": "Petra Security API key, created by a Petra Admin under Settings > API Keys at app.petrasecurity.com. Shown only once at creation."
},
{
"name": "MCP_TRANSPORT",
"format": "string",
"default": "stdio",
"description": "Transport mode for the server. Set to 'stdio' for local CLI use; the image defaults to 'http' for gateway hosting."
},
{
"name": "AUTH_MODE",
"format": "string",
"default": "env",
"description": "Credential source: 'env' reads vars locally, 'gateway' expects header injection from the WYRE MCP Gateway."
},
{
"name": "LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Log verbosity: debug, info, warn, error"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"petra-security-mcp-v1-0-1": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PETRA_API_KEY=<YOUR_PETRA_API_KEY>",
"-e",
"MCP_TRANSPORT=<YOUR_MCP_TRANSPORT>",
"-e",
"AUTH_MODE=<YOUR_AUTH_MODE>",
"-e",
"LOG_LEVEL=<YOUR_LOG_LEVEL>",
"ghcr.io/wyre-ai/petra-mcp:v1.0.1"
],
"env": {
"PETRA_API_KEY": "<YOUR_PETRA_API_KEY>",
"MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
"AUTH_MODE": "<YOUR_AUTH_MODE>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Cline
{
"mcpServers": {
"petra-security-mcp-v1-0-1": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PETRA_API_KEY=<YOUR_PETRA_API_KEY>",
"-e",
"MCP_TRANSPORT=<YOUR_MCP_TRANSPORT>",
"-e",
"AUTH_MODE=<YOUR_AUTH_MODE>",
"-e",
"LOG_LEVEL=<YOUR_LOG_LEVEL>",
"ghcr.io/wyre-ai/petra-mcp:v1.0.1"
],
"env": {
"PETRA_API_KEY": "<YOUR_PETRA_API_KEY>",
"MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
"AUTH_MODE": "<YOUR_AUTH_MODE>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}VS Code
{
"servers": {
"petra-security-mcp-v1-0-1": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PETRA_API_KEY=<YOUR_PETRA_API_KEY>",
"-e",
"MCP_TRANSPORT=<YOUR_MCP_TRANSPORT>",
"-e",
"AUTH_MODE=<YOUR_AUTH_MODE>",
"-e",
"LOG_LEVEL=<YOUR_LOG_LEVEL>",
"ghcr.io/wyre-ai/petra-mcp:v1.0.1"
],
"env": {
"PETRA_API_KEY": "<YOUR_PETRA_API_KEY>",
"MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
"AUTH_MODE": "<YOUR_AUTH_MODE>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"petra-security-mcp-v1-0-1": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PETRA_API_KEY=<YOUR_PETRA_API_KEY>",
"-e",
"MCP_TRANSPORT=<YOUR_MCP_TRANSPORT>",
"-e",
"AUTH_MODE=<YOUR_AUTH_MODE>",
"-e",
"LOG_LEVEL=<YOUR_LOG_LEVEL>",
"ghcr.io/wyre-ai/petra-mcp:v1.0.1"
],
"env": {
"PETRA_API_KEY": "<YOUR_PETRA_API_KEY>",
"MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
"AUTH_MODE": "<YOUR_AUTH_MODE>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Let your agent find its tools
Find servers like Petra Security MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.