RobotsGate
v0.3.1Generate, validate and check robots.txt rules for AI crawlers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_crawlers List the AI crawler registry
Return RobotsGate's AI crawler registry: each crawler's robots.txt token, operator, category (training, dataset, search, user_fetch or other), whether the operator says it respects robots.txt, and a link to the operator's documentation, plus unverified entries and notes. Read-only, no network access. Same data as GET /api/crawlers.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional: only crawlers in this category. |
generate_robots Generate a robots.txt for AI crawlers
Build a robots.txt from per-category choices (allow, block or omit for training, dataset, search, user_fetch or other), optional per-token overrides, a default policy for other bots, paths, sitemaps and custom rules. Returns the file text, a per-crawler summary and notes. Read-only: it only returns text and changes nothing. Same engine as POST /api/generate.
| Parameter | Type | Description |
|---|---|---|
agents | object | Per-token overrides, e.g. {"GPTBot": "block"}. Tokens: letters, digits, "_", "." and "-", up to 64 characters (not "*"). At most 100. |
allow_paths | array | Paths to allow explicitly. Each path starts with "/" or "*" and has no whitespace or "#". At most 100. |
categories | object | Action per crawler category. Omitted categories get no group of their own. |
custom_rules | string | Extra robots.txt lines appended after validation (max 20000 bytes). |
date | string | Date for the header comment (YYYY-MM-DD). Default: today (UTC). |
default | string | Policy for "User-agent: *" (default allow). |
disallow_paths | array | Paths to disallow for "*" and for allowed AI groups. Each path starts with "/" or "*" and has no whitespace or "#". At most 100. |
sitemap | string | A single sitemap URL (alternative to sitemaps). |
sitemaps | array | Absolute http(s) sitemap URLs. At most 20. |
validate_robots Validate robots.txt text
Validate robots.txt text against RFC 9309 and report errors, warnings and, for one URL path, which registry AI crawlers are allowed or blocked and by which rule. Read-only, no network access. Same engine as POST /api/validate. Up to 50,000 characters over MCP (the whole JSON-RPC request must also fit in 64 KB); for larger files use POST /api/validate or check_site.
| Parameter | Type | Description |
|---|---|---|
robots_txt * | string | The robots.txt file content. |
path | string | URL path to test, starting with "/" (default "/"). |
check_site Check which AI crawlers a live site allows
Fetch a site's /robots.txt (http/https on the default port only; private, loopback and internal addresses are refused; up to 512,000 bytes; results cached for 5 minutes) and report, for one path, which registry AI crawlers are allowed or blocked, plus validation errors and warnings. Read-only: one GET of /robots.txt with a RobotsGate user-agent. Same engine as GET /api/check.
| Parameter | Type | Description |
|---|---|---|
url * | string | Site URL or bare hostname, e.g. example.com. Only the scheme and host are used. |
path | string | URL path to test, starting with "/" (default "/"). |