sfcc-dev-mcp
Version:
MCP server for Salesforce B2C Commerce Cloud development assistance including logs, debugging, and development tools
71 lines • 1.84 kB
TypeScript
/**
* SFCC SFRA Documentation Client
*
* Provides access to SFRA (Storefront Reference Architecture) documentation including
* core classes like Server, Request, Response, QueryString, and the render module.
*/
export interface SFRADocument {
title: string;
description: string;
sections: string[];
content: string;
type: 'class' | 'module';
properties?: string[];
methods?: string[];
}
/**
* Client for accessing SFRA documentation
*/
export declare class SFRAClient {
private cache;
private docsPath;
constructor();
/**
* Get all available SFRA documentation
*/
getAvailableDocuments(): Promise<Array<{
name: string;
title: string;
description: string;
type: string;
}>>;
/**
* Get a specific SFRA document
*/
getSFRADocument(documentName: string): Promise<SFRADocument | null>;
/**
* Search across all SFRA documentation for specific terms
*/
searchSFRADocumentation(query: string): Promise<Array<{
document: string;
title: string;
matches: Array<{
section: string;
content: string;
}>;
}>>;
/**
* Get all methods for a specific SFRA class
*/
getSFRAClassMethods(className: string): Promise<Array<{
name: string;
signature: string;
description: string;
parameters: Array<{
name: string;
type: string;
description: string;
}>;
returns: string;
}>>;
/**
* Get all properties for a specific SFRA class
*/
getSFRAClassProperties(className: string): Promise<Array<{
name: string;
type: string;
description: string;
readOnly?: boolean;
}>>;
}
//# sourceMappingURL=sfra-client.d.ts.map