Skip to content

MCP Server

The Anantis MCP HTTP server exposes your threats, interactions, decoys, canaries, and reports to any client that speaks the Model Context Protocol.


Endpointhttps://api.anantis.io/mcp
TransportStreamable HTTP
AuthenticationAuthorization: Bearer <api-key>
OAuthNot supported

An Anantis API key, create it here. The MCP server uses the same key as the REST API.

Replace YOUR_KEY with your API key throughout.

Add the server from the terminal:

Terminal window
claude mcp add --transport http anantis https://api.anantis.io/mcp \
--header "Authorization: Bearer YOUR_KEY"

By default the server is added for the current project only. Use --scope user to make it available across all your projects:

Terminal window
claude mcp add --scope user --transport http anantis https://api.anantis.io/mcp \
--header "Authorization: Bearer YOUR_KEY"

Verify with claude mcp list: the server should report ✔ Connected.

The MCP server is read-only: no tool writes to the platform. Each tool requires the scope listed below, so a tool whose scope the key lacks simply fails when called.

ToolPurposeScope
whoamiInspect the connected key: entity, scopes, accessible organizations.none
list_threatsList threats, aggregated by source IP.threats:read
get_threatRetrieve a single threat.threats:read
list_interactionsList events captured by decoys, most recent first.interactions:read
get_interactionRetrieve a single interaction.interactions:read
list_decoysList deployed decoys.decoys:read
get_decoyRetrieve one decoy’s metadata.decoys:read
list_canariesList deployed canaries.canaries:read
get_canaryRetrieve one canary’s metadata.canaries:read
get_reportGenerate the executive report for a period.reports:read
list_usersList console users.users:read
get_userRetrieve a single console user.users:read

Ask your client a question that exercises the server. A good first prompt is:

Using the Anantis MCP server, call whoami and tell me which organizations this key can reach.

A successful response echoes your entity_uuid and the scopes you granted.