# Use the Lightning Base Components MCP Tools (Beta)

The base components MCP tools help you identify the right base components for your use case, while providing usage guidance and examples. These MCP tools are superseded by [the `experience-lwc-base-components-integrate` skill](/docs/platform/lwc/guide/afv-lwc-skills.md).

:::note
MCP Tools for LWC is a pilot or beta service that is subject to the Beta Services Terms at [Agreements - Salesforce.com](https://www.salesforce.com/company/legal/agreements/) or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the [Product Terms Directory](https://ptd.salesforce.com/). Use of this pilot or beta service is at the Customer's sole discretion.
:::

- `guide_lbc_usage` - Provides an index of base components to help identify which components you can use
- `explore_lbc_components` - Provides guidance on base component usage

To use these tools, pass the `--toolsets` flag as part of the `args` property of your MCP configuration file and specify `lwc-experts`. See [Use DX MCP Tools for LWC](/docs/platform/lwc/guide/mcp-intro.md) for configuration details.

:::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](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/devagent-rules.md) in the *Agentforce Vibes Extension Developer Guide*.
:::

## Lightning Base Component Usage Guide Tool (`guide_lbc_usage`)

The `guide_lbc_usage` tool provides descriptions of available base components. It identifies appropriate candidates and invokes `explore_lbc_components` to produce usage examples and guidance on how to use the components.

To use this tool, ask about which base components are available for your use case. Example prompts include:

- Are there any base components that help with layout?
- Use a base component to show links for hierarchical navigation
- I want to show records using cards. Is there a base component for that?

## Lightning Base Component Explorer Tool (`explore_lbc_components`)

The `explore_lbc_components` tool is invoked by the `guide_lbc_usage` tool, providing complete guidance on how to use a base component and showing usage examples. It also provides details for properties, events, and slots. You must use the `guide_lbc_usage` tool first, which identifies which component names to pass to `guide_lbc_usage`.

Only base components in the [Lightning Component Reference](https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/) are available on this tool. Legacy base components (Aura) aren't supported by this tool. For guidance on API modules like `lightning/recordApi`, use the [`explore_lds_uiapi` tool](/docs/platform/lwc/guide/mcp-lds.md) or review the [API modules documentation](https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/api.md) instead.
