返回市场
麦克普大模型文本探索器

麦克普大模型文本探索器

作者:thedaviddias71 星标更新:2025-05-18

项目介绍

MCP LLMS.txt Explorer

<a href="https://glama.ai/mcp/servers/lhyj3pva0z"> <img width="380" height="200" src="https://gips3.baidu.com/it/u=88732743,553749057&fm=3081&app=3081&f=PNG?w=760&h=400" alt="LLMS.txt Explorer MCP server" /> </a>

smithery 徽章

这是一个用于探索包含 llms.txt 文件网站的 Model Context Protocol 服务器。此服务器帮助您发现并分析实现 llms.txt 标准的网站。

功能

资源

  • 检查网站是否有 llms.txt 和 llms-full.txt 文件
  • 解析并验证 llms.txt 文件内容
  • 访问符合标准的网站结构化数据

工具

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

开发

安装依赖项:

pnpm install

构建服务器:

pnpm run build

开发时自动重建:

pnpm run watch

安装

通过 Smithery 安装

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

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

手动安装

要使用此服务器:

# 克隆仓库
git clone https://github.com/thedaviddias/mcp-llms-txt-explorer.git
cd mcp-llms-txt-explorer

# 安装依赖项
pnpm install

# 构建服务器
pnpm run build

使用 Claude Desktop 配置

要在 Claude Desktop 中使用,请添加服务器配置:

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

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

对于 npx 使用,您可以使用:

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

调试

由于 MCP 服务器通过 stdio 进行通信,调试可能会比较困难。我们推荐使用 MCP Inspector,它作为一个包脚本提供:

pnpm run inspector

Inspector 将提供一个 URL,以便您可以在浏览器中访问调试工具。

许可证

本项目根据 MIT 许可证发布——详情见 LICENSE 文件。