Configure Thoth from Claude Code or Cursor
Connect an MCP client to your workspace to inspect setup, preview changes, and approve them in the browser.
Thoth exposes its workspace configuration as an MCP server (streamable HTTP):
| Workspace | Server URL |
|---|---|
| Enterprise | https://grid.<tenant>.atensecurity.com/thoth/mcp/<tenant> |
| Trial and self-serve | https://mcp.atensecurity.com/<tenant> |
Connect Claude Code or Cursor to it and ask the client what is left to set up, which agents and tools Thoth has seen, and what a change would do before it happens.
This is a different server from the MCP proxy. The proxy governs other MCP servers' tool calls; this server configures Thoth itself. It does not call a language model on your behalf: your client's model reads the results and Thoth only runs the operations.
Connecting this server doesn't govern your agent's tool calls. To add Thoth to an agent's code, the server tells your client to use the SDK for the agent's language (Instrument your own agent) or the agent skills, and never to write its own calls to the decision API.
Generate the client configuration
For a trial workspace, add --trial.
The command prints JSON on stdout and setup notes on stderr. If the file
already lists other servers, merge the thoth entry by hand instead of
redirecting over it.
Choose how the client signs in
| Signed in as you (default) | Scoped machine key | |
|---|---|---|
| Flag | --auth oauth | --auth api-key |
| Identity | Your Thoth user, through the browser | A control-plane API key |
| Read and preview | Admins preview; viewers read | Read permission |
| Commit | Returns an approval link; you approve in the browser with MFA | Write permission commits directly |
With --auth api-key the configuration references the key by environment
variable (THOTH_ORG_API_KEY by default, change it with --api-key-env). The
key is never written to the file. Export it before starting the client:
Create keys with thothctl api-keys create --organization --permission read
for inspection, and add --permission write only for automation that should
commit without a person approving each change.
Approving a change
- Ask your client for a change, for example "mark
orders.listas read-only for the billing agent". - The client calls a preview tool. Thoth returns the effect in plain language, the affected agents, a diff and a digest. Nothing has changed yet.
- When the client calls
commit_previewwhile signed in as you, Thoth returns an approval link instead of committing. - Open the link. The page shows the server's own description of the change, not the client's. Approve it; Thoth asks you to sign in again if your MFA is not recent.
- Ask the client to check the operation with
get_operation.
An approval link works once, only for the user who requested it, only in the workspace it was created for, and expires after 10 minutes. If the workspace changed since the preview, the commit is refused and the client needs a new preview.
Tools
| Tool | Does |
|---|---|
get_setup_status | Setup progress and the next step |
get_attention | Items that need a person, with reasons |
list_agents, get_agent | Registered agents and their configuration |
get_observe_summary | For an agent in observe: what enforcing would have held or denied (counts, top rules, examples), and whether it is ready to enforce, with each check. Switch it with preview_enforcement_mode |
list_discovered_agents | Agents Thoth has seen calling without a registration (admins) |
list_tool_inventory | Observed tools; names and descriptions are quoted as untrusted text |
list_profiles | Governance profiles you can select |
preview_tool_declaration | Preview confirming what tools do |
get_profile_rules, list_profile_rule_versions | A profile's active rules in this workspace, and their version history. Customise rules with preview_policy_rule |
preview_profile_selection | Preview selecting a profile |
preview_enforcement_mode | Preview switching an agent between observe and enforce |
preview_agent_quarantine | Preview quarantining an agent or lifting its quarantine |
preview_kill_switch | Preview the kill switch (the agents and endpoints it stops), or lifting it with lift: true |
preview_discovered_agent | Preview registering, blocking or unblocking a discovered agent |
preview_agent_registration | Preview registering a new agent (no approved tools) or changing a registered agent's name or owner |
get_slack_approvals | The Slack approvals channel, the channels Thoth can use, reviewers |
list_slack_reviewer_candidates | Verified members who can be Slack reviewers |
get_data_handling | What Thoth keeps of tool arguments, prompts and tool output |
preview_data_handling | Preview changing what Thoth keeps of them |
get_compliance_declaration | The compliance regimes the workspace is assessed against, and observe or enforce (admins) |
preview_compliance_declaration | Preview declaring regimes in observe or enforce, or clearing the declaration; mappings, not certifications |
get_recipient_policy | The outside-recipient guard: mode, internal domains, allowed external domains and destinations |
preview_recipient_policy | Preview changing the guard; a list you give replaces the stored one, and observe shows what enforce would hold |
get_siem_decision_stream | Which decisions go to the SIEM, and delivery health (admins) |
preview_siem_decision_stream | Preview changing the SIEM decision stream |
preview_workspace_settings | Preview the shadow-agent policy, and where the webhook, SIEM destination and PAM point (no secrets) |
get_org_security_settings | Sign-in security: required MFA, sign-in length, IP allowlist, and your address (org admins) |
preview_org_security_settings | Preview sign-in security; a signed-in org admin confirms it in the browser |
list_team_members | The workspace's members, roles and status (signed-in admins) |
preview_team_member | Preview inviting, removing or changing the role of one person, by email; on self-serve and trial workspaces, revoking an invitation not yet used, and on trials approving or denying a request to join (signed-in admins) |
get_held_action | One action held for approval: agent, tool, why, status |
preview_action_resolution | Prepare approving or denying a held action; a signed-in admin confirms it in the browser |
list_policy_exceptions | Policy exception requests and their status (admins; requester text is quoted) |
get_policy_exception | One exception request and its review |
preview_exception_review | Prepare a review of an exception request; a signed-in admin confirms it in the browser |
list_policy_change_artifacts, get_policy_change_artifact | Policy changes drafted from approved exceptions, with their policy in each format (admins) |
preview_policy_change_apply | Preview applying an approved exception's policy change: it becomes a policy bundle and the temporary override ends. Refused if the same policy is already applied; needs a plan with policy bundles (admins) |
preview_slack_approvals | Preview changing the approvals channel or reviewers (by email) |
list_api_keys | API keys: name, prefix, scope, permissions, status (never the key; admins) |
preview_api_key_revocation | Preview revoking a workspace or agent API key; never your own. Creating keys stays thothctl and Terraform, since it returns a secret (admins) |
list_fleets, get_fleet | Fleets of governed endpoints, and one fleet's summary (admins) |
preview_fleet | Preview creating, updating or deleting a fleet, or deploying, pausing or rolling back its proxy rollout (admins) |
list_endpoints | Governed endpoints and their status, without employee names (admins) |
preview_endpoint | Preview quarantining endpoints or setting them to observe or enforce (one, or up to 200 with endpoint_ids), or lifting one quarantine; turning a device off stays Terraform and thothctl (admins) |
list_mcp_vendors | Registered MCP server vendors, approval and signature status (admins) |
verify_mcp_catalog | Which MCP tools a principal, person or role would be allowed, derived from the policy rules' grants (admins) |
preview_mcp_vendor | Preview registering, approving, denying or removing an MCP vendor; approving needs a verified signature recorded with Terraform or thothctl (admins) |
list_mdm_providers | Connected MDM providers and sync status, without their settings (admins) |
list_browser_providers, list_browser_policies | Browser governance providers and policies (admins) |
preview_device_governance | Preview an MDM sync, turning an MDM or browser provider on or off, or turning a browser policy on or off or to observe or enforce; settings, policy rules and enrollments stay Terraform and thothctl (admins) |
get_billing | Plan, usage and credits; buying stays in Checkout (admins) |
get_reports_overview | Decisions, holds, denials and trends (admins) |
list_reports, get_report | Generated AIRS report snapshots, and one by ID or latest (admins) |
generate_report | Generate a report for a window (default: the last 7 days) in the background; while one is still being generated, returns that one. Changes no configuration, so it has no preview (admins, keys that can write) |
get_compliance_risk_report | Compliance risk from recorded decisions, optionally with your own monetary scenarios, which are reported separately and never totalled (admins) |
verify_evidence_chain | Whether the tamper-evident evidence chain is intact (org admins) |
list_evidence_packs | Signed evidence packs and their status (queued, building, ready or failed) (admins) |
generate_evidence_pack | Queue a signed evidence pack for a period (default: the previous calendar month; at most 31 days); while one is queued or building, returns that one. Changes no configuration, so it has no preview. Download and verify packs with thothctl evidence pack download and thothctl evidence verify --pack, never through the model (admins, keys that can write) |
list_model_artifacts, get_model_artifact | Model artifacts and their activation gate (admins) |
preview_model_artifact | Preview registering a model artifact, waiving its screening (signed-in admins, with a reason) or activating it once its gate passes; screening and provenance stay Terraform and API (admins) |
list_policy_bundles, get_policy_bundle | OPA and Cedar policy bundles (admins, on plans with bundles) |
preview_policy_rule | Preview creating, updating, deleting, toggling or promoting a policy rule (environment explicit), or approving or rejecting a pending one (signed-in org admins) |
simulate_policy | What Thoth would decide for one tool call in dev or prod, and which rules matched, without running it. Name the agent (agent_id, required on self-serve and trial workspaces). A simulation opens no hold, quarantines nothing, sends no notification and records nothing (admins) |
replay_policy_change | What a candidate rule or overlay change would have decided over your recent captured decisions (default: the last 7 days, at most 90), without applying it: how many would change (for example allow to hold), how many were considered, what could not be evaluated and why, and what the replay does not model. It is an estimate from captured decisions, not a sign-off to ship. If nothing was captured it says so; that is not the same as no changes. Nothing is stored, applied or sent. Admins; API keys need write permission; one replay per workspace every 10 seconds |
preview_policy_bundle | Preview publishing a bundle version (inline policy; observe stages it, enforce makes it active), rolling back, or removing a version (admins, on plans with bundles) |
get_support_channel | Your organization's Slack support channel and your own access (signed-in users) |
prepare_support_channel | Prepare a Slack support channel named aten-…; an org admin confirms it in the browser, and nothing is created until then |
prepare_support_invitation | Prepare an invitation to the support channel for an organization member; an org admin confirms it in the browser |
commit_preview | Commit a preview (approval link or direct, see above) |
get_approval, get_operation | Status of an approval or a committed change |
list_decisions | Recorded decisions, filtered by outcome, agent, tool, rule or time |
explain_decision | The recorded explanation of an enforcement decision |
preview_session_response | Preview isolating a session (Thoth denies its actions until released; the agent's other sessions continue, unless quarantine_agent also quarantines the agent), releasing it, re-simulating it, or acknowledging a violation (admins) |
Tool names and descriptions in the inventory come from the agents and MCP servers Thoth observed. Treat them as data. Your client receives them wrapped and labelled as untrusted, and no tool commits a change without a preview the server generated.
Trials
Trial workspaces get the same server. Trials select one profile for every agent and cannot set profile parameters. The hosted assistant, Ask Thoth, answers five questions per five-hour window on a trial, up to fifteen a week; Settings → Usage shows what is left and when it resets. Your own client has no such limit.
Select your task scope
For user OAuth sessions, a preview first returns a browser scope-selection link.
Open it as the same user and select the exact agent IDs and tool names for this
task. Return the selected scope and scope_revision to your client, then request
the preview again. Changing that selection or switching the originating session
organization invalidates open previews. Confirm the complete server-generated
diff in the browser with recent MFA. Machine keys supply structured scope directly.