LogoSTMCP
Download
LLM.txt MCP Server

LLM.txt MCP Server

This project provides tools for managing and searching LLM.txt files for AI server integration.

Tools

1. list_llm_txt

Lists all available LLM.txt files from the directory. Results are cached locally for 24 hours to improve performance. The cache is stored in OS-specific locations for optimal compatibility.

2. get_llm_txt

Fetches the complete content from a specific LLM.txt file using its numeric ID. The ID must be obtained from the list_llm_txt tool first. Returns the full content along with metadata including URL, name, and description.

3. search_llm_txt

Performs multi-query search within a specific LLM.txt file content. Supports case-insensitive searching for multiple substrings simultaneously and provides configurable context lines around matches for better understanding of search results.

JSON Config

{
  "mcpServers": {
    "llm-txt": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-llm-txt"
      ]
    }
  }
}

Information

Categories