drio
Open app

Salesforce MCP Server

Source

An MCP (Model Context Protocol) server implementation that integrates Claude with Salesforce, enabling natural language interactions with your Salesforce data and metadata. This server allows Claude to query, modify, and manage your Salesforce objects and records using everyday language.

Catalog onlyCatalog onlySTDIO

Overview

Salesforce MCP Server is an implementation of the Model Context Protocol (MCP) that integrates Claude with Salesforce, allowing users to interact with Salesforce data and metadata using natural language.

To use the Salesforce MCP Server, install it via npm and authenticate with Salesforce using either username/password or OAuth2 methods. After setup, you can issue commands in natural language to manage Salesforce objects and records.

  • Object and Field Management: Create and modify custom objects and fields using natural language. - Smart Object Search: Find Salesforce objects using partial name matches. - Detailed Schema Information: Get comprehensive field and relationship details for any object. - Flexible Data Queries: Query records with relationship support and complex filters. - Data Manipulation: Insert, update, delete, and upsert records with ease. - Cross-Object Search: Search across multiple objects using SOSL. - Intuitive Error Handling: Clear feedback with Salesforce-specific error details.
  1. Managing Salesforce objects and fields through natural language commands.
  2. Searching for specific records or objects without needing to know exact names.
  3. Automating data queries and manipulations in Salesforce.

Add to your AI client

Use these steps to connect Salesforce MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

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

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

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

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

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

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-salesforce-surajadsul": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-salesforce-surajadsul"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

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

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

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

FAQ

Can I use Salesforce MCP Server with any Salesforce edition?

Yes, as long as you have API access, you can use it with any Salesforce edition.

Is there a cost associated with using Salesforce MCP Server?

The server itself is free to use, but standard Salesforce API usage fees may apply.

What programming language is Salesforce MCP Server written in?

The server is written in TypeScript.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1674,"uuid":"451e7bcc-d2e1-4850-ab6e-300c76f8004d","name":"mcp-server-salesforce","title":"Salesforce MCP Server","description":"An MCP (Model Context Protocol) server implementation that integrates Claude with Salesforce, enabling natural language interactions with your Salesforce data and metadata. This server allows Claude to query, modify, and manage your Salesforce objects and records using everyday language.","avatar_url":"https://avatars.githubusercontent.com/u/2919738?v=4","created_at":"$D2025-03-04T08:22:04.039Z","updated_at":"$D2025-03-12T10:18:22.211Z","status":"created","author_name":"SurajAdsul","author_avatar_url":"https://avatars.githubusercontent.com/u/2919738?v=4","tags":"mcp,salesforce,mcp-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/SurajAdsul/mcp-server-salesforce","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/6aa21d310fcc4eeea4919d1d78f1aeb5673662141c33e23acde35969469b85f6/68747470733a2f2f676c616d612e61692f6d63702f736572766572732f6e3172737631616965652f6261646765","type":null,"metadata":"{\"star\":\"3\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-12 12:03:49\"}","user_uuid":"e5410ac3-f4da-4147-a204-c4661a4e7e7b","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]