Salesforce MCP Ts MCP Server

A Model Context Protocol (MCP) server implementation for Salesforce integration in TypeScript

Local serverstdioTypeScript

What is the Salesforce MCP Ts MCP Server?

A Model Context Protocol (MCP) server implementation for Salesforce integration in TypeScript.

What Salesforce MCP Ts does

A TypeScript implementation of a Model Context Protocol (MCP) server for Salesforce integration, allowing LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and CRUD operations.

Key capabilities

  • 🔐 Simplified Password Authentication — Secure OAuth 2.0 Resource Owner Password Credentials Flow
  • 📊 SOQL & SOSL — Execute queries and searches against Salesforce
  • 🔍 Metadata Access — Retrieve object fields, labels, and types
  • ✏️ CRUD Operations — Create, read, update, and delete records
  • 🛠️ Tooling API — Execute Tooling API requests
  • ⚡ Apex REST — Execute Apex REST requests
  • 🌐 REST API — Make direct REST API calls to Salesforce
  • 🐳 Docker Ready — No hardcoded values, fully configurable via environment variables

Requirements

  1. Create a Connected App in Salesforce: - Go to Setup → Apps → App Manager → New Connected App - Fill in basic information (App Name, API Name, Contact Email) - Enable OAuth Settings - Set callback URL: http://localhost:8080/callback (required but not used) - Select OAuth Scopes: - Access your basic information (id, profile, email, address, phone) - Perform requests on your behalf at any

Practical notes

  • Maintained by steffensbola, written in TypeScript.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
authenticate_passwordAuthenticate using username/password with OAuth
run_soql_queryExecute SOQL queries
run_sosl_searchExecute SOSL searches
get_object_fieldsGet metadata for Salesforce objects
get_recordRetrieve specific records by ID
create_recordCreate new records
update_recordUpdate existing records
delete_recordDelete records
tooling_executeExecute Tooling API requests
apex_executeExecute Apex REST requests
restfulMake direct REST API calls

How to install the Salesforce MCP Ts MCP Server

{
  "mcpServers": {
    "salesforce": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "SALESFORCE_CLIENT_ID=your_consumer_key",
        "-e",
        "SALESFORCE_CLIENT_SECRET=your_consumer_secret",
        "-e",
        "SALESFORCE_USERNAME=your_username@domain.com",
        "-e",
        "SALESFORCE_PASSWORD=your_password",
        "-e",
        "SALESFORCE_SECURITY_TOKEN=your_token",
        "-e",
        "SALESFORCE_SANDBOX=true",
        "steffensbola/salesforce-mcp-ts:latest"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  1. Create a Connected App in Salesforce: - Go to Setup → Apps → App Manager → New Connected App - Fill in basic information (App Name, API Name, Contact Email) - Enable OAuth Settings - Set callback URL: http://localhost:8080/callback (required but not used) - Select OAuth Scopes: - Access your basic information (id, profile, email, address, phone) - Perform requests on your behalf at any

Example prompts to try

  • “Use Salesforce MCP Ts to authenticate password.”
  • “Use Salesforce MCP Ts to run soql query.”
  • “Use Salesforce MCP Ts to run sosl search.”

Frequently asked questions

A Model Context Protocol (MCP) server implementation for Salesforce integration in TypeScript Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.