salesforce-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SF_PASSWORD | Yes | Salesforce password | |
| SF_USERNAME | Yes | Salesforce username | |
| SF_LOGIN_URL | No | Login URL (use https://test.salesforce.com for sandboxes) | https://login.salesforce.com |
| SF_SECURITY_TOKEN | No | Security token (appended to password) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| salesforce_queryA | Execute a SOQL query (returns first batch, up to 2000 records) |
| salesforce_query_allB | Execute a SOQL query with automatic pagination to retrieve all matching records. Use maxRecords to cap the result size. |
| salesforce_query_moreB | Fetch the next batch of results from a previous query using the nextRecordsUrl. Useful for manual pagination. |
| salesforce_searchC | Execute a SOSL search against the Salesforce org |
| salesforce_describe_objectB | Get metadata (fields, relationships, etc.) for a Salesforce sObject |
| salesforce_list_objectsB | List all sObjects available in the Salesforce org |
| salesforce_get_recordC | Get a single Salesforce record by its ID |
| salesforce_create_recordC | Create a new record in Salesforce |
| salesforce_update_recordC | Update an existing Salesforce record |
| salesforce_delete_recordC | Delete a Salesforce record by ID |
| salesforce_list_reportsB | List all reports available in the Salesforce org |
| salesforce_run_reportC | Execute a Salesforce report by its ID and return the results |
| salesforce_describe_reportA | Get metadata about a report — columns, filters, groupings, and report type |
| salesforce_list_dashboardsB | List all dashboards available in the Salesforce org |
| salesforce_get_dashboardC | Get dashboard component data and status for a specific dashboard |
| salesforce_tooling_queryA | Execute a SOQL query against the Tooling API. Use this to inspect Apex classes, triggers, Visualforce pages, Lightning components, flows, validation rules, and other metadata. Example: SELECT Id, Name, Body FROM ApexClass WHERE Name = 'MyClass' |
| salesforce_get_metadata_componentB | Retrieve a single metadata component by type and full name using the Tooling API. Useful for getting the full body/source of an Apex class, trigger, page, etc. |
| salesforce_describe_tooling_objectA | Get metadata (fields, etc.) for a Tooling API sObject. Use this to discover what fields are available for tooling queries. |
| salesforce_execute_apexB | Execute anonymous Apex code on the Salesforce org. The code runs in a system context. Use System.debug() to output results. Returns the debug log output. |
| salesforce_get_org_limitsA | Get the current org limits and usage, including API calls, storage, data storage, file storage, and more. |
| salesforce_get_org_infoB | Get general information about the Salesforce org: edition, org type, instance, API version, user info, etc. |
| salesforce_rest_apiA | Make a generic REST API call to Salesforce. Use this for any endpoint not covered by other tools. The path is relative to the instance URL (e.g. '/services/data/v60.0/sobjects/Account/describe/layouts'). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
Most tools have clearly distinct resource+action targets: record CRUD, report/dashboard operations, tooling metadata, and org info are well separated. The only real overlap zone is the query family (query, query_all, query_more, tooling_query) plus the generic rest_api escape hatch, but descriptions clarify when each applies (first batch vs auto-pagination vs nextRecordsUrl vs Tooling API).
Nearly all names follow a predictable salesforce_verb_noun snake_case pattern (list_objects, get_record, create_record, run_report, describe_object). Minor deviations exist, notably salesforce_rest_api, which is resource-named rather than verb_named, and the query trio varies only by suffix.
At 22 tools the surface is on the heavy side, but Salesforce is a broad platform and each tool maps to a real capability area (data, reports, dashboards, tooling, Apex, limits). No tool appears redundant enough to be trivially removable.
Coverage is strong: full record CRUD, SOQL with pagination, SOSL search, describe calls, reports/dashboards, Tooling API, anonymous Apex, org limits/info, and a generic REST escape hatch for anything else. Gaps are minor and largely mitigated by rest_api — e.g. no Metadata API deploy/retrieve, no bulk API, no list views or file/attachment tools.