SuperTokens is Good to agents.
Discry independently scored how well an AI agent can discover and understand the SuperTokens API from what’s public — not whether it’s usable. Below: every signal we checked, what’s costing the score, and what to change.
SCORED UNDER RUBRIC 1.2 · A full re-launch under Discry Score 2.5 — a new behavioral instrument, not comparable to these scores — is in progress.
Discovery
45% of score · 71/100Comprehension
55% of score · 96/100What we found
- An agent ingesting SuperTokens would find a near-ideal markdown surface: every doc page is available as plain `.md`, plus a structured llms.txt index and a 5.2MB llms-full.txt that mirrors the entire documentation set — SuperTokens even ships a dedicated 'Build with AI Tools' guide.
- The Core Driver Interface (CDI) is published as a downloadable OpenAPI spec on SwaggerHub and GitHub, and its error schemas embed actionable recovery data (e.g. `retryAfterMs`) rather than bare status codes.
- Code examples are genuinely agent-usable: realistic values (john@example.com, somePassword123, +1234567890), copy-pasteable curl, and multi-language SDK samples (Node/Express, Python, Go) with task-oriented 'what this accomplishes' framing.
- Discovery leaks points on agent-native signals an agent looks for first: no AGENTS.md in the primary repos, no /.well-known/mcp.json, and no SuperTokens listing in major MCP registries (Glama/Smithery/PulseMCP) — their MCP work is a toolkit for securing other MCP servers, not a discoverable SuperTokens server.
- The sitemap is declared in robots.txt but returns empty/blocked content across three independent fetchers, so an automated crawler cannot use it to enumerate doc pages — a silent discovery gap despite robots.txt being fully AI-permissive.
What to change
Prioritized by impact on discoverability. You (or your docs platform) deploy these — Discry never touches your API.
- 01Make sitemap.xml actually fetchable by automated clients (it currently returns empty/blocked content to crawlers despite being referenced in robots.txt) so agents can enumerate the full docs tree.
- 02Add an AGENTS.md to the primary repos (supertokens-core, supertokens-node, supertokens-auth-react) pointing coding agents at the .md docs, llms-full.txt, and the CDI/FDI specs — a high-leverage, low-effort discovery win.
- 03Publish a SuperTokens MCP server entry in Glama/Smithery/PulseMCP (distinct from the auth-for-MCP toolkit) and add a /.well-known/mcp.json so agents can discover programmatic access without crawling docs.
- 04Trim or split the llms.txt (currently ~52KB) toward a tighter, top-level capability overview so an agent can grasp core recipes in under 5,000 tokens before drilling into llms-full.txt.
- 05Document idempotency behavior for state-changing endpoints (sign-up, session create, bulk import) so agents can safely retry after timeouts without creating duplicates.
Execution coverage · INFORMATIONAL, UNSCORED
Whether an agent can actually complete a call and recover from errors is the deeper Audit layer — documented here, but not part of the Discry Score.
Execution characteristics are documented thoroughly. Errors are machine-parseable JSON with a stable `status` enum (e.g. OK, WRONG_CREDENTIALS_ERROR, FIELD_ERROR, LIMIT_REACHED_ERROR, GENERAL_ERROR) and rate-limit responses carry an explicit `retryAfterMs`. Rate limits, cursor pagination (bulk import), and multiple auth modes are all documented; idempotency keys are not mentioned. Claims are documentation-only and would require a live audit to verify.