Home / Servers / Developer Toolbox / generate_robots_txt

Generate robots txt

An MCP tool from the Developer Toolbox server, hosted on mcp.hjlabs.in.

Compose a robots.txt with allow/disallow rules, an optional crawl delay, a sitemap reference, and an explicit choice about AI crawlers (allow, block, or leave unmentioned).

Name on the gateway: devtools__generate_robots_txt · read-only.

Parameters

NameTypeDescription
sitemapUrlstringAbsolute URL of the sitemap.
allowarrayPaths to allow.
disallowarrayPaths to disallow.
crawlDelaynumberSeconds between requests.
aiCrawlersallow | block | omitDefault "allow".

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "devtools__generate_robots_txt",
  "arguments": {}
}

Or connect the Developer Toolbox server directly, which lists 18 tools including this one:

Run in your terminal
claude mcp add --transport http hj-devtools https://mcp.hjlabs.in/mcp/devtools \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the generate robots txt tool with sitemapUrl set to ….

More from Developer Toolbox