Sundew exposes three trap surfaces, each targeting a different way AI agents discover and interact with services.Documentation Index
Fetch the complete documentation index at: https://docs.sundew.sh/llms.txt
Use this file to discover all available pages before exploring further.
REST API trap
Serves persona-aware endpoints with realistic fake data, authentication, and auto-generated OpenAPI/Swagger documentation. What it does:- Generates endpoints matching the persona’s industry (e.g.,
/api/v2/transactionsfor fintech) - Supports authentication: bearer JWT, API key (header/query), basic auth, OAuth2
- Serves OpenAPI specs at
/openapi.jsonthat AI agents automatically consume - Returns structured fake data with realistic field names, UUIDs, timestamps
- Simulates configurable response latency (10–2000ms)
MCP server trap
A fully protocol-compliant Model Context Protocol server with persona-specific tool names and behaviors. What it does:- Registers as a discoverable MCP server
- Exposes tools that match the persona’s industry theme
- Returns hardcoded fake responses -never executes real commands
- Logs all MCP interactions for fingerprinting
query_transactions-returns fake transaction dataget_customer_profile-returns fake customer recordsread_config-returns fake configuration with canary tokens
AI discovery trap
Endpoints that AI agents naturally probe when scanning for services to interact with. Endpoints served:| Path | Purpose |
|---|---|
/.well-known/ai-plugin.json | OpenAI plugin manifest -signals AI-targetable service |
/.well-known/mcp.json | MCP server discovery |
/robots.txt | Contains Allow: directives that attract crawlers |
/sitemap.xml | Lists persona-generated pages and endpoints |
/openapi.json | Full OpenAPI spec for the REST API trap |
Enabling and disabling traps
Control which traps are active insundew.yaml: