Skip to main content
Glama

list_llms_txt_sources

Retrieve all source URLs for fetching llms.txt files to match specific technologies. Use fetch_llms_txt to access sources, and explore llms-full.txt or llms-mini.txt if needed. SushiMCP assists in context delivery for AI IDEs.

Instructions

This tool lists all available source urls where an llms.txt can be fetched. After reading the listed sources, use fetch_llms_txt to fetch any source that matches a technology in the instructions you received. Prefer llms.txt, but if llms.txt proves inadequate, check to see if other llms-full.txt or llms-mini.txt exist. When done, ask the user if they want to use other tools to search for documentation on any sources this tool could not find.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • Core handler function that lists configured llms.txt sources by formatting them into a text response.
    export const list_llms_txt_sources = async ( extra: RequestHandlerExtra<ServerRequest, ServerNotification>, docSources: Record<string, string> ): Promise<CallToolResult> => { if (Object.keys(docSources).length === 0) { return { content: [{ type: "text", text: "No llms.txt sources configured." }], }; } let formatted_sources = "Available llms.txt sources:\n"; for (const name in docSources) { formatted_sources += `- ${name}: ${docSources[name]}\n`; } const content: TextContent[] = [ { type: "text", text: formatted_sources.trim() }, ]; return { content }; };
  • src/index.ts:107-112 (registration)
    Registers the tool with the MCP server, providing a detailed usage description and a handler wrapper that injects docSources from CLI args.
    server.tool( "list_llms_txt_sources", "This tool lists all available source urls where an llms.txt can be fetched. After reading the listed sources, use fetch_llms_txt to fetch any source that matches a technology in the instructions you received. Prefer llms.txt, but if llms.txt proves inadequate, check to see if other llms-full.txt or llms-mini.txt exist. When done, ask the user if they want to use other tools to search for documentation on any sources this tool could not find.", (extra: RequestHandlerExtra<ServerRequest, ServerNotification>) => list_llms_txt_sources(extra, docSources) );
  • Declares the tool's metadata, description, and annotations in the server's capabilities for protocol compliance.
    list_llms_txt_sources: { name: "list_llms_txt_sources", description: "List the source urls where an llms.txt can be fetched.", annotations: { title: "List llms.txt sources", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false, }, },

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maverickg59/sushimcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server