Skip to main content
Glama
taurgis

SFCC Development MCP Server

by taurgis

list_sfcc_classes

Discover all available SFCC classes to explore the API scope and understand the class hierarchy for development tasks.

Instructions

Get a complete list of all available SFCC classes. Use this for exploration and discovery when you need to understand the full scope of SFCC APIs, or when you're new to SFCC development and want to see what's available. Good starting point for understanding the SFCC class hierarchy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler specification defining the execution logic for list_sfcc_classes tool. Performs no validation (no params), executes client.getAvailableClasses(), and provides logging.
    list_sfcc_classes: { defaults: (args: ToolArguments) => args, validate: (_args: ToolArguments, _toolName: string) => { // No validation needed for list operation }, exec: async (args: ToolArguments, context: ToolExecutionContext) => { const client = context.docsClient as SFCCDocumentationClient; return client.getAvailableClasses(); }, logMessage: (_args: ToolArguments) => 'List classes', },
  • Tool schema definition with name, description, and empty inputSchema (no required parameters).
    { name: 'list_sfcc_classes', description: "Get a complete list of all available SFCC classes. Use this for exploration and discovery when you need to understand the full scope of SFCC APIs, or when you're new to SFCC development and want to see what's available. Good starting point for understanding the SFCC class hierarchy.", inputSchema: { type: 'object', properties: {}, }, },
  • Registration of list_sfcc_classes in DOC_TOOL_NAMES array, used by DocsToolHandler.canHandle() to determine if it can process this tool.
    export const DOC_TOOL_NAMES = [ 'get_sfcc_class_info', 'search_sfcc_classes', 'search_sfcc_methods', 'list_sfcc_classes', 'get_sfcc_class_documentation', ] as const;
  • Core helper method getAvailableClasses() that initializes documentation cache if needed and returns sorted list of all available SFCC class names.
    async getAvailableClasses(): Promise<string[]> { await this.initialize(); return Array.from(this.classCache.keys()) .sort() .map(className => ClassNameResolver.toOfficialFormat(className)); }
  • Server registration includes SFCC_DOCUMENTATION_TOOLS (containing list_sfcc_classes schema) in the list of available tools returned by ListToolsRequestHandler.
    tools.push(...SFCC_DOCUMENTATION_TOOLS); tools.push(...BEST_PRACTICES_TOOLS); tools.push(...SFRA_DOCUMENTATION_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/taurgis/sfcc-dev-mcp'

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