Skip to main content
Glama

list_all_categories

Retrieve all icon categories and their corresponding icon counts to organize and explore available icons efficiently in Lucide Icons MCP.

Instructions

List all available icon categories with their icon counts

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": {}, "type": "object" }

Implementation Reference

  • src/utils.ts:211-217 (registration)
    Registers the 'list_all_categories' MCP tool. Includes schema (empty object, no input params), inline handler that returns JSON of all categories using createTextResponse helper, and description.
    // Tool: list_all_categories server.tool( "list_all_categories", "List all available icon categories with their icon counts", {}, async () => createTextResponse(categories) );
  • Helper function used by the tool handler to format the categories data as a text content response with JSON stringified.
    const createTextResponse = (data: any) => ({ content: [ { type: "text" as const, text: JSON.stringify(data, null, 2) } ]

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/SeeYangZhi/lucide-icons-mcp'

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