Popular starting points. Use Tab or arrow keys to browse results.

Skip to content
Aten SecurityThoth docs

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):

WorkspaceServer URL
Enterprisehttps://grid.<tenant>.atensecurity.com/thoth/mcp/<tenant>
Trial and self-servehttps://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

thothctl mcp config --client claude-code --tenant-id <tenant> > .mcp.json
thothctl mcp config --client cursor --tenant-id <tenant> > .cursor/mcp.json

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
IdentityYour Thoth user, through the browserA control-plane API key
Read and previewAdmins preview; viewers readRead permission
CommitReturns an approval link; you approve in the browser with MFAWrite 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:

export THOTH_ORG_API_KEY="$(op read 'op://<vault>/<item>/credential')"

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

  1. Ask your client for a change, for example "mark orders.list as read-only for the billing agent".
  2. 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.
  3. When the client calls commit_preview while signed in as you, Thoth returns an approval link instead of committing.
  4. 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.
  5. 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

ToolDoes
get_setup_statusSetup progress and the next step
get_attentionItems that need a person, with reasons
list_agents, get_agentRegistered agents and their configuration
get_observe_summaryFor 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_agentsAgents Thoth has seen calling without a registration (admins)
list_tool_inventoryObserved tools; names and descriptions are quoted as untrusted text
list_profilesGovernance profiles you can select
preview_tool_declarationPreview confirming what tools do
get_profile_rules, list_profile_rule_versionsA profile's active rules in this workspace, and their version history. Customise rules with preview_policy_rule
preview_profile_selectionPreview selecting a profile
preview_enforcement_modePreview switching an agent between observe and enforce
preview_agent_quarantinePreview quarantining an agent or lifting its quarantine
preview_kill_switchPreview the kill switch (the agents and endpoints it stops), or lifting it with lift: true
preview_discovered_agentPreview registering, blocking or unblocking a discovered agent
preview_agent_registrationPreview registering a new agent (no approved tools) or changing a registered agent's name or owner
get_slack_approvalsThe Slack approvals channel, the channels Thoth can use, reviewers
list_slack_reviewer_candidatesVerified members who can be Slack reviewers
get_data_handlingWhat Thoth keeps of tool arguments, prompts and tool output
preview_data_handlingPreview changing what Thoth keeps of them
get_compliance_declarationThe compliance regimes the workspace is assessed against, and observe or enforce (admins)
preview_compliance_declarationPreview declaring regimes in observe or enforce, or clearing the declaration; mappings, not certifications
get_recipient_policyThe outside-recipient guard: mode, internal domains, allowed external domains and destinations
preview_recipient_policyPreview changing the guard; a list you give replaces the stored one, and observe shows what enforce would hold
get_siem_decision_streamWhich decisions go to the SIEM, and delivery health (admins)
preview_siem_decision_streamPreview changing the SIEM decision stream
preview_workspace_settingsPreview the shadow-agent policy, and where the webhook, SIEM destination and PAM point (no secrets)
get_org_security_settingsSign-in security: required MFA, sign-in length, IP allowlist, and your address (org admins)
preview_org_security_settingsPreview sign-in security; a signed-in org admin confirms it in the browser
list_team_membersThe workspace's members, roles and status (signed-in admins)
preview_team_memberPreview 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_actionOne action held for approval: agent, tool, why, status
preview_action_resolutionPrepare approving or denying a held action; a signed-in admin confirms it in the browser
list_policy_exceptionsPolicy exception requests and their status (admins; requester text is quoted)
get_policy_exceptionOne exception request and its review
preview_exception_reviewPrepare a review of an exception request; a signed-in admin confirms it in the browser
list_policy_change_artifacts, get_policy_change_artifactPolicy changes drafted from approved exceptions, with their policy in each format (admins)
preview_policy_change_applyPreview 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_approvalsPreview changing the approvals channel or reviewers (by email)
list_api_keysAPI keys: name, prefix, scope, permissions, status (never the key; admins)
preview_api_key_revocationPreview 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_fleetFleets of governed endpoints, and one fleet's summary (admins)
preview_fleetPreview creating, updating or deleting a fleet, or deploying, pausing or rolling back its proxy rollout (admins)
list_endpointsGoverned endpoints and their status, without employee names (admins)
preview_endpointPreview 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_vendorsRegistered MCP server vendors, approval and signature status (admins)
verify_mcp_catalogWhich MCP tools a principal, person or role would be allowed, derived from the policy rules' grants (admins)
preview_mcp_vendorPreview registering, approving, denying or removing an MCP vendor; approving needs a verified signature recorded with Terraform or thothctl (admins)
list_mdm_providersConnected MDM providers and sync status, without their settings (admins)
list_browser_providers, list_browser_policiesBrowser governance providers and policies (admins)
preview_device_governancePreview 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_billingPlan, usage and credits; buying stays in Checkout (admins)
get_reports_overviewDecisions, holds, denials and trends (admins)
list_reports, get_reportGenerated AIRS report snapshots, and one by ID or latest (admins)
generate_reportGenerate 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_reportCompliance risk from recorded decisions, optionally with your own monetary scenarios, which are reported separately and never totalled (admins)
verify_evidence_chainWhether the tamper-evident evidence chain is intact (org admins)
list_evidence_packsSigned evidence packs and their status (queued, building, ready or failed) (admins)
generate_evidence_packQueue 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_artifactModel artifacts and their activation gate (admins)
preview_model_artifactPreview 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_bundleOPA and Cedar policy bundles (admins, on plans with bundles)
preview_policy_rulePreview creating, updating, deleting, toggling or promoting a policy rule (environment explicit), or approving or rejecting a pending one (signed-in org admins)
simulate_policyWhat 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_changeWhat 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_bundlePreview 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_channelYour organization's Slack support channel and your own access (signed-in users)
prepare_support_channelPrepare a Slack support channel named aten-…; an org admin confirms it in the browser, and nothing is created until then
prepare_support_invitationPrepare an invitation to the support channel for an organization member; an org admin confirms it in the browser
commit_previewCommit a preview (approval link or direct, see above)
get_approval, get_operationStatus of an approval or a committed change
list_decisionsRecorded decisions, filtered by outcome, agent, tool, rule or time
explain_decisionThe recorded explanation of an enforcement decision
preview_session_responsePreview 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.

On this page