@salesforce/mcp 0.23.6 → 0.24.1
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 +11 -6
- package/lib/registry.js +2 -0
- package/npm-shrinkwrap.json +1004 -790
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -178,16 +178,17 @@ These are the available toolsets.
|
|
|
178
178
|
| Toolset| Description|
|
|
179
179
|
| ----- | ----- |
|
|
180
180
|
| `all` | Enables all available tools from all toolsets. Use caution, this will load over 60 tools. |
|
|
181
|
-
| `
|
|
181
|
+
| `aura-experts` | [Tools which provides Aura component analysis, blueprinting, and migration expertise.](README.md#aura-experts-toolset)|
|
|
182
|
+
| `code-analysis` | [Tools for static analysis of your code using Salesforce Code Analyzer](README.md#code-analysis-toolset)|
|
|
182
183
|
| `data` | [Tools to manage the data in your org, such as listing all accounts.](README.md#data-toolset)|
|
|
183
|
-
| `
|
|
184
|
+
| `lwc-experts` | [Tools to assist with LWC development, testing, optimization, and best practices.](README.md#lwc-experts-toolset)|
|
|
184
185
|
| `metadata` | [Tools to deploy and retrieve metadata to and from your org and your DX project.](README.md#metadata-toolset)|
|
|
185
|
-
| `testing` | [Tools to test your code and features](README.md#testing-toolset)|
|
|
186
|
-
| `other` | [Other useful tools, such as tools for static analysis of your code using Salesforce Code Analyzer.](README.md#other-toolset)|
|
|
187
186
|
| `mobile` | [Tools for mobile development and capabilities.](README.md#mobile-toolset)|
|
|
188
187
|
| `mobile-core` | [A subset of mobile tools focused on essential mobile capabilities.](README.md#mobile-core-toolset)|
|
|
189
|
-
| `
|
|
190
|
-
| `
|
|
188
|
+
| `orgs` | [Tools to manage your authorized orgs.](README.md#orgs-toolset)|
|
|
189
|
+
| `scale-products` | [Tools for detecting and fixing Apex performance antipatterns.](README.md#scale-products-toolset)|
|
|
190
|
+
| `testing` | [Tools to test your code and features](README.md#testing-toolset)|
|
|
191
|
+
| `users` | [Tools to manage org users, such as assigning a permission set.](README.md#users-toolset)|
|
|
191
192
|
|
|
192
193
|
## Configure Tools
|
|
193
194
|
|
|
@@ -315,4 +316,8 @@ Orchestrates the complete Aura to LWC migration workflow. Provides end-to-end gu
|
|
|
315
316
|
- `run_code_analyzer` - (NON-GA) Performs a static analysis of your code using Salesforce Code Analyzer. Includes validating that the code conforms to best practices, checking for security vulnerabilities, and identifying possible performance issues.
|
|
316
317
|
- `describe_code_analyzer_rule` - (NON-GA) Gets the description of a Salesforce Code Analyzer rule, including the engine it belongs to, its severity, and associated tags.
|
|
317
318
|
|
|
319
|
+
### Scale Products Toolset
|
|
320
|
+
|
|
321
|
+
- `scan_apex_class_for_antipatterns` - (NON-GA) Analyzes Apex class files for performance antipatterns and provides recommendations for fixing them. Currently detects: (1) Schema.getGlobalDescribe() usage with optimized alternatives, (2) SOQL queries without WHERE or LIMIT clauses, (3) SOQL queries with unused fields (with fix generation). Distinguishes between different severity levels (e.g., usage in loops vs. ordinary usage). Requires an absolute path to the Apex class file.
|
|
322
|
+
|
|
318
323
|
</details>
|
package/lib/registry.js
CHANGED
|
@@ -19,6 +19,7 @@ import { LwcExpertsMcpProvider } from '@salesforce/mcp-provider-lwc-experts';
|
|
|
19
19
|
import { AuraExpertsMcpProvider } from '@salesforce/mcp-provider-aura-experts';
|
|
20
20
|
import { MobileWebMcpProvider } from '@salesforce/mcp-provider-mobile-web';
|
|
21
21
|
import { DevOpsMcpProvider } from '@salesforce/mcp-provider-devops';
|
|
22
|
+
import { ScaleProductsMcpProvider } from '@salesforce/mcp-provider-scale-products';
|
|
22
23
|
/** -------- ADD McpProvider INSTANCES HERE ------------------------------------------------------------------------- */
|
|
23
24
|
export const MCP_PROVIDER_REGISTRY = [
|
|
24
25
|
new DxCoreMcpProvider(),
|
|
@@ -27,6 +28,7 @@ export const MCP_PROVIDER_REGISTRY = [
|
|
|
27
28
|
new AuraExpertsMcpProvider(),
|
|
28
29
|
new MobileWebMcpProvider(),
|
|
29
30
|
new DevOpsMcpProvider(),
|
|
31
|
+
new ScaleProductsMcpProvider(),
|
|
30
32
|
// Add new instances here
|
|
31
33
|
];
|
|
32
34
|
//# sourceMappingURL=registry.js.map
|