Understand the Mobile Development Cycle
Debug Mobile Components
Use the mobile Toolset
Use the mobile-core Toolset
Mobile MCP Tools Reference
Previous Versions
The mobile toolset contains tools to assist in creating Lightning web components that integrate with device-native capabilities such as calendar access, contact access, and document scanning.
create_mobile_lwc_calendar – Provides expert grounding to implement a mobile calendar service feature in a Salesforce Lightning web component (LWC).create_mobile_lwc_contacts – Provides TypeScript API documentation for Salesforce LWC Contacts Service, offering expert guidance for implementing contacts management features in Lightning web components.create_mobile_lwc_document_scanner – Provides TypeScript API documentation for Salesforce LWC Document Scanner, offering expert guidance for implementing document scanning features in Lightning web components.create_mobile_lwc_geofencing – Provides TypeScript API documentation for Salesforce LWC Geofencing Service, offering expert guidance for implementing geofencing features in Lightning web components.create_mobile_lwc_nfc – Provides TypeScript API documentation for Salesforce LWC NFC Service, offering expert guidance for implementing NFC features in Lightning web components.create_mobile_lwc_payments – Provides TypeScript API documentation for Salesforce LWC Payments Service, offering expert guidance for implementing payment processing features in Lightning web components.create_mobile_lwc_app_review – Provides TypeScript API documentation for Salesforce LWC App Review Service, offering expert guidance for implementing app review features in Lightning web components.create_mobile_lwc_ar_space_capture – Provides TypeScript API documentation for Salesforce LWC AR Space Capture, offering expert guidance for implementing AR space capture features in Lightning web components.The tools are invoked automatically based on your prompts. Here are some possible prompts that invoke the Mobile Native Capabilities MCP tools.
Mobile MCP tools for LWC development uses generative AI, which can produce inaccurate or harmful responses. The output generated by AI is often nondeterministic. Before using the generated output, review it for accuracy and safety. You assume responsibility for how the outcomes are applied to your organization.
Note
To generate an LWC that can add an event to the device’s calendar, use a prompt that invokes the create_mobile_lwc_calendar tool.
Create a mobile-friendly Lightning Web Component (LWC) named appointmentScheduler.
To generate an LWC that saves information to the device’s contacts, use a prompt that invokes the create_mobile_lwc_contacts tool.
Create a mobile-friendly Lightning Web Component (LWC) named leadContactSaver.
To generate an LWC that uses the device’s camera to scan a document, use a prompt that invokes the create_mobile_lwc_document_scanner tool.
Create a mobile-friendly Lightning Web Component (LWC) named contractUploader.
To generate an LWC that can monitor a geographic boundary, use a prompt that invokes the create_mobile_lwc_geofencing tool.
Create a mobile-friendly Lightning Web Component (LWC) named siteArrivalMonitor.
To generate an LWC that can read data from an NFC tag, use a prompt that invokes thecreate_mobile_lwc_nfc tool.
Create a mobile-friendly Lightning Web Component (LWC) named inventoryTagReader.
To generate an LWC that can process a payment using the device’s native payment system, use a prompt that invokes the create_mobile_lwc_payments tool.
Create a mobile-friendly Lightning Web Component (LWC) namedfieldPaymentProcessor.
To generate an LWC that lets users rate the application, use a prompt that invokes the create_mobile_lwc_app_review tool.
Create a mobile-friendly Lightning Web Component (LWC) named appFeedback.
To generate an LWC that can scan a room using augmented reality, use a prompt that invokes the create_mobile_lwc_ar_space_capture tool.
Create a mobile-friendly Lightning Web Component (LWC) named roomScanner.
See Also