Salesforce MCP Server for Heroku
Enables AI agents to interact with Salesforce CRM data, providing tools to execute SOQL queries, retrieve object metadata (fields, types, and relationships), and manage records through create, update, and delete operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Salesforce MCP Server for HerokuFind all open opportunities closing this quarter"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Salesforce MCP Server for Heroku
A Model Context Protocol (MCP) server that enables AI agents to interact with Salesforce CRM data.
Features
SOQL Queries - Execute any SOQL query against your Salesforce org
Object Metadata - Discover fields and relationships for any object
Record Management - Create, update, and delete records
Heroku Native - Designed for Heroku deployment with MCP process support
Related MCP server: MCP Salesforce Lite
Available Tools
Tool | Description |
| Execute SOQL queries |
| Get object metadata (fields, types, relationships) |
| Create new records |
| Update existing records |
| Delete records |
Deployment
One-Click Deploy
Click the "Deploy to Heroku" button above, then configure your Salesforce credentials.
Manual Deploy
git clone https://github.com/dsouza-anush/mcp-salesforce
cd mcp-salesforce
heroku create my-salesforce-mcp
git push heroku mainConfigure Credentials
heroku config:set SF_USERNAME=your-username@example.com
heroku config:set SF_PASSWORD=your-password
heroku config:set SF_SECURITY_TOKEN=your-security-token
heroku config:set SF_LOGIN_URL=https://login.salesforce.comFor sandbox orgs, use https://test.salesforce.com as the login URL.
Register with Heroku AI
After deployment, attach your Heroku AI model:
heroku addons:attach your-main-app::INFERENCE -a my-salesforce-mcpThe mcp-salesforce process is now available via /v1/agents/heroku.
Usage Example
from openai import OpenAI
client = OpenAI(
base_url=os.getenv("INFERENCE_URL") + "/v1",
api_key=os.getenv("INFERENCE_KEY")
)
response = client.chat.completions.create(
model=os.getenv("INFERENCE_MODEL_ID"),
messages=[
{"role": "user", "content": "Find all opportunities closing this quarter"}
],
extra_body={
"heroku": {
"mcp_servers": ["mcp-salesforce"]
}
}
)Environment Variables
Variable | Description | Required |
| Salesforce login URL | No (defaults to production) |
| Salesforce username | Yes |
| Salesforce password | Yes |
| Security token (if required) | No |
| API key for web endpoint | No |
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI agents to interact with Salesforce organizations through natural language by exposing Salesforce APIs (REST, Bulk v2, GraphQL, Tooling, Auth) as MCP tools for querying data, managing records, and executing SOQL queries.Last updated2718MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to securely interact with Salesforce CRM data through SOQL queries, CRUD operations, and metadata exploration. Supports connecting to Salesforce objects like Accounts, Contacts, and Opportunities via OAuth 2.0 authentication.Last updated82MIT
- Flicense-qualityDmaintenanceEnables AI assistants to interact with Salesforce CRM by executing SOQL queries and performing CRUD operations on records such as Leads. It supports secure OAuth 2.0 authentication and provides management for both standard and custom Salesforce fields.Last updated
- Alicense-qualityCmaintenanceEnables querying and managing Salesforce records using SOQL, CRUD operations, and schema exploration through natural language or direct tool calls.Last updated29MIT
Related MCP Connectors
Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…
Run SOQL queries to explore and retrieve Salesforce data. Inspect records, fields, and relationshi…
Run SOQL queries against your Salesforce org to retrieve records and insights. Explore objects, fi…
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/dsouza-anush/mcp-salesforce'
If you have feedback or need assistance with the MCP directory API, please join our Discord server