原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Salesforce

作者:mindstone版本 0.2.6i★ –i在你的电脑上运行
注册名称io.github.mindstone/mcp-server-salesforce

安装

概览

作者提供的说明(英文原文)

Salesforce CRM MCP server: accounts, contacts, opportunities, leads, tasks, and custom objects

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 营销与社交媒体
  • 你需要填写:SALESFORCE_CLIENT_ID, SALESFORCE_CLIENT_SECRET, SALESFORCE_ACCESS_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SALESFORCE_CLIENT_ID, SALESFORCE_CLIENT_SECRET, SALESFORCE_SANDBOX, SALESFORCE_ACCESS_TOKEN, SALESFORCE_INSTANCE_URL, SALESFORCE_CONFIG_DIR, SALESFORCE_OAUTH_PORT, SALESFORCE_OAUTH_SCOPES

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-salesforce"
      ],
      "env": {
        "SALESFORCE_CLIENT_ID": "your-value",
        "SALESFORCE_CLIENT_SECRET": "your-value",
        "SALESFORCE_SANDBOX": "your-value",
        "SALESFORCE_ACCESS_TOKEN": "your-value",
        "SALESFORCE_INSTANCE_URL": "your-value",
        "SALESFORCE_CONFIG_DIR": "your-value",
        "SALESFORCE_OAUTH_PORT": "your-value",
        "SALESFORCE_OAUTH_SCOPES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add salesforce --env SALESFORCE_CLIENT_ID=your-value --env SALESFORCE_CLIENT_SECRET=your-value --env SALESFORCE_SANDBOX=your-value --env SALESFORCE_ACCESS_TOKEN=your-value --env SALESFORCE_INSTANCE_URL=your-value --env SALESFORCE_CONFIG_DIR=your-value --env SALESFORCE_OAUTH_PORT=your-value --env SALESFORCE_OAUTH_SCOPES=your-value -- npx -y @mindstone/mcp-server-salesforce

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-salesforce"
      ],
      "env": {
        "SALESFORCE_CLIENT_ID": "your-value",
        "SALESFORCE_CLIENT_SECRET": "your-value",
        "SALESFORCE_SANDBOX": "your-value",
        "SALESFORCE_ACCESS_TOKEN": "your-value",
        "SALESFORCE_INSTANCE_URL": "your-value",
        "SALESFORCE_CONFIG_DIR": "your-value",
        "SALESFORCE_OAUTH_PORT": "your-value",
        "SALESFORCE_OAUTH_SCOPES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "salesforce": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-salesforce"
      ],
      "env": {
        "SALESFORCE_CLIENT_ID": "your-value",
        "SALESFORCE_CLIENT_SECRET": "your-value",
        "SALESFORCE_SANDBOX": "your-value",
        "SALESFORCE_ACCESS_TOKEN": "your-value",
        "SALESFORCE_INSTANCE_URL": "your-value",
        "SALESFORCE_CONFIG_DIR": "your-value",
        "SALESFORCE_OAUTH_PORT": "your-value",
        "SALESFORCE_OAUTH_SCOPES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SALESFORCE_CLIENT_ID 必填 env
    Salesforce Connected App client ID (recommended path)
  • SALESFORCE_CLIENT_SECRET 机密 必填 env
    Salesforce Connected App client secret (recommended path)
  • SALESFORCE_SANDBOX env
    Set to true for sandbox environments
  • SALESFORCE_ACCESS_TOKEN 机密 env
    Static access token (alternative to OAuth)
  • SALESFORCE_INSTANCE_URL env
    Salesforce instance URL (required for manual token mode)
  • SALESFORCE_CONFIG_DIR env
    Custom config directory
  • SALESFORCE_OAUTH_PORT env
    OAuth callback port (0 = OS-assigned)
  • SALESFORCE_OAUTH_SCOPES env
    Space-separated OAuth scopes

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mindstone 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 2982 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2982 个服务器的 100% 更新
  • 基础检查结果等于或优于此分类中其他 2982 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Salesforce 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SALESFORCE_CLIENT_ID, SALESFORCE_CLIENT_SECRET, SALESFORCE_ACCESS_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.6)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT10天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT10天前更新
安装

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

在云端运行★ 137MIT10天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@mindstone/mcp-server-salesforce

Salesforce CRM MCP server — accounts, contacts, opportunities, leads, tasks, users, and custom objects via the Salesforce API.

