salesforce-metadata-mcp 2.5.2 → 2.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTFORCE.md +65 -287
- package/CHANGELOG.md +68 -0
- package/README.md +19 -250
- package/TOOLS.md +103 -2034
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.d.ts +3833 -6
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +286 -241
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/deployment.d.ts +4 -0
- package/dist/services/deployment.d.ts.map +1 -1
- package/dist/services/deployment.js +2 -124
- package/dist/services/deployment.js.map +1 -1
- package/dist/services/salesforce.d.ts +243 -1
- package/dist/services/salesforce.d.ts.map +1 -1
- package/dist/services/salesforce.js +1511 -857
- package/dist/services/salesforce.js.map +1 -1
- package/dist/tools/admin.d.ts +3 -0
- package/dist/tools/admin.d.ts.map +1 -0
- package/dist/tools/admin.js +3 -15
- package/dist/tools/admin.js.map +1 -0
- package/dist/tools/agentforce.js +43 -303
- package/dist/tools/apex.js +3 -154
- package/dist/tools/audit.d.ts +3 -0
- package/dist/tools/audit.d.ts.map +1 -0
- package/dist/tools/audit.js +2 -8
- package/dist/tools/audit.js.map +1 -0
- package/dist/tools/automation.js +2 -90
- package/dist/tools/data.d.ts +3 -0
- package/dist/tools/data.d.ts.map +1 -0
- package/dist/tools/data.js +1 -4
- package/dist/tools/data.js.map +1 -0
- package/dist/tools/deployment.js +5 -148
- package/dist/tools/deployment.js.map +1 -1
- package/dist/tools/einstein.d.ts +3 -0
- package/dist/tools/einstein.d.ts.map +1 -0
- package/dist/tools/einstein.js +2 -7
- package/dist/tools/einstein.js.map +1 -0
- package/dist/tools/experience.js +2 -105
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/integrations.js +2 -113
- package/dist/tools/monitoring.d.ts +3 -0
- package/dist/tools/monitoring.d.ts.map +1 -0
- package/dist/tools/monitoring.js +4 -12
- package/dist/tools/monitoring.js.map +1 -0
- package/dist/tools/objects.js +2 -129
- package/dist/tools/omnichannel.d.ts +3 -0
- package/dist/tools/omnichannel.d.ts.map +1 -0
- package/dist/tools/omnichannel.js +3 -28
- package/dist/tools/omnichannel.js.map +1 -0
- package/dist/tools/omnistudio.d.ts +3 -0
- package/dist/tools/omnistudio.d.ts.map +1 -0
- package/dist/tools/omnistudio.js +3 -37
- package/dist/tools/omnistudio.js.map +1 -0
- package/dist/tools/reports.d.ts +3 -0
- package/dist/tools/reports.d.ts.map +1 -0
- package/dist/tools/reports.js +3 -3
- package/dist/tools/reports.js.map +1 -0
- package/dist/tools/security.js +2 -82
- package/dist/tools/ui.js +2 -102
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# salesforce-metadata-mcp
|
|
2
2
|
|
|
3
|
-
[](https://npmjs.com/package/salesforce-metadata-mcp)
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
[](https://modelcontextprotocol.io)
|
|
6
6
|
|
|
7
|
-
**The most comprehensive Salesforce MCP server.**
|
|
7
|
+
**The most comprehensive Salesforce metadata and development MCP server.** 60+ tools for building, configuring, and automating Salesforce orgs directly from Claude or any MCP client.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -46,95 +46,7 @@ See [SETUP.md](SETUP.md) for all authentication methods and detailed setup instr
|
|
|
46
46
|
|
|
47
47
|
---
|
|
48
48
|
|
|
49
|
-
##
|
|
50
|
-
|
|
51
|
-
Bug-fix release: 9 SOAP API compatibility corrections that resolve HTTP 500 errors and incorrect metadata against Salesforce Metadata API v66. Test coverage improved from 78% → 92% (76/83 tools passing).
|
|
52
|
-
|
|
53
|
-
- **`sf_create_list_view`** — Fixed `<allUsers>` → `<allInternalUsers/>` in SharedTo type
|
|
54
|
-
- **`sf_create_email_template`** — Removed invalid `<htmlValue>` element (API v66 incompatible)
|
|
55
|
-
- **`sf_create_page_layout`** — Name field now correctly gets `behavior: Required`
|
|
56
|
-
- **`sf_clone_profile`** — Strips `<tabVisibilities>` for system-managed tabs before re-upsert
|
|
57
|
-
- **`sf_add_picklist_values`** — Switched from Tooling API to `readMetadata` for reliable field lookup
|
|
58
|
-
- **`sf_create_lightning_record_page`** — Fixed element name (`type` not `pageType`), added required `template` and `flexiPageRegions`
|
|
59
|
-
- **`sf_create_letterhead`** — Full WSDL-compliant rewrite: correct element order, `backgroundColor` in header/footer, added `middleLine`
|
|
60
|
-
- **`sf_update_dashboard`** — Creates dashboard when not found, with all required fields including `leftSection`/`rightSection`
|
|
61
|
-
- **`sf_create_quick_action`** — Correct WSDL element order, added `quickActionLayout` support
|
|
62
|
-
|
|
63
|
-
## What's New in v2.5.0
|
|
64
|
-
|
|
65
|
-
45 new tools across 11 categories:
|
|
66
|
-
|
|
67
|
-
- **Admin & Org Management** — Role hierarchy, reset password, freeze user, ETM territories, forecast hierarchy
|
|
68
|
-
- **Object Schema** — Delete custom objects/fields, roll-up summary fields, external ID fields, enable object features
|
|
69
|
-
- **Automation & Flows** — Update/clone flows, flow tests, custom invocable actions
|
|
70
|
-
- **Apex Development** — Search Apex source code, get/read debug logs, create batch and scheduler classes
|
|
71
|
-
- **Deployment & Environments** — Cancel deployments, create scratch orgs, create/refresh sandboxes, export package.xml
|
|
72
|
-
- **Experience Cloud** — Experience containers, site login config, CMS content creation
|
|
73
|
-
- **Data Management** — Export records to CSV, upsert by external ID, get record by ID, SOSL search
|
|
74
|
-
- **Integrations & Events** — Platform Event trigger subscriptions, CDC enablement, Apex REST resources
|
|
75
|
-
- **Monitoring** — Org limits usage, flow runtime errors, Apex test results, deployment history
|
|
76
|
-
- **Agentforce** — Agent channels, clone agents, export agent configurations
|
|
77
|
-
- **OmniStudio** — Export/import components, document generation templates
|
|
78
|
-
|
|
79
|
-
See [CHANGELOG.md](CHANGELOG.md) for full release notes.
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
## What's New in v2.4.0
|
|
84
|
-
|
|
85
|
-
14 new tools across 6 categories:
|
|
86
|
-
|
|
87
|
-
- **Lightning App Page** — `sf_create_lightning_app_page` for Lightning App tab pages
|
|
88
|
-
- **Letterhead** — `sf_create_letterhead` for Classic email template branding
|
|
89
|
-
- **Record Delete** — `sf_delete_record` via REST API
|
|
90
|
-
- **Email** — `sf_send_email` via the emailSimple invocable action
|
|
91
|
-
- **Audit Trail** — `sf_get_setup_audit_trail`, `sf_get_login_history`, `sf_get_event_logs`, `sf_get_field_history`
|
|
92
|
-
- **Org Comparison** — `sf_compare_orgs` using SF CLI aliases
|
|
93
|
-
- **Certificates** — `sf_create_certificate` (self-signed, for callout signing/SSO)
|
|
94
|
-
- **Event Relay** — `sf_create_event_relay` to Amazon EventBridge or event bus
|
|
95
|
-
- **Einstein AI** — `sf_create_einstein_prediction`, `sf_create_next_best_action`, `sf_create_einstein_bot`
|
|
96
|
-
|
|
97
|
-
See [CHANGELOG.md](CHANGELOG.md) for full release notes.
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## What's New in v2.3.0
|
|
102
|
-
|
|
103
|
-
30 new tools across 8 categories:
|
|
104
|
-
|
|
105
|
-
- **OmniStudio — FlexCards** — Create, update, activate, and get FlexCards (OmniUiCard)
|
|
106
|
-
- **OmniStudio — OmniScripts** — Create, update, activate, and get OmniScripts
|
|
107
|
-
- **OmniStudio — DataRaptors** — Create Extract/Transform/Load DataRaptor interfaces
|
|
108
|
-
- **OmniStudio — Integration Procedures** — Create, update, activate, and get Integration Procedures
|
|
109
|
-
- **OmniStudio — Calculation Matrix & Procedure** — Create decision tables and multi-step calculation procedures
|
|
110
|
-
- **OmniChannel — Service Channels & Routing** — Service Channels, Routing Configurations, Queue links, Presence Configurations and Statuses
|
|
111
|
-
- **OmniChannel — Skills & Field Service** — Create skills, assign to agents, create Service Territories and Work Types
|
|
112
|
-
- **Messaging, Chat & Voice** — Messaging Channels (SMS/WhatsApp/etc.), Live Chat Buttons, Embedded Service deployments, Bot escalation routing
|
|
113
|
-
|
|
114
|
-
See [CHANGELOG.md](CHANGELOG.md) for the full release notes.
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
## What's New in v2.2.0
|
|
119
|
-
|
|
120
|
-
47 new tools across 10 categories:
|
|
121
|
-
|
|
122
|
-
- **Objects & Fields** — Update objects/fields, create relationship fields (Lookup/Master-Detail), formula fields
|
|
123
|
-
- **Security** — Assign permission sets, create PSGs, set field-level security, set OWDs, clone/update profiles
|
|
124
|
-
- **UI & Layouts** — Update page layouts, assign layouts to profiles, create/update/assign Lightning pages, set compact layouts
|
|
125
|
-
- **Automation** — Activate flows, create Quick Actions
|
|
126
|
-
- **Apex/VF/Aura** — Update Apex classes, get class source, get code coverage, deploy Visualforce pages, deploy Aura components
|
|
127
|
-
- **Reports & Dashboards** — Create reports, update dashboards, create/share report folders
|
|
128
|
-
- **Users & Data** — Create/update users, assign queue members, create public groups, query/create/update records, bulk import via Bulk API 2.0
|
|
129
|
-
- **Integrations** — Create Outbound Messages, create Auth Providers
|
|
130
|
-
- **Deployment** — Validate deployments (check-only), list metadata components
|
|
131
|
-
- **Experience Cloud** — Publish sites, update site settings, create navigation menus, add member profiles, apply branding
|
|
132
|
-
|
|
133
|
-
See [CHANGELOG.md](CHANGELOG.md) for the full release notes.
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
## Tools (155+)
|
|
49
|
+
## Tools (60+)
|
|
138
50
|
|
|
139
51
|
### Objects & Fields
|
|
140
52
|
| Tool | Description |
|
|
@@ -142,10 +54,6 @@ See [CHANGELOG.md](CHANGELOG.md) for the full release notes.
|
|
|
142
54
|
| `sf_create_custom_object` | Create a custom object with all settings |
|
|
143
55
|
| `sf_create_custom_field` | Create a field on any object (all types) |
|
|
144
56
|
| `sf_add_picklist_values` | Add values to existing picklist fields |
|
|
145
|
-
| `sf_update_custom_object` | Update label, description, or feature toggles on an existing object |
|
|
146
|
-
| `sf_update_custom_field` | Update label, description, help text, required, or default value on an existing field |
|
|
147
|
-
| `sf_create_relationship_field` | Create Lookup or Master-Detail relationship fields |
|
|
148
|
-
| `sf_create_formula_field` | Create formula fields with any return type |
|
|
149
57
|
| `sf_create_custom_metadata_type` | Create a Custom Metadata Type (__mdt) |
|
|
150
58
|
| `sf_create_custom_metadata_record` | Create records for a Custom Metadata Type |
|
|
151
59
|
| `sf_create_custom_label` | Create or update Custom Labels |
|
|
@@ -161,7 +69,6 @@ See [CHANGELOG.md](CHANGELOG.md) for the full release notes.
|
|
|
161
69
|
| Tool | Description |
|
|
162
70
|
|------|-------------|
|
|
163
71
|
| `sf_create_flow` | Create any Flow type with advanced elements |
|
|
164
|
-
| `sf_activate_flow` | Activate the latest version of a Flow |
|
|
165
72
|
| `sf_create_approval_process` | Create multi-step approval processes |
|
|
166
73
|
| `sf_create_validation_rule` | Create data validation rules |
|
|
167
74
|
| `sf_create_workflow_field_update` | Create workflow field update actions |
|
|
@@ -174,59 +81,36 @@ See [CHANGELOG.md](CHANGELOG.md) for the full release notes.
|
|
|
174
81
|
| `sf_create_duplicate_rule` | Create duplicate detection rules |
|
|
175
82
|
| `sf_create_apex_email_service` | Create inbound Apex email services |
|
|
176
83
|
| `sf_create_scheduled_job` | Schedule an Apex class via cron |
|
|
177
|
-
| `sf_create_quick_action` | Create Quick Actions for records or globally |
|
|
178
84
|
|
|
179
85
|
### Security & Access
|
|
180
86
|
| Tool | Description |
|
|
181
87
|
|------|-------------|
|
|
182
88
|
| `sf_create_permission_set` | Create Permission Sets with all permissions |
|
|
183
|
-
| `sf_assign_permission_set` | Assign a Permission Set to a user |
|
|
184
|
-
| `sf_create_permission_set_group` | Create Permission Set Groups |
|
|
185
|
-
| `sf_update_permission_set` | Update object and field permissions on a Permission Set |
|
|
186
|
-
| `sf_create_muting_permission_set` | Create a Muting Permission Set for a group |
|
|
187
|
-
| `sf_set_field_level_security` | Set field read/edit access across Profiles and Permission Sets |
|
|
188
|
-
| `sf_set_org_wide_defaults` | Set org-wide default sharing model for an object |
|
|
189
|
-
| `sf_clone_profile` | Clone an existing Profile to a new name |
|
|
190
|
-
| `sf_update_profile` | Update object/field permissions, tabs, and app visibility on a Profile |
|
|
191
89
|
| `sf_create_role` | Create roles in the role hierarchy |
|
|
192
90
|
| `sf_create_queue` | Create queues with members and objects |
|
|
193
91
|
| `sf_create_named_credential` | Create Named Credentials for callouts |
|
|
194
92
|
|
|
195
|
-
### UI &
|
|
93
|
+
### UI & Experience
|
|
196
94
|
| Tool | Description |
|
|
197
95
|
|------|-------------|
|
|
198
96
|
| `sf_create_lightning_app` | Create Lightning Apps with nav/utility bars |
|
|
199
97
|
| `sf_create_tab` | Create Custom Tabs for objects |
|
|
200
98
|
| `sf_create_compact_layout` | Create Compact Layouts (highlights panel) |
|
|
201
|
-
| `sf_assign_compact_layout` | Set the default compact layout for an object |
|
|
202
99
|
| `sf_create_list_view` | Create List Views with filters and columns |
|
|
203
100
|
| `sf_create_email_template` | Create HTML/text email templates |
|
|
204
101
|
| `sf_create_static_resource` | Create Static Resources from text content |
|
|
205
102
|
| `sf_create_custom_notification_type` | Create Custom Notification Types |
|
|
206
103
|
| `sf_create_report_type` | Create Custom Report Types |
|
|
207
104
|
| `sf_create_dashboard` | Create Dashboards with components |
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
| `sf_create_lightning_record_page` | Create a Lightning Record Page (FlexiPage) |
|
|
211
|
-
| `sf_create_lightning_home_page` | Create a Lightning Home Page (FlexiPage) |
|
|
212
|
-
| `sf_update_lightning_page` | Update an existing Lightning Page |
|
|
213
|
-
| `sf_assign_lightning_page` | Assign a Lightning Page to an Experience site |
|
|
214
|
-
| `sf_create_lightning_app_page` | Create a Lightning App Page (FlexiPage for App tabs) |
|
|
215
|
-
| `sf_create_letterhead` | Create an email letterhead for Classic email templates |
|
|
216
|
-
|
|
217
|
-
### Apex, Visualforce & Aura
|
|
105
|
+
|
|
106
|
+
### Apex Development
|
|
218
107
|
| Tool | Description |
|
|
219
108
|
|------|-------------|
|
|
220
109
|
| `sf_create_apex_class` | Deploy any Apex class to the org |
|
|
221
|
-
| `sf_update_apex_class` | Update an existing Apex class |
|
|
222
|
-
| `sf_get_apex_class` | Retrieve Apex class source via Tooling API |
|
|
223
|
-
| `sf_get_code_coverage` | Get Apex code coverage percentages |
|
|
224
110
|
| `sf_create_apex_trigger` | Deploy an Apex trigger on any object |
|
|
225
111
|
| `sf_create_apex_test_class` | Deploy test classes, optionally run tests |
|
|
226
112
|
| `sf_run_apex_tests` | Run test classes and get pass/fail results |
|
|
227
113
|
| `sf_execute_anonymous_apex` | Execute anonymous Apex and see output |
|
|
228
|
-
| `sf_create_visualforce_page` | Deploy a Visualforce page |
|
|
229
|
-
| `sf_create_aura_component` | Deploy an Aura component bundle |
|
|
230
114
|
|
|
231
115
|
### LWC Development
|
|
232
116
|
| Tool | Description |
|
|
@@ -234,133 +118,36 @@ See [CHANGELOG.md](CHANGELOG.md) for the full release notes.
|
|
|
234
118
|
| `sf_create_lwc` | Deploy a full LWC with HTML, JS, CSS |
|
|
235
119
|
| `sf_update_lwc` | Update an existing LWC component |
|
|
236
120
|
|
|
237
|
-
### Reports & Dashboards
|
|
238
|
-
| Tool | Description |
|
|
239
|
-
|------|-------------|
|
|
240
|
-
| `sf_create_report` | Create Salesforce Reports (Tabular, Summary, Matrix, Joined) |
|
|
241
|
-
| `sf_update_dashboard` | Update title or description on a Dashboard |
|
|
242
|
-
| `sf_create_report_folder` | Create Report or Dashboard folders |
|
|
243
|
-
| `sf_share_report_folder` | Share report/dashboard folders with users, roles, or groups |
|
|
244
|
-
|
|
245
|
-
### Users & Data
|
|
246
|
-
| Tool | Description |
|
|
247
|
-
|------|-------------|
|
|
248
|
-
| `sf_create_user` | Create a new Salesforce user |
|
|
249
|
-
| `sf_update_user` | Update user properties (name, email, active status) |
|
|
250
|
-
| `sf_assign_queue_member` | Add a user to a Queue |
|
|
251
|
-
| `sf_create_public_group` | Create a Public Group for sharing or email |
|
|
252
|
-
| `sf_query_records` | Execute SOQL queries to read records |
|
|
253
|
-
| `sf_create_record` | Create a single SObject record |
|
|
254
|
-
| `sf_update_record` | Update an existing SObject record by ID |
|
|
255
|
-
| `sf_bulk_import_records` | Bulk insert/upsert/update/delete via Bulk API 2.0 |
|
|
256
|
-
| `sf_delete_record` | Delete a single SObject record by ID |
|
|
257
|
-
| `sf_send_email` | Send email from Salesforce via the emailSimple action |
|
|
258
|
-
|
|
259
121
|
### Experience Cloud
|
|
260
122
|
| Tool | Description |
|
|
261
123
|
|------|-------------|
|
|
262
124
|
| `sf_create_experience_site` | Create Experience Cloud sites |
|
|
263
125
|
| `sf_create_experience_page` | Create pages within Experience sites |
|
|
264
|
-
| `sf_publish_experience_site` | Publish a site to make changes live |
|
|
265
|
-
| `sf_update_experience_site` | Update site settings (description, guest access) |
|
|
266
|
-
| `sf_create_navigation_menu` | Create Navigation Menus for a site |
|
|
267
|
-
| `sf_add_experience_site_members` | Add member profiles/permission sets to a site |
|
|
268
|
-
| `sf_set_experience_site_branding` | Apply branding (colors, fonts, logos) to a site |
|
|
269
126
|
|
|
270
127
|
### Agentforce
|
|
271
128
|
| Tool | Description |
|
|
272
129
|
|------|-------------|
|
|
273
|
-
| `sf_create_agent` | Create Agentforce Agents
|
|
274
|
-
| `sf_create_agent_topic` | Create Agent Topics
|
|
275
|
-
| `sf_create_agent_action` | Create Agent Actions
|
|
276
|
-
| `sf_create_agent_planner` | Create GenAiPlannerBundle linking topics to agent |
|
|
277
|
-
| `sf_activate_agent` | Activate an agent |
|
|
278
|
-
| `sf_deactivate_agent` | Deactivate an agent before modifications |
|
|
279
|
-
| `sf_get_agent` | Get full agent configuration |
|
|
280
|
-
| `sf_list_agents` | List all agents in the org |
|
|
281
|
-
| `sf_update_agent_topic` | Update an agent topic (auto deactivate/reactivate) |
|
|
282
|
-
| `sf_update_agent_action` | Update an agent action and regenerate schema files |
|
|
283
|
-
| `sf_delete_agent` | Delete an agent and optionally its topics/actions |
|
|
284
|
-
| `sf_test_agent` | Send a test message and get the agent's response |
|
|
285
|
-
| `sf_get_agent_logs` | Query ConversationDefinitionEventLog for debug info |
|
|
130
|
+
| `sf_create_agent` | Create Agentforce Agents |
|
|
131
|
+
| `sf_create_agent_topic` | Create Agent Topics with instructions |
|
|
132
|
+
| `sf_create_agent_action` | Create Agent Actions linked to Flows/Apex |
|
|
286
133
|
|
|
287
134
|
### External Integrations
|
|
288
135
|
| Tool | Description |
|
|
289
136
|
|------|-------------|
|
|
290
137
|
| `sf_create_connected_app` | Create OAuth Connected Apps |
|
|
291
|
-
| `sf_create_external_data_source` | Create External Data Sources |
|
|
138
|
+
| `sf_create_external_data_source` | Create External Data Sources for Connect |
|
|
292
139
|
| `sf_create_external_object` | Create External Objects (__x) |
|
|
293
140
|
| `sf_create_remote_site_setting` | Whitelist external URLs for callouts |
|
|
294
141
|
| `sf_create_csp_setting` | Create CSP trusted sites for LWC |
|
|
295
|
-
| `sf_create_outbound_message` | Create Workflow Outbound Messages |
|
|
296
|
-
| `sf_create_auth_provider` | Create OAuth Auth Providers |
|
|
297
|
-
| `sf_create_certificate` | Create a self-signed Certificate for callout signing/SSO |
|
|
298
|
-
| `sf_create_event_relay` | Create an Event Relay to Amazon EventBridge or event bus |
|
|
299
142
|
|
|
300
143
|
### Change Sets & Deployment
|
|
301
144
|
| Tool | Description |
|
|
302
145
|
|------|-------------|
|
|
303
146
|
| `sf_create_outbound_change_set` | Create Outbound Change Sets |
|
|
304
147
|
| `sf_add_to_change_set` | Add components to a change set |
|
|
305
|
-
| `sf_deploy_metadata` | Deploy metadata
|
|
306
|
-
| `sf_validate_deployment` | Validate deployment without making changes |
|
|
148
|
+
| `sf_deploy_metadata` | Deploy metadata via Metadata API |
|
|
307
149
|
| `sf_check_deploy_status` | Check deployment job status |
|
|
308
150
|
| `sf_retrieve_metadata` | Retrieve metadata from the org |
|
|
309
|
-
| `sf_list_metadata` | List all components of a metadata type |
|
|
310
|
-
| `sf_compare_orgs` | Compare metadata between two orgs using SF CLI aliases |
|
|
311
|
-
|
|
312
|
-
### OmniStudio
|
|
313
|
-
| Tool | Description |
|
|
314
|
-
|------|-------------|
|
|
315
|
-
| `sf_create_flexcard` | Create an OmniStudio FlexCard with data source, fields, and actions |
|
|
316
|
-
| `sf_update_flexcard` | Update an existing FlexCard |
|
|
317
|
-
| `sf_activate_flexcard` | Activate a FlexCard |
|
|
318
|
-
| `sf_get_flexcard` | Get FlexCard configuration |
|
|
319
|
-
| `sf_create_omniscript` | Create an OmniScript guided interaction flow |
|
|
320
|
-
| `sf_update_omniscript` | Update an OmniScript |
|
|
321
|
-
| `sf_activate_omniscript` | Activate an OmniScript |
|
|
322
|
-
| `sf_get_omniscript` | Get OmniScript configuration |
|
|
323
|
-
| `sf_create_dataraptor` | Create a DataRaptor interface (Extract/Transform/Load) |
|
|
324
|
-
| `sf_get_dataraptor` | Get DataRaptor configuration |
|
|
325
|
-
| `sf_create_integration_procedure` | Create an Integration Procedure |
|
|
326
|
-
| `sf_update_integration_procedure` | Update an Integration Procedure |
|
|
327
|
-
| `sf_get_integration_procedure` | Get Integration Procedure configuration |
|
|
328
|
-
| `sf_activate_integration_procedure` | Activate an Integration Procedure |
|
|
329
|
-
| `sf_create_calculation_matrix` | Create a Calculation Matrix for rule-based lookups |
|
|
330
|
-
| `sf_create_calculation_procedure` | Create a Calculation Procedure with multi-step logic |
|
|
331
|
-
|
|
332
|
-
### Audit Trail & Monitoring
|
|
333
|
-
| Tool | Description |
|
|
334
|
-
|------|-------------|
|
|
335
|
-
| `sf_get_setup_audit_trail` | Query SetupAuditTrail for org configuration change history |
|
|
336
|
-
| `sf_get_login_history` | Query LoginHistory for user login activity |
|
|
337
|
-
| `sf_get_event_logs` | Fetch and parse EventLogFile entries (Login, API, Flow, Apex, etc.) |
|
|
338
|
-
| `sf_get_field_history` | Get field-level change history for a specific record |
|
|
339
|
-
|
|
340
|
-
### Einstein & AI
|
|
341
|
-
| Tool | Description |
|
|
342
|
-
|------|-------------|
|
|
343
|
-
| `sf_create_einstein_prediction` | Create an Einstein Prediction Builder definition |
|
|
344
|
-
| `sf_create_next_best_action` | Create a Next Best Action recommendation strategy |
|
|
345
|
-
| `sf_create_einstein_bot` | Create a classic Einstein Bot with dialogs |
|
|
346
|
-
|
|
347
|
-
### OmniChannel & Field Service
|
|
348
|
-
| Tool | Description |
|
|
349
|
-
|------|-------------|
|
|
350
|
-
| `sf_create_service_channel` | Create an OmniChannel Service Channel |
|
|
351
|
-
| `sf_create_routing_configuration` | Create a Routing Configuration |
|
|
352
|
-
| `sf_create_queue_routing_config` | Link a Routing Configuration to a Queue |
|
|
353
|
-
| `sf_create_presence_configuration` | Create a Presence Configuration for agents |
|
|
354
|
-
| `sf_create_presence_status` | Create a Presence Status |
|
|
355
|
-
| `sf_assign_presence_status` | Assign Presence Status to Profiles/Permission Sets |
|
|
356
|
-
| `sf_create_skill` | Create a Skill for routing or Field Service |
|
|
357
|
-
| `sf_assign_skill_to_agent` | Assign a Skill to a service agent |
|
|
358
|
-
| `sf_create_service_territory` | Create a Field Service Service Territory |
|
|
359
|
-
| `sf_create_work_type` | Create a Field Service Work Type |
|
|
360
|
-
| `sf_create_messaging_channel` | Create a Messaging Channel (SMS, WhatsApp, etc.) |
|
|
361
|
-
| `sf_create_chat_button` | Create a Live Chat Button |
|
|
362
|
-
| `sf_create_embedded_service` | Create an Embedded Service deployment |
|
|
363
|
-
| `sf_create_bot_routing` | Configure bot escalation to a human agent queue |
|
|
364
151
|
|
|
365
152
|
### MCP Server Management
|
|
366
153
|
| Tool | Description |
|
|
@@ -377,19 +164,16 @@ See [CHANGELOG.md](CHANGELOG.md) for the full release notes.
|
|
|
377
164
|
> "Create a custom object called Project__c with fields: Name (text), Status__c (picklist: Planning/Active/Complete), Budget__c (currency), then add a validation rule requiring Budget when Status is Active."
|
|
378
165
|
|
|
379
166
|
**Deploy Apex:**
|
|
380
|
-
> "Create an Apex class called OpportunityService that queries all Opps with Amount > 100000. Then create a test class for it
|
|
381
|
-
|
|
382
|
-
**Create an Agentforce agent:**
|
|
383
|
-
> "Create an Agentforce agent called CRMAssistant that can create Account records. Build the flow, action, topic, planner, and agent — then activate it."
|
|
167
|
+
> "Create an Apex class called OpportunityService that queries all Opps with Amount > 100000. Then create a test class for it."
|
|
384
168
|
|
|
385
|
-
**
|
|
386
|
-
> "Create a
|
|
169
|
+
**Create a flow:**
|
|
170
|
+
> "Create a record-triggered flow on Opportunity that fires after save when Stage = Closed Won. Send an email alert to the owner and create a follow-up Task due in 30 days."
|
|
387
171
|
|
|
388
|
-
**
|
|
389
|
-
> "
|
|
172
|
+
**Set up an LWC:**
|
|
173
|
+
> "Create a Lightning Web Component called accountSummary that displays account name, industry, and annual revenue. Make it available on Record Pages."
|
|
390
174
|
|
|
391
|
-
**
|
|
392
|
-
> "Create
|
|
175
|
+
**Agentforce setup:**
|
|
176
|
+
> "Create an Agentforce agent called SalesAssistant with a topic for Order Management."
|
|
393
177
|
|
|
394
178
|
---
|
|
395
179
|
|
|
@@ -411,28 +195,13 @@ See [CHANGELOG.md](CHANGELOG.md) for the full release notes.
|
|
|
411
195
|
## Documentation
|
|
412
196
|
|
|
413
197
|
- [SETUP.md](SETUP.md) — Prerequisites, authentication, Claude configuration
|
|
414
|
-
- [TOOLS.md](TOOLS.md) — All
|
|
198
|
+
- [TOOLS.md](TOOLS.md) — All 60+ tools with full parameter documentation
|
|
415
199
|
- [AGENTFORCE.md](AGENTFORCE.md) — Agentforce agent creation guide
|
|
416
200
|
- [APEX_LWC.md](APEX_LWC.md) — Apex and LWC development guide
|
|
417
201
|
- [CHANGELOG.md](CHANGELOG.md) — Version history
|
|
418
202
|
|
|
419
203
|
---
|
|
420
204
|
|
|
421
|
-
## CI/CD & Maintenance
|
|
422
|
-
|
|
423
|
-
This repository includes GitHub Actions workflows for automated maintenance:
|
|
424
|
-
|
|
425
|
-
| Workflow | Trigger | Action |
|
|
426
|
-
|----------|---------|--------|
|
|
427
|
-
| `ci.yml` | Push / PR | Build and verify module loads |
|
|
428
|
-
| `publish.yml` | Push tag `v*` | Publish to npm with provenance |
|
|
429
|
-
| `sf-release-monitor.yml` | Feb 1, Jun 1, Oct 1 | Opens a Salesforce release review issue |
|
|
430
|
-
| `api-version-bump.yml` | Feb 1, Jun 1, Oct 1 | Creates a PR to bump the API version |
|
|
431
|
-
|
|
432
|
-
To publish a new version: bump the version in `package.json`, update `CHANGELOG.md`, then push a `vX.Y.Z` tag. The publish workflow handles the rest.
|
|
433
|
-
|
|
434
|
-
---
|
|
435
|
-
|
|
436
205
|
## License
|
|
437
206
|
|
|
438
207
|
MIT
|