Connect MCP
Connecting your agent to Tracecat Cloud automatically creates an account for you. You can also sign up manually via https://platform.tracecat.com. If you are self-hosted, replacehttps://platform.tracecat.com with your
PUBLIC_APP_URL (e.g. http://localhost or https://tracecat.example.com).
Authentication uses a built-in OIDC provider—your agent is redirected to sign in
through the browser on first connection. For clients or environments that cannot
complete a browser sign-in, authenticate with a
personal access token (PAT) instead.
- Claude Code
- OpenAI Codex
- GitHub Copilot
- Cursor
Sign in with OAuth:Or authenticate with a personal access token (PAT).
Set
TRACECAT_MCP_PAT in your environment and reference it with single
quotes so the variable (not the token) is written to the saved config:Self-host
Docker Compose is the fastest way to self-host. Follow the full Docker Compose guide or the quickstart below.First login
Set the first superadmin’s email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends.- Basic auth: sign up with that email, then log in.
- SSO: log in through your identity provider. Tracecat creates the account on first login.