MCP LLMS.txt 探索工具

MCP LLMS.txt 探索工具

用于探索包含 llms.txt 文件的网站的 MCP 服务器。

快速入门

安装依赖

运行以下命令安装依赖:

pnpm install

构建项目

构建服务器:

pnpm run build

开发模式下自动重建:

pnpm run watch

使用 Smithery 安装

通过 Smithery 自动安装:

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

手动安装

  1. 克隆仓库:

     git clone https://github.com/thedaviddias/mcp-llms-txt-explorer.git
     cd mcp-llms-txt-explorer
    
  2. 安装依赖并构建:

     pnpm install
     pnpm run build
    

配置 Claude Desktop

在配置文件中添加以下内容:

{
  "mcpServers": {
    "llms-txt-explorer": {
      "command": "/path/to/llms-txt-explorer/build/index.js"
    }
  }
}

或使用 npx:

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

调试

使用以下命令启动调试工具:

pnpm run inspector

访问生成的 URL 进行调试。