*Best when an MCP host needs a local, install-and-run CRM connector for everyday sales work rather than a Salesforce-hosted endpoint.*

Status

  • Version: 0.2.5 · npm
  • Auth: OAuth (local 127.0.0.1 callback) or static access token (SALESFORCE_CLIENT_SECRET, SALESFORCE_ACCESS_TOKEN)
  • Tools: 37 (accounts, contacts, opportunities, leads, tasks, cases, events, search, notes, campaigns, reports, query)
  • Surface: cloud-api
  • Machine-readable: STATUS.json

Why this exists

Salesforce's own MCP options are the right starting point for many teams. This package is for teams that want a normal npm MCP server they can run locally in any stdio host.

It gives an assistant focused access to the CRM work people actually ask for: finding accounts and contacts, updating leads, creating opportunities and tasks, running CRM searches, and working with custom objects. The benefit is a short path from a natural-language sales request to the right Salesforce records, with write actions kept visible to the host.

Example interaction

"Find Acme Corp in Salesforce, create a Q3 expansion opportunity for $75,000, and add a follow-up task for next Friday."

Tools the host calls:

  1. salesforce_get_accounts — searches accounts by name and returns the matching account ID.
  2. salesforce_create_opportunity — creates the opportunity against that account.
  3. salesforce_create_task — adds a follow-up task related to the new opportunity.

Response (trimmed):

{

"account": { "id": "001xx000003DGbYAAW", "name": "Acme Corp" }, "opportunity": { "id": "006xx000004TmiYAAS", "name": "Q3 expansion", "amount": 75000, "stage": "Prospecting" }, "task": { "id": "00Txx000006rYxDEAU", "subject": "Follow up on Q3 expansion" } }

Requirements

  • Node.js 20+
  • npm
  • A Salesforce Connected App for the OAuth path, or a valid access token plus instance URL for manual-token mode.

One-click install

After clicking the button, your host will prompt you to fill: SALESFORCE_CLIENT_ID, SALESFORCE_CLIENT_SECRET, SALESFORCE_ACCESS_TOKEN, SALESFORCE_CONFIG_DIR, SALESFORCE_OAUTH_PORT.

Manual config for Claude Desktop / Claude Code / Goose / Continue.dev (Salesforce)

{

"mcpServers": { "Salesforce": { "command": "npx", "args": [ "-y", "@mindstone/mcp-server-salesforce" ], "env": { "SALESFORCE_CLIENT_ID": "", "SALESFORCE_CLIENT_SECRET": "", "SALESFORCE_ACCESS_TOKEN": "", "SALESFORCE_CONFIG_DIR": "~/.mcp/salesforce", "SALESFORCE_OAUTH_PORT": "0" } } } }

Quick Start

Install & build
cd <path-to-repo>/connectors/salesforce

npm install npm run build

npx
npx -y @mindstone/mcp-server-salesforce
Local
node dist/index.js

Configuration

OAuth (Recommended)

Set these environment variables:

  • SALESFORCE_CLIENT_ID — Your Salesforce Connected App client ID
  • SALESFORCE_CLIENT_SECRET — Your Salesforce Connected App client secret
  • SALESFORCE_SANDBOX — Set to "true" for sandbox environments (optional)

Then call salesforce_connect_account to start the OAuth flow.

