# AiSOC MCP Server

> Query AiSOC alerts, cases, and investigation records from MCP assistants.

- **URL**: https://followmcp.com/en/servers/beenuar-mcp
- **Category**: Other
- **Origin**: Community
- **Stars**: 9.3k
- **FMRS Score**: 58/100 (Grade C)
- **Source**: https://github.com/beenuar/AiSOC/tree/main/services/mcp
- **Transports**: stdio (local process), Streamable HTTP
- **Runtimes**: Node.js
- **Auth**: API key / credential required

## Overview
AiSOC MCP Server exposes AiSOC alerts, cases, detection rules, the event lake, and agent decision records to MCP-aware assistants. It connects to AiSOC over stdio JSON-RPC or streamable HTTP; HTTP calls are authorized by the server side on every request.

## Best for
- Teams running AiSOC that want to query security operations data from an MCP client.
- Security analysts reviewing alerts, cases, detections, and agent investigation records.

## Not for
- Users without an AiSOC API or the required credentials.
- Teams that need MCP tools to perform response actions against vendors; the action tool only previews.
- Users who require installation through the currently unpublished npm package and npx.

## Required permissions
- The stdio mode requires an AiSOC URL and API key; tools use the relevant scopes: alerts:read, cases:read, rules:read, reports:read, actions:read, actions:execute, lake:query, lake:read_schema, or cases:write.
- Starting an investigation requires cases:write. Previewing a response action requires actions:execute but only performs a dry run.
- HTTP mode requires a Bearer API key or JWT on every request, with AiSOC authorizing calls; starting an investigation also requires human approval.

## Risks
- In stdio mode, read calls are not recorded by the described API audit path; optional server telemetry is self-reported and is not a substitute for audit logs.
- The client configuration stores the API key; the README says the installer writes the config file with 0600 permissions.
- HTTP requests without credentials are rejected, and tools fail closed if the authorization API cannot be reached.
- Event lake queries are subject to tenant isolation and row limits; incorrect or under-scoped credentials can cause 401 or 403 errors.

## Client config (JSON)
```json
{"mcpServers":{"aisoc":{"command":"node","args":["/absolute/path/to/AiSOC/services/mcp/dist/index.js","serve"],"env":{"AISOC_URL":"https://aisoc.your-company.com","AISOC_API_KEY":"aisoc_pat_xxxxxxxxxxxx"}}}}
```

## Tools (18)
- `aisoc_list_alerts`: List alerts with pagination and filters for severity, status, and time range.
- `aisoc_list_cases`: List cases with pagination and filters for status, owner, and priority.
- `aisoc_query_detections`: Search detection rules by name, MITRE technique, or tag.
- `aisoc_list_investigations`: List agent investigation runs with pagination.
- `aisoc_list_replay_reports`: List replay evaluations that compare AiSOC triage with this tenant's past analyst decisions.
- `aisoc_list_actions`: List response actions available in this deployment and their vendors; listing does not perform or schedule an action.
- `aisoc_lake_schema`: Discover tables and columns allowlisted in the event lake's warm tier.
- `aisoc_get_alert`: Get alert details, including enrichments and matched detections.
- `aisoc_get_case`: Get case details, including its timeline and linked alerts.
- `aisoc_get_detection_rule`: Inspect one detection rule's logic, fixtures, and false-positive notes.
- `aisoc_get_investigation`: Get an investigation run summary, including status, duration, agents involved, and cost.
- `aisoc_get_triage_verdict`: Get an alert's agent verdict, recommended actions, confidence, rationale, and analyst disposition.
- `aisoc_get_replay_report`: Read one stored replay report.
- `aisoc_lake_query`: Run a read-only SELECT against the event lake warm tier; tenant isolation, row caps, and lake:query permission are enforced server-side.
- `aisoc_run_investigation`: Start an agent investigation on a case and return streamed events; this is the only non-read-only tool.
- `aisoc_preview_action`: Preview a response action's blast radius, reversibility, verification probe, and approval tier; dry-run only.
- `aisoc_replay_decision`: Walk through an agent investigation decision ledger step by step.
- `aisoc_explain_step`: Get the prompt, response, and tool input/output for one investigation step.
