LWC MCP Tools Reference (Beta)

MCP Tools for LWC are part of several toolsets.

  • lwc-experts-Facilitates LWC development, testing, optimization
  • aura-experts-Assists with Aura-to-LWC migration
  • experts-validation-Validates and scores LWC components for production readiness across accessibility, security, and other best practices

As of August 2026, MCP tools for LWC are superseded by LWC skills. We recommend that you use the corresponding LWC skills where applicable.

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?DescriptionSuperseded by LWC Skill
guide_lwc_developmentGAProvides comprehensive LWC development workflow and implementation guidelinesexperience-lwc-generate
guide_lwc_best_practicesGAOffers LWC development best practices and coding standards guidanceexperience-lwc-generate
create_lwc_component_from_prdGACreates complete Lightning web components from PRD specificationsexperience-lwc-design-generate
explore_slds_blueprintsNON-GARetrieves guidelines for the SLDS component blueprints that you needdesign-systems-slds-apply
explore_slds_stylingNON-GAProvides usage patterns, accessibility notes, and validation checklists for semantic color styling hooks. For all other styling hooks, the tool provides the category, description, optional usage and other propertiesdesign-systems-slds-validate
guide_slds_blueprintsNON-GAProvides comprehensive SLDS component blueprint guidelines, reference documentation, and a complete index of all available blueprints organized by categorydesign-systems-slds-apply
guide_slds_stylingNON-GAProvides comprehensive SLDS styling hook guidelines, reference documentation, and a complete overview of available styling hooks by category, including principles, patterns, and accessibility notesdesign-systems-slds-apply
orchestrate_lwc_component_creationGAProvides step-by-step component creation guidanceexperience-lwc-design-generate
orchestrate_lwc_component_optimizationGAOptimizes performance and applies best practices for LWCexperience-lwc-design-generate
guide_component_accessibilityGAProvides accessibility guidelines and testing instructionsexperience-lwc-accessibility-validate
guide_lwc_rtl_supportGAProvides right-to-left (RTL) internationalization support and RTL development guidanceexperience-lwc-rtl-validate
orchestrate_lwc_slds2_upliftNON-GAProvides migration guidance for upgrading to SLDS 2design-systems-slds2-migrate
reference_lwc_compilation_errorGAProvides details for LWC compilation errors, including error patterns, possible causes, and recommended fixesN/A

Use these MCP tools to improve your testing workflow.

Tool NameGA?DescriptionSuperseded by LWC Skill
orchestrate_lwc_component_testingGAProvides a comprehensive testing workflow and generates testsexperience-lwc-test
create_lwc_jest_testsGAGenerates comprehensive Jest test suitesexperience-lwc-generate
review_lwc_jest_testsGAReviews and validates Jest test implementationsexperience-lwc-generate
run_lwc_accessibility_jest_testsGAProvides accessibility testing utilities and Jest integration for LWCN/A
guide_utam_generationNON-GAProvides UI Test Automation Model (UTAM) Page Object generation guidelines and best practices.experience-lwc-test

Use these MCP tools to identify the right base components for your use case.

Tool NameGA?DescriptionSuperseded by LWC Skill
guide_lbc_usageGAProvides an index of base components to help identify which components you can useexperience-lwc-base-components-integrate
explore_lbc_componentsGAProvides guidance on base component usagedesign-systems-slds-apply

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

Tool NameGA?DescriptionSuperseded by LWC Skill
guide_lds_developmentGAProvides LDS development guidelines and component integrationexperience-lds-best-practices-apply
guide_lds_data_consistencyGAProvides data consistency patterns and best practices for using LDS-based components and wire adaptersexperience-lds-best-practices-apply
guide_lds_referential_integrityGAProvides referential integrity patterns for LDS data managementexperience-lds-best-practices-apply
explore_lds_uiapiGAExplores and documents Lightning Data Service UI API capabilitiesexperience-lds-best-practices-apply
orchestrate_lds_data_requirementsGAAnalyzes and clarifies LDS data requirements to produce PRD-ready specificationsexperience-lds-data-requirements-generate
guide_lds_graphqlGAProvides guidelines on implementing GraphQL patterns to work with Salesforce data through the GraphQL wire adapterexperience-lds-graphql-generate
fetch_lds_graphql_schemaGAProvides static GraphQL schema information, containing all the common types referred to by Salesforce GraphQL schemas.N/A
create_lds_graphql_read_queryGAProvides guidelines for creating GraphQL read queriesexperience-lds-graphql-generate
create_lds_graphql_mutation_queryGAProvides guidance for creating GraphQL mutation queries.experience-lds-graphql-generate
test_lds_graphql_queryGATests a GraphQL query against a connected Salesforce org and returns the result. Invoked only from the create_lds_graphql_read_query and create_lds_graphql_mutation_query toolsN/A

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

Tool NameGA?DescriptionSuperseded by LWC Skill
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 toolexperience-lwc-design-generate

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

Tool NameGA?DescriptionSuperseded by LWC Skill
guide_figma_to_lwc_conversionGAProvides SLDS guidelines and best practices, covering accessibility, responsive design, and correct component usageexperience-lwc-design-generate

Use these MCP tools to assist with Aura-to-LWC or Lightning Out migrations, and validate migration completeness.

Tool NameGA?DescriptionSuperseded by LWC Skill
verify_aura_migration_completenessGAProvides a migration completeness checklist and validates resultsN/A
guide_lo_migrationGAConverts a Lightning Out (beta) host page into a Lightning Out 2.0 pageN/A

Use this security tool to analyze LWC code and provide guidance on best practices.

Tool NameGA?DescriptionSuperseded by LWC Skill
guide_lws_securityGAAnalyzes components based on product security and Lightning Web Security guidelinesexperience-lwc-security-validate

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?DescriptionSuperseded by LWC Skill
create_aura_blueprint_draftGACreates a comprehensive Product Requirements Document (PRD) blueprint for Aura component migrationexperience-aura-lwc-migrate
enhance_aura_blueprint_draftGAEnhances an existing draft PRD with expert analysis and identify any migration unknownsexperience-aura-lwc-migrate
transition_prd_to_lwcGAProvides migration guidance for creating LWC components from Aura specificationsexperience-aura-lwc-migrate
orchestrate_aura_migrationGAOrchestrates the complete Aura-to-LWC migration workflowexperience-aura-lwc-migrate

These LWC validation MCP tools in the experts-validation toolset validates and scores LWC components for production readiness across accessibility, security, and other best practices.

Tool NameGA?DescriptionSuperseded by LWC Skill
validate_and_optimizeGAPerforms a one-time analysis for guidance to validate and optimize your componentN/A
score_issuesGAComputes the readiness score (0-100) and quality gradeN/A

See Also