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.

note: 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 MCP Tools

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

important: 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.

Development Tools

Use these MCP tools to facilitate LWC development.

Tool Name GA? Description Superseded by LWC Skill
guide_lwc_development GA Provides comprehensive LWC development workflow and implementation guidelines experience-lwc-generate
guide_lwc_best_practices GA Offers LWC development best practices and coding standards guidance experience-lwc-generate
create_lwc_component_from_prd GA Creates complete Lightning web components from PRD specifications experience-lwc-design-generate
explore_slds_blueprints NON-GA Retrieves guidelines for the SLDS component blueprints that you need design-systems-slds-apply
explore_slds_styling NON-GA Provides 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 properties design-systems-slds-validate
guide_slds_blueprints NON-GA Provides comprehensive SLDS component blueprint guidelines, reference documentation, and a complete index of all available blueprints organized by category design-systems-slds-apply
guide_slds_styling NON-GA Provides comprehensive SLDS styling hook guidelines, reference documentation, and a complete overview of available styling hooks by category, including principles, patterns, and accessibility notes design-systems-slds-apply
orchestrate_lwc_component_creation GA Provides step-by-step component creation guidance experience-lwc-design-generate
orchestrate_lwc_component_optimization GA Optimizes performance and applies best practices for LWC experience-lwc-design-generate
guide_component_accessibility GA Provides accessibility guidelines and testing instructions experience-lwc-accessibility-validate
guide_lwc_rtl_support GA Provides right-to-left (RTL) internationalization support and RTL development guidance experience-lwc-rtl-validate
orchestrate_lwc_slds2_uplift NON-GA Provides migration guidance for upgrading to SLDS 2 design-systems-slds2-migrate
reference_lwc_compilation_error GA Provides details for LWC compilation errors, including error patterns, possible causes, and recommended fixes N/A

Testing Tools

Use these MCP tools to improve your testing workflow.

Tool Name GA? Description Superseded by LWC Skill
orchestrate_lwc_component_testing GA Provides a comprehensive testing workflow and generates tests experience-lwc-test
create_lwc_jest_tests GA Generates comprehensive Jest test suites experience-lwc-generate
review_lwc_jest_tests GA Reviews and validates Jest test implementations experience-lwc-generate
run_lwc_accessibility_jest_tests GA Provides accessibility testing utilities and Jest integration for LWC N/A
guide_utam_generation NON-GA Provides UI Test Automation Model (UTAM) Page Object generation guidelines and best practices. experience-lwc-test

Lightning Base Components Tools

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

Tool Name GA? Description Superseded by LWC Skill
guide_lbc_usage GA Provides an index of base components to help identify which components you can use experience-lwc-base-components-integrate
explore_lbc_components GA Provides guidance on base component usage design-systems-slds-apply

Lightning Data Service (LDS) Tools

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

Tool Name GA? Description Superseded by LWC Skill
guide_lds_development GA Provides LDS development guidelines and component integration experience-lds-best-practices-apply
guide_lds_data_consistency GA Provides data consistency patterns and best practices for using LDS-based components and wire adapters experience-lds-best-practices-apply
guide_lds_referential_integrity GA Provides referential integrity patterns for LDS data management experience-lds-best-practices-apply
explore_lds_uiapi GA Explores and documents Lightning Data Service UI API capabilities experience-lds-best-practices-apply
orchestrate_lds_data_requirements GA Analyzes and clarifies LDS data requirements to produce PRD-ready specifications experience-lds-data-requirements-generate
guide_lds_graphql GA Provides guidelines on implementing GraphQL patterns to work with Salesforce data through the GraphQL wire adapter experience-lds-graphql-generate
fetch_lds_graphql_schema GA Provides static GraphQL schema information, containing all the common types referred to by Salesforce GraphQL schemas. N/A
create_lds_graphql_read_query GA Provides guidelines for creating GraphQL read queries experience-lds-graphql-generate
create_lds_graphql_mutation_query GA Provides guidance for creating GraphQL mutation queries. experience-lds-graphql-generate
test_lds_graphql_query GA Tests 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 tools N/A

Figma to LWC Conversion Tool

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

Tool Name GA? Description Superseded by LWC Skill
guide_figma_to_lwc_conversion GA Converts 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 experience-lwc-design-generate

SLDS Guideline Tool

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

Tool Name GA? Description Superseded by LWC Skill
guide_figma_to_lwc_conversion GA Provides SLDS guidelines and best practices, covering accessibility, responsive design, and correct component usage experience-lwc-design-generate

Migration Tools

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

Tool Name GA? Description Superseded by LWC Skill
verify_aura_migration_completeness GA Provides a migration completeness checklist and validates results N/A
guide_lo_migration GA Converts a Lightning Out (beta) host page into a Lightning Out 2.0 page N/A

Lightning Web Security (LWS) Tools

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

Tool Name GA? Description Superseded by LWC Skill
guide_lws_security GA Analyzes components based on product security and Lightning Web Security guidelines experience-lwc-security-validate

Aura MCP Tools

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

important: 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 Name GA? Description Superseded by LWC Skill
create_aura_blueprint_draft GA Creates a comprehensive Product Requirements Document (PRD) blueprint for Aura component migration experience-aura-lwc-migrate
enhance_aura_blueprint_draft GA Enhances an existing draft PRD with expert analysis and identify any migration unknowns experience-aura-lwc-migrate
transition_prd_to_lwc GA Provides migration guidance for creating LWC components from Aura specifications experience-aura-lwc-migrate
orchestrate_aura_migration GA Orchestrates the complete Aura-to-LWC migration workflow experience-aura-lwc-migrate

LWC Validation Tools

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 Name GA? Description Superseded by LWC Skill
validate_and_optimize GA Performs a one-time analysis for guidance to validate and optimize your component N/A
score_issues GA Computes the readiness score (0-100) and quality grade N/A

See Also