PL

parlance-labs/mcp-llms.txt

API 开发

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

39 stars 2 forks 质量 47 趋势 0

解析llms.txt的最小MCP示例

概览

解析llms.txt的最小MCP示例 请将以下内容添加到你的claude_desktop_config.json文件中(我的文件位于 /Users/hamel/Library/Application Support/Claude/claude_desktop_config.json)

概述(AI 翻译)

用于解析的最小MCP示例 llms.txt

安装

使用 Claude 桌面

将以下内容添加到你的 claude_desktop_config.json 文件中(我的位于 /Users/hamel/Library/Application Support/Claude/claude_desktop_config.json)

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

README

mcp-llms

Minimal example of MCP for parsing llms.txt

Installation

uv pip install -e .

Usage With Claude Desktop

Add the following to your claude_desktop_config.json file (mine is located in /Users/hamel/Library/Application Support/Claude/claude_desktop_config.json)

{
  "mcpServers": {
    ... // other mcp servers
    "llms-txt-parser": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/hamel/git/mcp-llms.txt/mcp_llms", // Path to the mcp_llms directory
        "run",
        "llms_txt.py"
      ],
      "env": {
        "ANTHROPIC_API_KEY": ""
      }
    }
  }
}
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { ... // other mcp servers "llms-txt-parser": { "command": "uv", "args": [ "--directory", "/Users/hamel/git/mcp-llms.txt/mcp_llms", // Path to the mcp_llms directory "run", "llms_txt.py" ], "env": { "ANTHROPIC_API_KEY": "<Your Anthropic API Key>" } } } }