Manual Token
  • SALESFORCE_ACCESS_TOKEN — A valid Salesforce access token
  • SALESFORCE_INSTANCE_URL — Your Salesforce instance URL (e.g., https://mycompany.my.salesforce.com)
Additional Options
  • SALESFORCE_CONFIG_DIR — Custom config directory (default: ~/.mcp/salesforce)
  • SALESFORCE_OAUTH_PORT — OAuth callback port (0 = OS-assigned; default: 0)
  • SALESFORCE_OAUTH_SCOPES — Space-separated OAuth scopes. Leave unset to use the connector default.

Available Tools (37)

Account Management
  • salesforce_connect_account — Connect a Salesforce account via OAuth
  • salesforce_list_connected_accounts — List connected accounts
  • salesforce_disconnect_account — Disconnect an account
CRM Accounts
  • salesforce_get_accounts — Get CRM accounts with filters
  • salesforce_create_account — Create a CRM account
  • salesforce_update_account — Update a CRM account
Contacts
  • salesforce_get_contacts — Get contacts with filters
  • salesforce_create_contact — Create a contact
  • salesforce_update_contact — Update a contact
Opportunities
  • salesforce_get_opportunities — Get opportunities with filters
  • salesforce_create_opportunity — Create an opportunity
  • salesforce_update_opportunity — Update an opportunity
Leads
  • salesforce_get_leads — Get leads with filters
  • salesforce_create_lead — Create a lead
  • salesforce_convert_lead — Convert a lead to Account + Contact
  • salesforce_update_lead — Update a lead
Tasks
  • salesforce_get_tasks — Get tasks with filters
  • salesforce_create_task — Create a task
  • salesforce_update_task — Update a task
Cases
  • salesforce_get_cases — Get support cases with filters
  • salesforce_create_case — Create a support case
  • salesforce_update_case — Update a support case
Events
  • salesforce_get_events — Get calendar events with filters
  • salesforce_create_event — Create a calendar event
Search
  • salesforce_search — Cross-object full-text search (SOSL); the response's truncated flag tells you whether more matches exist beyond the limit
Notes
  • salesforce_get_notes — Get notes attached to a record
  • salesforce_create_note — Create a note, optionally attached to a record (a failed attach rolls the note back, or reports the orphaned note ID)
Campaigns
  • salesforce_get_campaigns — Get marketing campaigns with filters
  • salesforce_get_campaign_members — Get leads/contacts in a campaign
Reports
  • salesforce_run_report — Run an existing Salesforce report (Analytics REST API)
Users
  • salesforce_get_users — Get Salesforce users
Query & Schema
  • salesforce_query — Execute raw SOQL queries
  • salesforce_describe_object — Get object metadata and fields
  • salesforce_list_objects — List available Salesforce objects
Generic CRUD
  • salesforce_create_record — Create any Salesforce record
  • salesforce_update_record — Update any Salesforce record
  • salesforce_get_records — Query any Salesforce object

Security notes

  • The standalone OAuth callback server binds to 127.0.0.1; it does not honour environment overrides that would expose the callback beyond loopback.
  • OAuth credentials are stored under SALESFORCE_CONFIG_DIR (default ~/.mcp/salesforce) with restrictive directory and file permissions.
  • Write and disconnect tools are marked so capable hosts can ask for confirmation before changing Salesforce data.
  • SOQL helper paths escape backslashes and apostrophes. Filters treat % and _ literally, including the LIKE operator in salesforce_get_records. SOSL searches escape reserved characters, including apostrophes. In salesforce_get_records, dates (2026-01-31), datetimes with a time zone (2026-01-31T09:00:00Z) and JSON null are sent unquoted: use dates for date fields and datetimes for datetime fields such as CreatedDate. Use JSON null, not the string "null", with = or != to match empty fields. For text that looks like a date, use salesforce_query.
  • Raw SOQL queries strip comments without changing string literals and cap row or grouped results at 200. Ungrouped aggregates receive no generated LIMIT: an explicit COUNT() limit is preserved to bound the count, while limits on other ungrouped aggregates are removed because Salesforce rejects them. FOR VIEW and FOR REFERENCE stay after LIMIT and OFFSET.
  • Read fields and generic filter fields accept relationship paths such as Owner.Name; write field keys must be single API names.
  • Session expiry is recognized by Salesforce's error code as well as its message. A refused expired or revoked refresh token asks you to reconnect and clears the cached connection, leaving the token file unchanged. A failed save of a renewed sign-in returns TOKEN_SAVE_FAILED without running the request; saving is retried on the next call. If that save still fails, the failure is logged and the request runs, but a restart may require reconnecting. Invalid field, invalid object and malformed query errors include recovery hints; vendor messages remain wrapped as untrusted content.
  • salesforce_get_notes reads up to 150 linked documents before fetching the linked notes, returns an empty result when no links exist, and adds truncated: true when it reaches 150, because linked files use up that allowance and notes may be missing. The note result limit remains 200 (default 50).
  • Record text returned by read tools is wrapped in envelopes so Salesforce-authored field values are presented to the model as data, not instructions.
  • salesforce_convert_lead reports a conversion as failed when Salesforce rejects it at the record level (e.g. a validation rule), instead of claiming success; the org-authored error detail is enveloped the same way.

Licence

FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.

问 PopNx