SentinelOne MCP Server
Read-only MCP server for the SentinelOne management API, exposing sites, endpoint agents, threats, and activity logs with aggregation tools for MSP/MSSP reporting.
README
SentinelOne MCP Server
Read-only MCP server for the SentinelOne management API (v2.1). Exposes sites, endpoint agents, threats and the activity log to Claude (Claude Desktop / Cowork, Claude Code, or any MCP client), with aggregation tools built for MSP/MSSP reporting across a site-segmented client base.
Tools
| Tool | Purpose |
|---|---|
s1_list_sites |
Sites (how clients are segmented in an MSP console) with licence counts, SKU, expiry and health |
s1_estate_overview |
Estate-wide endpoint health by site: agents, online/offline, infected, needs-update, reboot-required, stale, OS mix — the health reporting tool |
s1_agents |
Endpoint drill-down: per-machine status, version, last active, last user (filterable by site, health flags, OS) |
s1_threats |
Threat drill-down: name, classification, verdict, incident/mitigation status, affected machine (filterable by site, status, date range) |
s1_threat_summary |
Aggregated threat counts by site, verdict, classification, top threats and machines — the periodic reporting tool |
s1_activities |
Console activity/audit log: mitigations, installs, policy changes, logins |
s1_api_call |
Raw GET to any other SentinelOne endpoint — disabled unless S1_ENABLE_RAW_API=true |
The tool set is deliberately lean, focused on endpoint health and threat reporting across clients. The raw API tool covers anything else (groups, exclusions, installed applications, STAR alerts, system info) but is off by default so shared deployments stay strictly read-only.
Quick start (Claude Desktop / Cowork)
Add to mcpServers in your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
"sentinelone": {
"command": "npx",
"args": ["-y", "sentinelone-mcp"],
"env": {
"S1_API_TOKEN": "your-api-token",
"S1_BASE_URL": "https://your-console.sentinelone.net"
}
}
For Claude Code:
claude mcp add-json sentinelone --scope user '{"type":"stdio","command":"npx","args":["-y","sentinelone-mcp"],"env":{"S1_API_TOKEN":"your-api-token","S1_BASE_URL":"https://your-console.sentinelone.net"}}'
Requires Node.js 18+.
Configuration
| Variable | Value |
|---|---|
S1_API_TOKEN |
API token — generate in the console under My User → Actions → API Token Operations |
S1_BASE_URL |
Your management console URL, e.g. https://your-console.sentinelone.net |
S1_ENABLE_RAW_API |
Optional — set to true to expose s1_api_call for arbitrary endpoints. Leave unset for team deployments. |
Notes on tokens:
- API tokens expire on a schedule set in the console (commonly 30 days, extendable under Settings → Users, or use a service user for longer-lived tokens). A 401 from this server almost always means the token has expired — regenerate it.
- The token inherits the scope and role of the user who generated it. A Viewer-role user scoped to the account is ideal: the server only ever issues GET requests, but a least-privilege token means mistakes elsewhere can't mutate anything.
- Each team member should generate their own token so console audit logs attribute API reads correctly.
Reporting across a client base
Sites are how clients are segmented in an MSP/MSSP console. The intended flow for "state of our clients' endpoints" reporting:
s1_list_sites— the client list, with licence usage and expiry per site.s1_estate_overview— one call sweeps every agent and returns a site-by-site health table: agent count, online/offline, infected, agents needing an update, reboot-required, stale agents (default: not seen in 30 days) and OS mix. Aggregation happens inside the server, so thousands of agents come back as a few KB of counts.s1_threat_summarywithcreated_after— threats for the reporting period, grouped by site with verdict/classification breakdowns, top threat names and noisiest machines.s1_agents/s1_threats— drill into the individual machines or detections behind any number, thens1_activitiesfor the audit trail of what was done about them.
Development
git clone https://github.com/jamescash1976/sentinelone-mcp.git
cd sentinelone-mcp
npm install
cp .env.example .env # fill in token + console URL
npm run dev # watch mode
npm run inspector # MCP Inspector UI
npm run build # compile to dist/
Notes
- Strictly read-only: every tool issues GET requests only. Mitigation, policy and agent actions are deliberately not implemented.
- Pagination is cursor-based throughout: responses include
nextCursor— pass it back ascursorto continue. The sweep tools (s1_estate_overview,s1_threat_summary) page automatically up to their safety caps and say so when truncated. - Rate limits (HTTP 429) are retried automatically using the
Retry-Afterheader, up to 3 times. - Compact projections drop the (many) null fields SentinelOne returns and exclude site registration tokens from output. Use
full_details: trueons1_agents/s1_threatswhen you need the complete raw records. - Dates in filters are ISO 8601, e.g.
2026-07-01T00:00:00Z.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.