Salesforce Cloud
概览
作者提供的说明(英文原文)
AI-powered Salesforce CRM: opportunity intelligence, conversation analysis, SOQL, analytics
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 49/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 营销与社交媒体
- 你需要填写:SF_CLIENT_ID, SF_CLIENT_SECRET, SF_PASSWORD, SF_LOGIN_URL
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
SF_CLIENT_ID,SF_CLIENT_SECRET,SF_USERNAME,SF_PASSWORD,SF_LOGIN_URL
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"salesforce-cloud": {
"command": "npx",
"args": [
"-y",
"@aaronsb/salesforce-cloud-mcp"
],
"env": {
"SF_CLIENT_ID": "your-value",
"SF_CLIENT_SECRET": "your-value",
"SF_USERNAME": "your-value",
"SF_PASSWORD": "your-value",
"SF_LOGIN_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add salesforce-cloud --env SF_CLIENT_ID=your-value --env SF_CLIENT_SECRET=your-value --env SF_USERNAME=your-value --env SF_PASSWORD=your-value --env SF_LOGIN_URL=your-value -- npx -y @aaronsb/salesforce-cloud-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"salesforce-cloud": {
"command": "npx",
"args": [
"-y",
"@aaronsb/salesforce-cloud-mcp"
],
"env": {
"SF_CLIENT_ID": "your-value",
"SF_CLIENT_SECRET": "your-value",
"SF_USERNAME": "your-value",
"SF_PASSWORD": "your-value",
"SF_LOGIN_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"salesforce-cloud": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aaronsb/salesforce-cloud-mcp"
],
"env": {
"SF_CLIENT_ID": "your-value",
"SF_CLIENT_SECRET": "your-value",
"SF_USERNAME": "your-value",
"SF_PASSWORD": "your-value",
"SF_LOGIN_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Salesforce Connected App client ID
- Salesforce Connected App client secret
SF_USERNAMEenvSalesforce username (if set, uses password flow; otherwise client credentials flow)- Salesforce password (required with SF_USERNAME for password flow)
- Your Salesforce My Domain URL (e.g., https://company.my.salesforce.com)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 aaronsb 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“营销与社交媒体”中的其他服务器比较i
- 星标数多于此分类中其他 3614 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3614 个服务器的 29% 更新
- 基础检查结果等于或优于此分类中其他 3614 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Salesforce Cloud 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:SF_CLIENT_ID, SF_CLIENT_SECRET, SF_PASSWORD, SF_LOGIN_URL
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.8.2)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Google Analytics MCP
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
BibiGPT YouTube Video Summarizer
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
🌩️ Salesforce MCP Server
This MCP (Model Context Protocol) server provides AI-powered tools for interacting with Salesforce, featuring opportunity intelligence, conversation analysis, business case generation, and standard CRUD operations. Built with pagination support and optimized response structures for AI workflows.
🎯 What This Means for You
Imagine having a sales expert that instantly knows everything about your deals and can give you winning strategies. That's what this AI does with your Salesforce data.
💬 Just Chat Naturally - No Technical Skills Needed
You say: *"Show me all Microsoft deals over $100K in the proposal stage"* AI does: Searches your entire Salesforce database and returns matching opportunities
You say: *"How's the engagement on the Acme deal? Are we talking to the right people?"* AI does: Analyzes all your calls, emails, and activities to give engagement insights
You say: *"Find me deals similar to this opportunity that we won"* AI does: Scans your database for similar successful deals and success patterns
You say: *"Create a business case document for this opportunity"* AI does: Generates a professional PDF ready for executives
🚀 Real Conversation Examples
Scenario: *"I'm struggling with the Acme Corp deal. It's been stuck in negotiation for 2 months."*
AI Response: *"Let me analyze the Acme opportunity... I see limited engagement in the past 3 weeks. You've had 2 calls with procurement but haven't connected with the decision maker yet. Similar deals that got unstuck had executive sponsor engagement. I found 3 comparable deals where scheduling an executive briefing moved things forward. Here's a business case document you can use..."*
Scenario: *"My manager wants to know why our cloud migration deals are taking so long to close."*
AI Response: *"Analyzing your cloud migration opportunities... The average sales cycle is 40% longer than industry standard. The pattern shows deals stall in the technical evaluation stage. Successful cloud deals had solution architects engaged 2 weeks earlier on average. I recommend involving technical resources sooner..."*
✨ What You Get
- 🔍 Smart Search: Find any opportunity with natural language
- 💬 Engagement Analysis: Know who you're talking to and who you're missing
- 🧠 Strategic Insights: Get recommendations based on similar successful deals
- 📊 Pipeline Intelligence: Understand your pipeline health and conversion patterns
- 📋 Professional Documents: Generate business cases and executive summaries
- 📈 Performance Analytics: See what's working and what needs attention
The Magic: You just chat naturally. The AI automatically connects to your Salesforce, analyzes millions of data points, finds patterns, and gives you actionable recommendations. It's like having a sales intelligence team, data analyst, and business consultant all rolled into one AI that knows your Salesforce inside and out.
💬 Live Chat Example
| 👤 You | Can you look for any open salesforce opportunities where the solution engineer includes Aaron Rochelle? |
| 🤖 AI Assistant | Let me help you search for Salesforce opportunities where Aaron Rochelle is involved as a Solution Engineer. I'll run a query in your Salesforce database to find opportunities matching that criteria...
📊 Found 3 opportunities: • Cloud Migration - Acme Corp ($250K, Proposal) • Digital Transformation - TechFlow ($180K, Qualification) • Infrastructure Upgrade - GlobalTech ($320K, Negotiation) |
| 👤 You | Tell me more about the Acme Corp opportunity |
| 🤖 AI Assistant | Here are the key details for the Acme Corp Cloud Migration opportunity:
💼 Opportunity Details: • Account: Acme Corp • Amount: $250,000 • Stage: Proposal • Close Date: 2024-03-15 • Decision Maker: Sarah Johnson (IT Director)
🔍 Intelligence Insights: • Similar cloud deals average 45 days in proposal stage • 73% win rate when executive sponsor engaged early • Competitor: AWS (primary threat) • Next action: Schedule technical deep-dive |
| 👤 You | What similar deals have we won? Show me the patterns |
| 🤖 AI Assistant | I found 8 similar cloud migration deals you've won in the past 12 months. Here are the key patterns:
🎯 Success Patterns: • Average deal size: $275K (vs $250K current) • 67% had solution architect engaged by day 14 • 89% included a pilot/POC phase • Executive sponsors attended 78% of demos
📋 Recommendation: Schedule Aaron for a technical deep-dive with their DevOps team this week. Based on similar wins, proposing a 2-week pilot will increase close probability by 34%.
📄 Would you like me to generate a business case document for this opportunity? |
🤔 What is MCP?
The Model Context Protocol (MCP) is a standardized way for AI models to interact with external tools and resources. MCP servers provide specific capabilities that can be used by AI models through a consistent interface. This Salesforce MCP server allows AI models to interact with Salesforce data and operations in a structured way.
🚀 Installation
npm (recommended)
# Run directly with npx
npx @aaronsb/salesforce-cloud-mcp
Or install globally
npm install -g @aaronsb/salesforce-cloud-mcp
From Source
git clone https://github.com/aaronsb/salesforce-cloud.git
cd salesforce-cloud npm install npm run build node build/index.js
⚙️ Configuration
The server requires configuration in your Claude desktop app's configuration file. On Linux, this is located at ~/.config/Claude/claude_desktop_config.json. On macOS, it's at ~/Library/Application Support/Claude/claude_desktop_config.json.
Add the following configuration to the mcpServers object in your config file:
{
"mcpServers": { "salesforce-cloud": { "command": "node", "args": ["/path/to/salesforce-cloud/build/index.js"], "env": { "SF_CLIENT_ID": "your_client_id", "SF_CLIENT_SECRET": "your_client_secret", "SF_USERNAME": "your_salesforce_username", "SF_PASSWORD": "your_salesforce_password", "SF_LOGIN_URL": "https://login.salesforce.com" } } } }
Required Environment Variables
SF_CLIENT_ID: Your Salesforce OAuth client IDSF_CLIENT_SECRET: Your Salesforce OAuth client secretSF_USERNAME: Your Salesforce usernameSF_PASSWORD: Your Salesforce passwordSF_LOGIN_URL: Salesforce login URL (optional, defaults to https://login.salesforce.com)
To obtain these credentials:
- Go to Setup in your Salesforce org
- Navigate to App Manager
- Create a new Connected App
- Enable OAuth settings
- Add necessary OAuth scopes
- Save and wait for activation
- Copy the generated Consumer Key (Client ID) and Consumer Secret (Client Secret)
🎯 Working with Custom Fields
When constructing queries or working with Salesforce data, it's important to understand that many fields referenced may be custom fields specific to your Salesforce instance. Here's what you need to know:
Understanding Custom Fields
- Custom fields in Salesforce end with
__cin their API names - What appears as "Implementation Status" in the UI might be stored as "Implementation_Status__c"
- Custom fields can represent organization-specific business concepts
Best Practices
- Object Metadata Analysis:
- Use the
describe_objecttool withincludeFields: trueto examine both standard and custom fields - Look for fields that match your intent in both standard and custom field lists
- Map user-friendly field names to their actual API names
- Field Type Consideration:
- Custom fields can be various types (text, picklist, lookup, etc.)
- Understanding field types helps construct appropriate queries
- Custom fields might reference other custom objects through lookup relationships
- Query Construction:
- Build queries that can handle both standard and custom fields
- Use field metadata to validate field existence before querying
- Consider relationships between objects, especially with custom lookup fields
Example
If searching for "Project Status":
- First, examine the object's fields to find the actual field name:
{
"objectName": "Opportunity", "includeFields": true }
2. Look for fields like "Project_Status__c" or similar custom fields that match your intent
- Use the discovered field name in your queries:
{
"query": "SELECT Id, Name, Project_Status__c FROM Opportunity" }
🛠️ Tools
Core Salesforce Operations
search_fields
Find the field(s) that carry a concept when you know what you want to query but not the API name. Searches the discovered field catalog (ADR-302) by keyword across field API names, labels, and help text, ranked by match strength.
{
term: string; // Required: matched against field name, label, help text objectName?: string; // Optional: scope to one object (default: all core objects) includeValues?: boolean; // Optional: return active picklist values for matches (default: false) minPopulationPct?: number;// Optional: drop fields below this population density (0-100) limit?: number; // Optional: max matches (default: 25, max: 100) }
Example:
{
"term": "ai", "objectName": "Opportunity", "includeValues": true }
The match is lexical, not semantic: it finds fields whose metadata contains the term, so a concept the schema names differently won't surface — read `salesforce://field-catalog/{objectName}/all` to browse everything.
execute_soql
Execute a SOQL query with pagination support.
{
query: string; // Required: SOQL query to execute pageSize?: number; // Optional: Number of records per page (default: 25) pageNumber?: number; // Optional: Page number to retrieve (default: 1) }
Example:
{
"query": "SELECT Id, Name FROM Account", "pageSize": 10, "pageNumber": 1 }
describe_object
Get metadata about a Salesforce object with optional field information.
{
objectName: string; // Required: API name of the Salesforce object includeFields?: boolean; // Optional: Whether to include field metadata (default: false) pageSize?: number; // Optional: Number of fields per page (default: 50) pageNumber?: number; // Optional: Page number to retrieve (default: 1) }
Example:
{
"objectName": "Account", "includeFields": true }
create_record
Create a new record in Salesforce.
{
objectName: string; // Required: API name of the Salesforce object data: Record ; // Required: Record data as key-value pairs }
Example:
{
"objectName": "Account", "data": { "Name": "Test Account", "Industry": "Technology" } }
update_record
Update an existing record in Salesforce.
{
objectName: string; // Required: API name of the Salesforce object recordId: string; // Required: ID of the record to update data: Record ; // Required: Record data to update }
Example:
{
"objectName": "Account", "recordId": "001XXXXXXXXXXXXXXX", "data": { "Name": "Updated Account Name" } }
delete_record
Delete a record from Salesforce.
{
objectName: string; // Required: API name of the Salesforce object recordId: string; // Required: ID of the record to delete }
Example:
{
"objectName": "Account", "recordId": "001XXXXXXXXXXXXXXX" }
get_use
只显示了开头部分;其余内容请在仓库中阅读