Skip to main content
Glama
dsouza-anush

Salesforce MCP Server for Heroku

by dsouza-anush

Salesforce MCP Server for Heroku

A Model Context Protocol (MCP) server that enables AI agents to interact with Salesforce CRM data.

Deploy to Heroku

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

query

Execute SOQL queries

describe_object

Get object metadata (fields, types, relationships)

create

Create new records

update

Update existing records

delete

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 main

Configure 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.com

For 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-mcp

The 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

SF_LOGIN_URL

Salesforce login URL

No (defaults to production)

SF_USERNAME

Salesforce username

Yes

SF_PASSWORD

Salesforce password

Yes

SF_SECURITY_TOKEN

Security token (if required)

No

API_KEY

API key for web endpoint

No

License

MIT

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    D
    maintenance
    Enables 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 updated
    27
    18
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables 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 updated
    8
    2
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables 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
  • A
    license
    -
    quality
    C
    maintenance
    Enables querying and managing Salesforce records using SOQL, CRUD operations, and schema exploration through natural language or direct tool calls.
    Last updated
    29
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

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/dsouza-anush/mcp-salesforce'

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