@salesforce/mcp 0.29.4 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/lib/index.d.ts +1 -1
- package/npm-shrinkwrap.json +281 -794
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -176,6 +176,7 @@ These are the available toolsets.
|
|
|
176
176
|
| `data` | Tools to manage the data in your org, such as listing all accounts. | [Link](#data-toolset) |
|
|
177
177
|
| `devops` | Tools to securely and autonomously read, manage, and operate DevOps Center resources. | [Link](#devops-center-toolset) |
|
|
178
178
|
| `enrich_metadata`| Tools to Enrich metadata components in your DX project. | [Link](#enrichment-toolset) |
|
|
179
|
+
| `experts-validation` | Tools to validate and score LWC components for production readiness across accessibility, security, and best practices. | [Link](#experts-validation-toolset) |
|
|
179
180
|
| `lwc-experts` | Tools to assist with Lightning Web Component (LWC) development, testing, optimization, and best practices. | [Link](#lightning-web-components-lwc-experts-toolset) |
|
|
180
181
|
| `metadata` | Tools to deploy and retrieve metadata to and from your org and your DX project. | [Link](#metadata-toolset) |
|
|
181
182
|
| `mobile` | Tools for mobile development and capabilities. | [Link](#mobile-toolset) |
|
|
@@ -261,17 +262,21 @@ For complete documentation, see [Use DX MCP Tools for LWC](https://developer.sal
|
|
|
261
262
|
#### Development Guidelines
|
|
262
263
|
|
|
263
264
|
- `create_lightning_type` (GA) - Provides guidance for creating Custom Lightning Types (CLT) for Salesforce applications, agent actions, Lightning web components, and Lightning Platform integrations.
|
|
264
|
-
- `explore_slds_blueprints` (GA) - Retrieves SLDS blueprint specifications by name, category, Lightning component, CSS class, or styling hook.
|
|
265
|
+
- `explore_slds_blueprints` (NON-GA) - Retrieves SLDS blueprint specifications by name, category, Lightning component, CSS class, or styling hook.
|
|
265
266
|
- `guide_design_general` (GA) - Provides SLDS guidelines and best practices for Lightning Web Components with accessibility, responsive design, and component usage patterns.
|
|
266
267
|
- `guide_lwc_accessibility` (GA) - Provides accessibility guidelines and testing instructions for LWC components.
|
|
267
268
|
- `guide_lwc_best_practices` (GA) - Offers LWC development best practices and coding standards guidance.
|
|
268
269
|
- `guide_lwc_development` (GA) - Provides LWC development workflow and implementation guidelines.
|
|
269
270
|
- `guide_lwc_rtl_support` (GA) - Provides Right-to-Left (RTL) internationalization support and RTL development guidance.
|
|
270
|
-
- `
|
|
271
|
-
- `guide_slds_blueprints` (GA) - Provides comprehensive SLDS blueprints guidelines, reference documentation, and a complete index of all available blueprints by category.
|
|
271
|
+
- `guide_lws_security` (GA) - Provides security analysis in accordance with product security guidelines and Lightning Web Security guidelines.
|
|
272
|
+
- `guide_slds_blueprints` (NON-GA) - Provides comprehensive SLDS blueprints guidelines, reference documentation, and a complete index of all available blueprints by category.
|
|
272
273
|
- `guide_utam_generation` (NON-GA) - Provides UI Test Automation Model (UTAM) Page Object generation guidelines and best practices.
|
|
273
274
|
- `lwc-doc-error` (GA) - Retrieves information about LWC error messages, including static guidance for resolving the issue based on the error code.
|
|
274
275
|
- `reference_lwc_compilation_error` (GA) - References LWC compilation errors by looking up error codes against a knowledge base of documented error patterns, causes, and fixes.
|
|
276
|
+
- `guide_slds_styling` (NON-GA) - Retrieves SLDS styling hooks guidance and reference documentation.
|
|
277
|
+
- `explore_slds_styling` (NON-GA) - Search and explore SLDS styling hooks with support for exact lookup, fuzzy matching, prefix search, and wildcard patterns.
|
|
278
|
+
- `guide_lbc_usage` (GA) - Provides an index of available Lightning Base Components with short descriptions, helping developers identify which components suit their use case.
|
|
279
|
+
- `explore_lbc_components` (GA) - Given a list of Lightning Base Component names, returns full API documentation from markdown knowledge files.
|
|
275
280
|
|
|
276
281
|
#### Lightning Data Service (LDS) Tools
|
|
277
282
|
|
|
@@ -300,6 +305,11 @@ For complete documentation, see [Use DX MCP Tools for LWC](https://developer.sal
|
|
|
300
305
|
- `orchestrate_lwc_component_testing` (GA) - Provides comprehensive testing workflow and test generation guidance.
|
|
301
306
|
- `orchestrate_lwc_slds2_uplift` (NON-GA) - Provides migration guidance for upgrading to SLDS 2.
|
|
302
307
|
|
|
308
|
+
### Experts Validation Toolset
|
|
309
|
+
|
|
310
|
+
- `validate_and_optimize` (GA) - Returns a validation runbook that instructs the agent to run a suite of validators (accessibility, security, best practices, etc.), produce SARIF issues, and score results
|
|
311
|
+
- `score_issues` (GA) - Computes a readiness score (0-100) and quality grade (`draft`, `prototype`, `review-for-production`) from SARIF issues
|
|
312
|
+
|
|
303
313
|
### Metadata Toolset
|
|
304
314
|
|
|
305
315
|
For sample prompts that invoke the core DX MCP tools, see [Use the Core Salesforce DX MCP Tools](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_mcp_use_core_tools.htm) in the _Salesforce DX Developer Guide_.
|
package/lib/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export default class McpServerCommand extends Command {
|
|
|
4
4
|
static description: string;
|
|
5
5
|
static flags: {
|
|
6
6
|
orgs: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
toolsets: import("@oclif/core/interfaces").OptionFlag<(import("@salesforce/mcp-provider-api").Toolset | "all")[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
+
toolsets: import("@oclif/core/interfaces").OptionFlag<(import("@salesforce/mcp-provider-api/src/enums.js").Toolset | "all")[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
tools: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
version: import("@oclif/core/interfaces").BooleanFlag<void>;
|
|
10
10
|
'no-telemetry': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|