Skip to main content

Purple MCP

SentinelOne's Purple AI MCP server runs on each person's computer. The Official card starts it with uvx from git+https://github.com/Sentinel-One/purple-mcp.git over stdio and turns on Local MCP. It is the Purple MCP card with the Official badge. There is no hosted URL. See the Purple AI MCP Server README and Local MCP.

The server is read-only. Calls cannot change the SentinelOne account or the objects in it. SentinelOne maintains the repository and describes the project as community-supported. Platform questions go to SentinelOne support.

The card puts each person's token in PURPLEMCP_CONSOLE_TOKEN. It leaves PURPLEMCP_CONSOLE_BASE_URL as {{url}}. That placeholder is not a field on the card, so set the console URL in the MCP configuration before anyone connects.

Before you start​

On every computer that will use the server:

  • Node.js, so Willow's local client can start with npx. See Local MCP.
  • uv, because the card runs uvx.

Console token​

Create the token in the SentinelOne console at Policy & Settings → User Management → Service Users. It can be a service user token or a console API token.

The token needs Account or Site permissions. A Global token fails authentication and makes PowerQuery return unexpected results. The server accepts a token that can reach a single Account or a single Site. To cover more than one, add a separate MCP server for each, with its own token.

Copy the console URL for that token. The example in the project is https://your-console.sentinelone.net, with no trailing slash.

Set up Willow​

  1. Go to MCP Servers → + Add MCP server, open the Purple MCP card with the Official badge, and click + Use.
  2. Leave Local MCP on. The command is already uvx, with arguments that run purple-mcp --mode stdio from the git repository. Keep PURPLEMCP_CONSOLE_TOKEN as {{apiKey}}.
  3. On the Setup tab, under MCP configuration, set PURPLEMCP_CONSOLE_BASE_URL to the console URL. Replace {{url}}. Do not add a trailing slash.
  4. Keep Personal API keys so each person pastes their own token. Assign groups and Publish.

To scope Purple AI queries to one account, add PURPLEMCP_PURPLE_AI_CONSOLE_ACCOUNT_ID to env with that account id. The card does not set it.

To scope data lake queries, add PURPLEMCP_SDL_CONSOLE_ACCOUNT_IDS. Add PURPLEMCP_SDL_CONSOLE_SITE_IDS only together with exactly one account id; the server uses the first site id. When those are unset, queries use every account the token can reach. A dedicated SDL host goes in PURPLEMCP_SDL_BASE_URL. Otherwise the server calls {console URL}/sdl.

Threat intelligence calls need PURPLEMCP_VT_API_KEY in that same env. Get a key from VirusTotal. The card does not set it.

For a production connection, pin the git install to a commit from the releases or main. In the uvx arguments, change git+https://github.com/Sentinel-One/purple-mcp.git to git+https://github.com/Sentinel-One/purple-mcp.git@<commit>.

Each person​

  1. Confirm uvx runs on that computer, and that the computer can open the console URL.
  2. On the MCP Servers page, open this server and click Use. Copy the STDIO configuration into the AI client. See Local MCP servers.
  3. When Willow asks for a key, paste the console token.

The token is sent to that computer with the rest of the server configuration. See Local MCP.

Troubleshooting​

Authentication fails, or PowerQuery results are wrong​

Cause: The token is Global, expired, or can reach more than one Account or Site.

Solution: Create a service user token at Account or Site scope from Policy & Settings → User Management → Service Users, limited to one Account or one Site, and paste that token.

The server cannot reach the console​

Cause: PURPLEMCP_CONSOLE_BASE_URL is still {{url}}, has a trailing slash, or is not the console that issued the token.

Solution: Set it to the console URL with no trailing slash, for example https://your-console.sentinelone.net, and publish again. The README says to run with --verbose for debug logs. This card does not pass that flag.

uvx is not found​

Cause: uv is not installed on the computer that starts the server, or it is not on the PATH.

Solution: Install uv, then connect again. The first start downloads the server from git and can take longer than later starts.

Additional Resources​