Skip to main content
Glama

salesforce-mcp

by leilaabdel

apex_execute

Executes Apex REST requests in Salesforce MCP, enabling integration with custom endpoints using specified HTTP methods (GET, POST, PATCH, DELETE). Input action and optional data for streamlined automation.

Instructions

Executes an Apex REST request

Input Schema

NameRequiredDescriptionDefault
actionYesThe Apex REST endpoint to call (e.g., '/MyApexClass')
dataNoData for POST/PATCH requests
methodNoThe HTTP method (default: 'GET')GET

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "The Apex REST endpoint to call (e.g., '/MyApexClass')", "type": "string" }, "data": { "additionalProperties": true, "description": "Data for POST/PATCH requests", "properties": {}, "type": "object" }, "method": { "default": "GET", "description": "The HTTP method (default: 'GET')", "enum": [ "GET", "POST", "PATCH", "DELETE" ], "type": "string" } }, "required": [ "action" ], "type": "object" }

Other Tools from salesforce-mcp

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leilaabdel/MCP-Salesforce'

If you have feedback or need assistance with the MCP directory API, please join our Discord server