LWC MCP Tools Reference (Beta)

MCP Tools for LWC are part of the lwc-experts and aura-experts toolsets.

MCP Tools for LWC is a pilot or beta service that is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the Customer's sole discretion.

LWC provides these MCP tools in the lwc-experts toolset to assist with LWC development, testing, optimization, and best practices.

When working with these tools using Agentforce Vibes Extension, you must enable the a4d-general-rules-no-edit.md and a4d-lwc-rules-no-edit.md global rules. The a4d-general-rules-no-edit.md rule is enabled by default. For more information on configuring rules in Agentforce Vibes, see Agentforce Rules in the Agentforce Vibes Extension Developer Guide.

The tools marked NON-GA are not yet generally available. Specify the --allow-non-ga-tools flag in your DX MCP Server configuration to use them. See Configure the Salesforce DX MCP Server for Your Environment.

Use these MCP tools to facilitate LWC development.

Tool NameGA?Description
guide_lwc_developmentGAProvides comprehensive LWC development workflow and implementation guidelines
guide_lwc_best_practicesGAOffers LWC development best practices and coding standards guidance
create_lwc_component_from_prdGACreates complete Lightning web components from PRD specifications
orchestrate_lwc_component_creationGAProvides step-by-step component creation guidance
orchestrate_lwc_component_optimizationGAOptimizes performance and applies best practices for LWC
guide_lwc_accessibilityGAProvides accessibility guidelines and testing instructions
guide_lwc_rtl_supportGAProvides Right-to-Left (RTL) internationalization support and RTL development guidance
guide_lwc_slds2_uplift_linter_fixesNON-GAAnalyzes LWC code along with the slds-linter output to fix issues based on SLDS 2 guidelines
orchestrate_lwc_slds2_upliftNON-GAProvides migration guidance for upgrading to SLDS 2

Use these MCP tools to improve your testing workflow.

Tool NameGA?Description
orchestrate_lwc_component_testingGAProvides a comprehensive testing workflow and generates tests
create_lwc_jest_testsGAGenerates comprehensive Jest test suites
review_lwc_jest_testsGAReviews and validates Jest test implementations
run_lwc_accessibility_jest_testsGAProvides accessibility testing utilities and Jest integration for LWC
guide_utam_generationNON-GAProvides UI Test Automation Model (UTAM) Page Object generation guidelines and best practices.

Use these MCP tools to review LDS development guidelines and discover LDS wire adapters and UI API type definitions for LWC development.

Tool NameGA?Description
guide_lds_developmentGAProvides LDS development guidelines and component integration
guide_lds_data_consistencyGAProvides data consistency patterns and best practices for using LDS-based components and wire adapters
guide_lds_referential_integrityGAProvides referential integrity patterns for LDS data management
explore_lds_uiapiGAExplores and documents Lightning Data Service UI API capabilities
orchestrate_lds_data_requirementsGAAnalyzes and clarifies LDS data requirements to produce PRD-ready specifications
guide_lds_graphqlGAProvides guidelines on implementing GraphQL patterns to work with Salesforce data through the GraphQL wire adapter
explore_lds_graphql_schemaGAProvides static GraphQL schema information, containing all the common types referred to by Salesforce GraphQL schemas.
create_lds_graphql_read_queryGAProvides guidelines for creating GraphQL read queries
create_lds_graphql_mutation_queryGAProvides guidance for creating GraphQL mutation queries.

Use this tool to speed up your Figma to LWC conversion.

Tool NameGA?Description
guide_figma_to_lwc_conversionGAConverts Figma designs to LWC specifications. Fetching data directly from Figma using this tool isn't currently supported. We recommend that you use the Framelink Figma MCP server along with this tool

Use this tool to build accessible and responsive UI that follows SLDS gudelines.

Tool NameGA?Description
guide_design_generalGAProvides SLDS guidelines and best practices, covering accessibility, responsive design, and correct component usage

Use this MCP tool to assist with Aura-to-LWC migration, validate migration completeness, and convert design specifications.

Tool NameGA?Description
verify_aura_migration_completenessGAProvides a migration completeness checklist and validates results

Use these MCP tools to analyze LWC code and provide guidance on best practices.

Tool NameGA?Description
guide_lwc_securityGAAnalyzes components based on product security and Lightning Web Security guidelines

These Aura MCP tools in the aura-experts toolset assist with Aura-to-LWC migration.

When working with these tools using Agentforce Vibes Extension, you must enable the a4d-general-rules-no-edit.md and a4d-lwc-rules-no-edit.md global rules. The a4d-general-rules-no-edit.md rule is enabled by default. For more information on configuring rules in Agentforce Vibes, see Agentforce Rules in the Agentforce Vibes Extension Developer Guide.

The tools marked NON-GA are not yet generally available. Specify the --allow-non-ga-tools flag in your DX MCP Server configuration to use them. See Configure the Salesforce DX MCP Server for Your Environment.

Tool NameGA?Description
create_aura_blueprint_draftGACreates a comprehensive Product Requirements Document (PRD) blueprint for Aura component migration
enhance_aura_blueprint_draftGAEnhances an existing draft PRD with expert analysis and identify any migration unknowns
transition_prd_to_lwcGAProvides migration guidance for creating LWC components from Aura specifications
orchestrate_aura_migrationGAOrchestrates the complete Aura-to-LWC migration workflow

See Also