The LLMGenerator MCP (Model Context Protocol) server lets AI agents generate, inspect, and validateDocumentation Index
Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt
Use this file to discover all available pages before exploring further.
llms.txt files on your behalf — without leaving the chat.
Endpoint: https://mcp.llmgenerator.com/mcp
Prerequisites
You need an LLMGenerator API key. Get one in your API Keys settings. Your key will look like:llmgen_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Setup
- Claude Desktop
- Claude Code CLI
- Cursor
- Windsurf
Edit the config file:Restart Claude Desktop. You should see the LLMGenerator tools listed under the tools icon in the chat.
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows / Linux:
~/.config/claude/claude_desktop_config.json
Available Tools
Once connected, your AI agent has access to 9 tools:| Tool | Description |
|---|---|
generate_llms_txt | Start generating an llms.txt for any website URL |
get_generation_status | Poll a job until it completes |
list_sites | List all your generated sites |
get_site | Get details and file URLs for one site |
get_llms_txt_content | Fetch the actual llms.txt text content |
discover_urls | Crawl a site and discover its URLs |
get_discovered_urls | Get the URL list from a discovery job |
get_credit_balance | Check your credit balance and recent transactions |
validate_llms_txt | Validate any llms.txt content and get a quality score |
Example Prompts
Once connected, you can ask your AI agent naturally:Generate llms.txt for a website
Generate llms.txt for a website
“Generate an llms.txt file for stripe.com”The agent will call
generate_llms_txt, poll get_generation_status until complete, then return the result.List and read existing files
List and read existing files
“Show me all my generated sites and fetch the llms.txt content for the most recent one”The agent calls
list_sites then get_llms_txt_content.Validate llms.txt content
Validate llms.txt content
“Validate this llms.txt and tell me how to improve it: [paste content]”The agent calls
validate_llms_txt and returns a score (0–100) with specific suggestions.Discover site URLs before generating
Discover site URLs before generating
“Discover the URLs on docs.example.com before I decide which ones to include”The agent calls
discover_urls then get_discovered_urls and lists them for you.Check credits
Check credits
“How many credits do I have left?”The agent calls
get_credit_balance and shows your balance and recent usage.How It Works
The MCP server runs on Cloudflare Workers and acts as a thin proxy over the LLMGenerator REST API. Your API key is forwarded with each request — the server itself stores nothing.429 error with a clear message.
Credit Usage
MCP tool calls consume the same credits as direct API calls:| Tool | Credits |
|---|---|
generate_llms_txt (simple method) | 1 credit |
generate_llms_txt (enhanced method) | 2 credits |
discover_urls (first scan) | Free |
discover_urls (rescan) | 10 credits |
All read tools (list_sites, get_site, etc.) | Free |
validate_llms_txt | Free |
Troubleshooting
Tools not showing in my AI client
Tools not showing in my AI client
- Confirm the URL is exactly
https://mcp.llmgenerator.com/mcp(note the/mcppath) - Check that your API key starts with
llmgen_ - Restart your AI client after saving the config
- Test the connection directly:
401 Unauthorized error
401 Unauthorized error
429 Rate limit exceeded
429 Rate limit exceeded
You’ve made more than 60 requests in a minute with the same API key. Wait 60 seconds and try again. If you need higher limits, contact us.
Generation job stuck in 'processing'
Generation job stuck in 'processing'
Generation can take 1–3 minutes for large sites. The agent should keep polling
get_generation_status automatically. If it stays stuck for over 5 minutes, try regenerating.Protocol Details
For developers integrating the MCP server programmatically:- Transport: Streamable HTTP (stateless, no sessions)
- Protocol version: MCP
2024-11-05 - Auth:
Authorization: Bearer llmgen_xxxheader - Content-Type: requests must include
Accept: application/json, text/event-stream
OAuth 2.1 browser-based login is on the roadmap. Once available, you’ll be able to connect without manually copying an API key.