Skip to main content
Glama
aaronsb

Salesforce MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SF_PASSWORDYesYour Salesforce password
SF_USERNAMEYesYour Salesforce username
SF_CLIENT_IDYesYour Salesforce OAuth client ID
SF_LOGIN_URLNoSalesforce login URL (optional, defaults to https://login.salesforce.com)https://login.salesforce.com
SF_CLIENT_SECRETYesYour Salesforce OAuth client secret

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
batchA

Execute multiple operations in a single call with result references. Use $N.field to reference prior results (e.g., $0.id for the ID from operation 0). Destructive operations require confirm: true.

analyzeA

Run analytics on any Salesforce object — group by categorical fields, aggregate numeric fields, and compute custom expressions. Uses field-type metadata for validation.

analyze_conversationB

Analyze conversation activity and engagement patterns for an opportunity. Extracts insights from Gong calls, emails, and other activities to provide engagement recommendations.

generate_business_caseA

Generate a markdown business case report for an opportunity. Fetches opportunity details, contacts, conversation insights, and similar won deals to produce a complete report.

enrich_opportunityB

Enrich an opportunity with market intelligence, industry insights, and strategic recommendations based on similar deal patterns and best practices.

find_similar_opportunitiesA

Find opportunities similar to a reference opportunity or based on specific criteria. Includes pattern analysis and similarity scoring to identify market trends and success patterns.

opportunity_insightsC

Generate detailed insights and analytics from opportunity data including pipeline health, performance metrics, industry trends, and strategic recommendations.

get_opportunity_detailsA

Get detailed information about a Salesforce opportunity including all available fields (both standard and custom), related records, and metadata

search_opportunitiesA

Search for Salesforce opportunities by name, account, and stage. Returns matching opportunities ordered by close date. Results include both standard and custom fields.

execute_soqlA

Execute a SOQL query. Supports querying both standard and custom fields (custom fields end with __c in their API names). Use describe_object first to discover available fields.

describe_objectA

Get metadata about a Salesforce object, including both standard and custom fields when includeFields is true. Use this to discover available fields and their API names, especially useful for finding custom fields (ending in __c)

create_recordB

Create a new record in Salesforce. Supports both standard and custom fields in the data object.

update_recordA

Update an existing record in Salesforce. Supports updating both standard and custom fields.

delete_recordB

Delete a record from Salesforce

get_user_infoB

Get information about the current user

download_fileA

Download a file from Salesforce. Accepts a ContentVersionId (068...) or ContentDocumentId (069...). Saves to a sandboxed workspace directory (default: ~/.local/share/salesforce-cloud-mcp/workspace/, configurable via SF_WORKSPACE_DIR). Text files (CSV, JSON, XML, TXT, etc.) also return content inline. Binary files return the saved path.

list_objectsB

List all available Salesforce objects, including both standard and custom objects

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/aaronsb/salesforce-cloud'

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