sfcc-dev-mcp
Version:
MCP server for Salesforce B2C Commerce Cloud development assistance including logs, debugging, and development tools
57 lines • 1.56 kB
TypeScript
/**
* SFCC Best Practices Client
*
* Provides access to SFCC development best practices documentation including
* cartridge creation, ISML templates, job framework, LocalServiceRegistry,
* OCAPI hooks, SCAPI hooks, SCAPI custom endpoints, SFRA controllers, and SFRA models.
*/
export interface BestPracticeGuide {
title: string;
description: string;
sections: string[];
content: string;
}
/**
* Client for accessing SFCC best practices documentation
*/
export declare class SFCCBestPracticesClient {
private cache;
private docsPath;
private logger;
constructor();
/**
* Get all available best practice guides
*/
getAvailableGuides(): Promise<Array<{
name: string;
title: string;
description: string;
}>>;
/**
* Get a specific best practice guide
*/
getBestPracticeGuide(guideName: string): Promise<BestPracticeGuide | null>;
/**
* Search across all best practices for specific terms
*/
searchBestPractices(query: string): Promise<Array<{
guide: string;
title: string;
matches: Array<{
section: string;
content: string;
}>;
}>>;
/**
* Get hook reference tables for OCAPI/SCAPI hooks
*/
getHookReference(guideName: string): Promise<Array<{
category: string;
hooks: Array<{
endpoint: string;
hookPoints: string[];
signature?: string;
}>;
}>>;
}
//# sourceMappingURL=best-practices-client.d.ts.map