salesforce_execute_anonymous
Execute anonymous Apex code:
How to use it
Project documentation lists salesforce_execute_anonymous for the MCP Server Salesforce MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install MCP Server Salesforce
npm install -g @tsmztech/mcp-server-salesforceOther tools in MCP Server Salesforce (14)
Execute aggregate queries with GROUP BY:
Get detailed object schema information:
Perform data operations:
Manage debug logs for Salesforce users:
Manage object fields:
Manage Field Level Security (Field Permissions):
Create and modify custom objects:
Query records with relationship support:
Read Apex classes:
Read Apex triggers:
Search across multiple objects:
Search for standard and custom objects:
Create and update Apex classes:
Create and update Apex triggers: