Salesforce

v1.0.0Business Applicationsstable

🚀 Complete MCP (Model Context Protocol) server for Salesforce integration with Claude Desktop. Provides seamless OAuth authentication, universal CRUD operations on any Salesforce object.

api-integrationclaude-desktopcrmlinuxmacos
Share:
16
Stars
0
Downloads
0
Weekly
0/5

What is Salesforce?

Salesforce is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 🚀 complete mcp (model context protocol) server for salesforce integration with claude desktop. provides seamless oauth authentication, universal crud operations on any salesforce object.

🚀 Complete MCP (Model Context Protocol) server for Salesforce integration with Claude Desktop. Provides seamless OAuth authentication, universal CRUD operations on any Salesforce object.

This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • 🚀 Complete MCP (Model Context Protocol) server for Salesforc

Use Cases

Integrate Salesforce with Claude Desktop for CRM management.
Perform CRUD operations on any Salesforce object.
Authenticate securely via OAuth for Salesforce access.
AiondaDotCom

Maintainer

LicenseBSD-2-Clause
Languagejavascript
Versionv1.0.0
UpdatedApr 6, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-salesforce

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Salesforce

The mcp-salesforce server provides a complete integration between Claude Desktop and Salesforce CRM, enabling AI assistants to perform SOQL queries, create and update records, describe object schemas, and create data backups — all through an OAuth 2.0 Connected App flow. It supports any standard or custom Salesforce object, includes a time-machine feature for comparing data across backup snapshots, and stores credentials securely in a local file rather than requiring environment variables.

Prerequisites

  • Node.js 16 or later installed
  • A Salesforce org (Developer Edition is free at developer.salesforce.com)
  • A Salesforce Connected App with OAuth enabled and callback URL set to http://localhost:9876/callback
  • The Connected App's Consumer Key (Client ID) and Consumer Secret
  • Claude Desktop or another MCP-compatible client
1

Create a Salesforce Connected App

In Salesforce Setup, go to App Manager and create a new Connected App. Enable OAuth settings, set the callback URL to http://localhost:9876/callback, and add the 'api' and 'refresh_token, offline_access' OAuth scopes. Save and copy the Consumer Key and Consumer Secret.

2

Add the server to Claude Desktop config

Edit your Claude Desktop config file to add the mcp-salesforce server. No environment variables are needed — credentials are stored by the setup tool after first run.

{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": ["-y", "@aiondadotcom/mcp-salesforce"]
    }
  }
}
3

Restart Claude Desktop

Quit and reopen Claude Desktop so it launches the Salesforce MCP server. The server tools will now be available in your conversation.

4

Run OAuth authentication via Claude

In a Claude conversation, ask Claude to authenticate with Salesforce. The salesforce_setup tool will prompt you for your Consumer Key, Consumer Secret, and Instance URL, then open a browser for OAuth login. Credentials are saved to ~/.mcp-salesforce.json with restricted permissions.

5

Explore your Salesforce org

After authentication, ask Claude to learn your Salesforce installation. The salesforce_learn tool analyzes all objects and fields in your org, building a local cache that makes subsequent queries faster.

Salesforce Examples

Client configuration

Claude Desktop config for mcp-salesforce. No environment variables required — credentials are managed by the salesforce_setup tool.

{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": ["-y", "@aiondadotcom/mcp-salesforce"]
    }
  }
}

Prompts to try

Example natural language prompts that use the SOQL query, CRUD, backup, and time-machine capabilities.

- "Learn my Salesforce installation and give me an overview of the main objects"
- "Show me all open Opportunities closing this quarter with their amounts"
- "Create a new Contact named Jane Smith at Acme Corp with email [email protected]"
- "Create a full backup of my Salesforce data"
- "Compare the current Account records with the backup from last week and show me what changed"
- "What custom objects do I have and what fields do they contain?"

Troubleshooting Salesforce

OAuth callback fails with 'redirect_uri_mismatch' error

In Salesforce Setup, verify that the Connected App's callback URL is exactly 'http://localhost:9876/callback' (no trailing slash, http not https). Save the Connected App and wait 2-10 minutes for the changes to propagate before retrying.

SOQL queries return INVALID_SESSION_ID or authentication errors

The OAuth refresh token may have expired. Delete ~/.mcp-salesforce.json and re-run the authentication flow by asking Claude to 'Authenticate with Salesforce'. Check that your Connected App's 'Refresh Token Policy' is set to allow long-lived tokens.

The salesforce_learn tool takes a long time or times out on large orgs

Large Salesforce orgs with hundreds of custom objects can take several minutes to analyze. The results are cached in ~/.mcp-salesforce-cache/ so subsequent calls are fast. If it times out, try running it during off-peak hours when API limits are less constrained.

Frequently Asked Questions about Salesforce

What is Salesforce?

Salesforce is a Model Context Protocol (MCP) server that 🚀 complete mcp (model context protocol) server for salesforce integration with claude desktop. provides seamless oauth authentication, universal crud operations on any salesforce object. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Salesforce?

Follow the installation instructions on the Salesforce GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Salesforce?

Salesforce works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Salesforce free to use?

Yes, Salesforce is open source and available under the BSD-2-Clause license. You can use it freely in both personal and commercial projects.

Salesforce Alternatives — Similar Business Applications Servers

Looking for alternatives to Salesforce? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.

n8n

189.1k

A comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou

LobeHub

77.5k

🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.

Jeecgboot

46.4k

AI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。

CowAgent

44.7k

CowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。

Minds Platform

39.2k

Platform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.

Astrbot

32.8k

AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨

Browse More Business Applications MCP Servers

Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-salesforce": { "command": "npx", "args": ["-y", "mcp-salesforce"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Salesforce?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides