Salesforce MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SALESFORCE_PASSWORD | Yes | Your Salesforce password | |
| SALESFORCE_USERNAME | Yes | Your Salesforce username | |
| SALESFORCE_SECURITY_TOKEN | Yes | Your Salesforce security token |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_objectsA | List all available Salesforce objects. Returns: List of dictionaries containing object metadata including name, label, whether it's custom, and other attributes. |
| describe_objectA | Get all fields for a specific Salesforce object. Args: object_name: The API name of the Salesforce object (e.g., 'Account', 'Contact') Returns: Dictionary containing object name and list of field definitions. |
| get_soql_helpA | Get comprehensive help documentation for SOQL (Salesforce Object Query Language). Returns: Dictionary containing SOQL syntax guide, examples, best practices, and common patterns. |
| execute_soql_queryA | Execute a SOQL query against Salesforce. Args: query: The SOQL query string (e.g., 'SELECT Id, Name FROM Account LIMIT 10') Returns: Dictionary containing query, rows, row_count, and columns. IMPORTANT: Before constructing SOQL queries, use the get_soql_help() tool to understand: - Basic SOQL syntax and structure - How to write WHERE clauses and filters - Relationship queries (child-to-parent and parent-to-child) - Aggregate functions and GROUP BY - Common patterns and best practices Important SOQL Rules: 1. CANNOT use SELECT * - You MUST specify column names explicitly 2. Aggregate queries (using COUNT, SUM, AVG, etc.) CANNOT use LIMIT |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/aiyanbo/mcp-salesforce'
If you have feedback or need assistance with the MCP directory API, please join our Discord server