TM

thedaviddias/mcp-llms-txt-explorer

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

78 stars 15 forks 质量 60 趋势 0NOASSERTION

thedaviddias/mcp-llms-txt-explorer 是从 https://github.com/thedaviddias/mcp-llms-txt-explorer. 导入的 MCP 服务器候选

概览

thedaviddias/mcp-llms-txt-explorer 是从 https://github.com/thedaviddias/mcp-llms-txt-explorer. 导入的 MCP 服务器候选

概述(AI 翻译)

一个用于探索带有llms.txt文件网站的模型上下文协议服务器。该服务器帮助您发现和分析实现llms.txt标准的网站。

特色

资源

  • 查看网站llms.txt和 llms-full.txt 文件
  • 解析并验证llms.txt文件内容
  • 访问关于合规网站的结构化数据

工具

  • check_website - 检查网站是否有llms.txt文件
  • 输入域 URL
  • 返回文件位置和验证状态
  • list_websites - 列出已知网站,包含llms.txt文件
  • 返回有关合规网站的结构化数据
  • 支持按文件类型(llms.txt/llms-full.txt)进行过滤

发展

安装依赖:

搭建服务器:

关于自动重建的开发:

安装

通过Smithery安装

通过Smithery自动安装Claude Desktop的mcp-llms-txt-explorer:

手动安装

使用这个服务器:

使用 Claude Desktop 配置

要配合Claude Desktop使用,添加服务器配置:

在 MacOS 上:~/Library/Application Support/Claude/claude_desktop_config.json Windows版:%APPDATA%/Claude/claude_desktop_config.json

对于 npx 的使用,你可以使用:

调试

本页由 AI 翻译,技术细节请以原文为准。

README

MCP LLMS.txt Explorer

A Model Context Protocol server for exploring websites with llms.txt files. This server helps you discover and analyze websites that implement the llms.txt standard.

Features

Resources

  • Check websites for llms.txt and llms-full.txt files
  • Parse and validate llms.txt file contents
  • Access structured data about compliant websites

Tools

  • check_website - Check if a website has llms.txt files
    • Takes domain URL as input
    • Returns file locations and validation status
  • list_websites - List known websites with llms.txt files
    • Returns structured data about compliant websites
    • Supports filtering by file type (llms.txt/llms-full.txt)

Development

Install dependencies:

pnpm install

Build the server:

pnpm run build

For development with auto-rebuild:

pnpm run watch

Installation

Installing via Smithery

To install mcp-llms-txt-explorer for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @thedaviddias/mcp-llms-txt-explorer --client claude

Installing Manually

To use this server:

# Clone the repository
git clone https://github.com/thedaviddias/mcp-llms-txt-explorer.git
cd mcp-llms-txt-explorer

# Install dependencies
pnpm install

# Build the server
pnpm run build

Configuration with Claude Desktop

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "llms-txt-explorer": {
      "command": "node",
      "args": ["/path/to/llms-txt-explorer/build/index.js"]
    }
  }
}

For npx usage, you can use:

{
  "mcpServers": {
    "llms-txt-explorer": {
      "command": "npx",
      "args": ["-y", "@thedaviddias/mcp-llms-txt-explorer"]
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

pnpm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

License

This project is licensed under the MIT License—see the LICENSE file for details.

在 GitHub 查看完整 README

安装

npx -y @thedaviddias/mcp-llms-txt-explorer
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "llms-txt-explorer": { "command": "node", "args": ["/path/to/llms-txt-explorer/build/index.js"] } } }