Accelerate Custom Lightning Type Creation for Agentforce with the Lightning Types MCP Tool (Developer Preview)

The Lightning Types Model Context Protocol (MCP) tool in the Salesforce DX MCP Server provides a dynamic way to create and enhance your custom Lightning types. Salesforce DX MCP Server uses large language models (LLMs) to generate the necessary LightningTypeBundle metadata files, including schema.json, editor.json, and renderer.json. You use these custom Lightning types to generate the custom Lightning Web Component (LWC) responses that you’re looking for. This feature supports Agentforce Employee agents in Lightning Experience and Agentforce Service agents via Enhanced Chat v2. You can also define structured outputs in Prompt Builder with these Lightning types.

Where: The Lightning Types MCP tool is available in the latest version of the Salesforce DX MCP Server (beta).

Note
Note The Lightning Types MCP tool feature is available as a developer preview. Feature isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don’t implement functionality developed with these commands or tools.

When: This feature is available starting the week of February 9, 2026.

How: Access the Lightning Types MCP tool, which works with your integrated development environment (IDE), through Agentforce or other MCP clients of your choice. The Salesforce DX MCP Server is preconfigured in Agentforce Vibes Extension. To interact with the tool, turn on the server in Agentforce, which is a part of Agentforce Vibes Extension. After the server is running, interact with it by using natural language prompts to create, enhance, and get guidance on your custom Lightning types.