MCP 服务器

llms.txt Generator

de.llms-txt-generator/llms-txt
开发者工具 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Generates, validates, and audits llms.txt files and checks their publication and Lighthouse agentic-browsing compliance.

check_lighthouse_agentic_browsing
Check Lighthouse "Agentic Browsing" rules
Use this when the user only wants to know whether a given llms.txt text passes the Lighthouse 13.3 "Agentic Browsing" audit (llms-txt). Applies exactly its three rules: an H1 exists, at least one Markdown link, more than 50 characters. On failure it returns Lighthouse's original message. Works only on the text provided and does not fetch anything. For a full format check use validate_llms_txt.
只读 幂等
输入模式
{'type': 'object', 'required': ['content'], 'properties': {'content': {'type': 'string', 'maxLength': 200000, 'description': 'The text of the llms.txt file.'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'required': ['passed', 'checks'], 'properties': {'note': {'type': 'string'}, 'checks': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'passed'], 'properties': {'id': {'enum': ['h1', 'links', 'length'], 'type': 'string'}, 'label': {'type': 'string'}, 'passed': {'type': 'boolean'}, 'failureMessage': {'type': 'string'}}}}, 'passed': {'type': 'boolean'}, 'reference': {'type': 'string'}}}
check_published_llms_txt
Check a website's published llms.txt
Use this when the user asks whether a website already has an llms.txt, whether it is served correctly, or why PageSpeed Insights / Lighthouse flags it. Requests exactly one URL, https://<domain>/llms.txt, and reports HTTP status, content type, redirects, the file content, the format validation and the Lighthouse result. Does not crawl other pages and does not change anything on the site. Messages are in German.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'maxLength': 2048, 'minLength': 1, 'description': 'Domain or any URL of the website, e.g. "example.com".'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'required': ['url', 'found', 'status'], 'properties': {'url': {'type': 'string'}, 'note': {'type': 'string'}, 'found': {'type': 'boolean'}, 'status': {'type': 'integer'}, 'content': {'type': 'string'}, 'message': {'type': 'string'}, 'redirects': {'type': 'array', 'items': {'type': 'string'}}, 'lighthouse': {'type': 'object', 'required': ['passed', 'checks'], 'properties': {'checks': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'passed'], 'properties': {'id': {'enum': ['h1', 'links', 'length'], 'type': 'string'}, 'label': {'type': 'string'}, 'passed': {'type': 'boolean'}, 'failureMessage': {'type': 'string'}}}}, 'passed': {'type': 'boolean'}}, 'description': 'Result of the three Lighthouse 13.3 "llms-txt" audit rules.'}, 'validation': {'type': 'object', 'required': ['valid', 'score', 'issues'], 'properties': {'links': {'type': 'number'}, 'score': {'type': 'number', 'maximum': 100, 'minimum': 0}, 'valid': {'type': 'boolean', 'description': 'true when no error-level finding exists.'}, 'issues': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'severity', 'message'], 'properties': {'code': {'type': 'string'}, 'line': {'type': 'number'}, 'message': {'type': 'string'}, 'severity': {'enum': ['error', 'warning', 'info'], 'type': 'string'}}}}, 'byteSize': {'type': 'number'}}, 'description': 'Format check against the llmstxt.org proposal.'}, 'contentType': {'type': 'string'}}}
generate_llms_txt
Generate llms.txt for a website
Use this when the user wants a new llms.txt file for a public website they name. Reads up to 15 public HTML pages of that one domain (start page, XML sitemap, internal links) and returns a ready-to-publish llms.txt draft in Markdown, plus a format validation score, the Lighthouse "Agentic Browsing" result, the status of any llms.txt already published on the site, and the URLs that were left out with the reason. Deterministic: no language model is involved, every title and description is taken from the pages themselves. Limitations: honors robots.txt and stops if the start page is disallowed; does not render JavaScript, does not log in, and does not follow links to other domains; one request can take up to about a minute. Do not use this to fetch arbitrary page content or for sites the user only mentions in passing. Result messages are in German.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'maxLength': 2048, 'minLength': 1, 'description': 'The website, as a bare domain or full URL, e.g. "example.com" or "https://www.example.com".'}, 'maxPages': {'type': 'integer', 'maximum': 25, 'minimum': 3, 'description': 'Upper limit of pages to read. Default 15.'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'required': ['llmsText', 'finalUrl', 'pageCount', 'limitReached', 'validation', 'lighthouse', 'excluded', 'warnings'], 'properties': {'note': {'type': 'string'}, 'excluded': {'type': 'array', 'items': {'type': 'object', 'required': ['url', 'reason'], 'properties': {'url': {'type': 'string'}, 'reason': {'type': 'string'}}}}, 'finalUrl': {'type': 'string'}, 'llmsText': {'type': 'string', 'description': 'The complete llms.txt draft in Markdown.'}, 'maxPages': {'type': 'integer'}, 'siteName': {'type': 'string'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}}, 'pageCount': {'type': 'integer'}, 'lighthouse': {'type': 'object', 'required': ['passed', 'checks'], 'properties': {'checks': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'passed'], 'properties': {'id': {'enum': ['h1', 'links', 'length'], 'type': 'string'}, 'label': {'type': 'string'}, 'passed': {'type': 'boolean'}, 'failureMessage': {'type': 'string'}}}}, 'passed': {'type': 'boolean'}}, 'description': 'Result of the three Lighthouse 13.3 "llms-txt" audit rules.'}, 'validation': {'type': 'object', 'required': ['valid', 'score', 'issues'], 'properties': {'links': {'type': 'number'}, 'score': {'type': 'number', 'maximum': 100, 'minimum': 0}, 'valid': {'type': 'boolean', 'description': 'true when no error-level finding exists.'}, 'issues': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'severity', 'message'], 'properties': {'code': {'type': 'string'}, 'line': {'type': 'number'}, 'message': {'type': 'string'}, 'severity': {'enum': ['error', 'warning', 'info'], 'type': 'string'}}}}, 'byteSize': {'type': 'number'}}, 'description': 'Format check against the llmstxt.org proposal.'}, 'limitReached': {'type': 'boolean', 'description': 'true when the page limit stopped the crawl.'}, 'publishedFile': {'type': 'object', 'description': 'Status of the llms.txt currently published on the site.'}}}
validate_llms_txt
Validate llms.txt content
Use this when the user pastes the text of an llms.txt file and wants it checked or improved. Checks the text against the llmstxt.org format proposal: H1 title, summary blockquote, H2 sections, absolute Markdown links, duplicates, links to other domains, file size and update date. Returns a 0-100 score, findings with severity and line number, and the Lighthouse "Agentic Browsing" result. Works only on the text provided; it does not fetch anything from the internet. Finding messages are in German.
只读 幂等
输入模式
{'type': 'object', 'required': ['content'], 'properties': {'content': {'type': 'string', 'maxLength': 200000, 'minLength': 1, 'description': 'The full text of the llms.txt file.'}, 'expectedHostname': {'type': 'string', 'maxLength': 253, 'description': 'Optional hostname of the website, e.g. "www.example.com". Enables the warning for links to other domains.'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'required': ['validation', 'lighthouse'], 'properties': {'note': {'type': 'string'}, 'lighthouse': {'type': 'object', 'required': ['passed', 'checks'], 'properties': {'checks': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'passed'], 'properties': {'id': {'enum': ['h1', 'links', 'length'], 'type': 'string'}, 'label': {'type': 'string'}, 'passed': {'type': 'boolean'}, 'failureMessage': {'type': 'string'}}}}, 'passed': {'type': 'boolean'}}, 'description': 'Result of the three Lighthouse 13.3 "llms-txt" audit rules.'}, 'validation': {'type': 'object', 'required': ['valid', 'score', 'issues'], 'properties': {'links': {'type': 'number'}, 'score': {'type': 'number', 'maximum': 100, 'minimum': 0}, 'valid': {'type': 'boolean', 'description': 'true when no error-level finding exists.'}, 'issues': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'severity', 'message'], 'properties': {'code': {'type': 'string'}, 'line': {'type': 'number'}, 'message': {'type': 'string'}, 'severity': {'enum': ['error', 'warning', 'info'], 'type': 'string'}}}}, 'byteSize': {'type': 'number'}}, 'description': 'Format check against the llmstxt.org proposal.'}}}
已更改
check_lighthouse_agentic_browsing
2026年10月3日 02:51
已更改
check_published_llms_txt
2026年10月3日 02:51
已更改
validate_llms_txt
2026年10月3日 02:51
已更改
generate_llms_txt
2026年10月3日 02:51
已添加
check_lighthouse_agentic_browsing
2026年9月17日 12:39
已添加
check_published_llms_txt
2026年9月17日 12:39
已添加
validate_llms_txt
2026年9月17日 12:39
已添加
generate_llms_txt
2026年9月17日 12:39