Salesforce MCP Server
@tsmztech
关于 Salesforce MCP Server
Salesforce MCP Server
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": [
"-y",
"@tsmztech/mcp-server-salesforce"
],
"env": {
"SALESFORCE_CONNECTION_TYPE": "OAuth_2.0_Client_Credentials",
"SALESFORCE_CLIENT_ID": "your_client_id",
"SALESFORCE_CLIENT_SECRET": "your_client_secret",
"SALESFORCE_INSTANCE_URL": "https://your-domain.my.salesforce.com"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Salesforce MCP Server?
The Salesforce MCP Server is a Model Context Protocol server that integrates Claude with Salesforce, enabling natural language interactions with your Salesforce data and metadata. It allows Claude to query, modify, and manage Salesforce objects and records using everyday language. This server is for developers and admins who want to interact with Salesforce through conversational AI.
How to use Salesforce MCP Server?
Install globally via npm (npm install -g @tsmztech/mcp-server-salesforce) or download the pre‑configured extension for Claude Desktop. Configure authentication using one of three methods (Username/Password, OAuth 2.0 Client Credentials, or Salesforce CLI) and add the corresponding environment variables to your claude_desktop_config.json. After setup, invoke any of the 15+ tools (e.g., salesforce_query_records, salesforce_manage_object) through natural language.
Key features of Salesforce MCP Server
- Object and field management with natural language
- Smart object search using partial name matches
- Detailed schema information including relationships
- Flexible data queries with parent/child relationships
- Cross‑object SOSL search across multiple objects
- Apex class and trigger read/write management
Use cases of Salesforce MCP Server
- Find and describe Salesforce objects and their fields without navigating the UI
- Query records with complex filters and relationships for reporting
- Create, update, or delete custom objects and fields conversationally
- Run aggregate queries (COUNT, SUM, AVG) grouped by fields
- Manage Apex code—read, create, or update classes and triggers
FAQ from Salesforce MCP Server
What authentication methods are supported?
Three methods: Username/Password with security token, OAuth 2.0 Client Credentials Flow (using a Connected App), and Salesforce CLI authentication (recommended for local development).
How do I install the Salesforce MCP Server?
Install globally via npm (npm install -g @tsmztech/mcp-server-salesforce) or download the .dxt extension file and drag it into Claude Desktop’s Extensions settings.
How do I configure it with Claude Desktop?
Add a salesforce entry to your claude_desktop_config.json with the appropriate command (npx -y @tsmztech/mcp-server-salesforce) and environment variables for your chosen authentication method.
Can I switch between multiple Salesforce orgs?
Yes. Using Salesforce CLI authentication, the server automatically uses the default org configured in your VS Code workspace, making it easy to switch between orgs.
What tools does the server provide?
The server exposes over 15 tools covering object search, schema description, record queries (including aggregate queries), DML operations, custom object and field management, SOSL search, Apex class/trigger read/write, anonymous Apex execution, and debug log management.
数据与分析 分类下的更多 MCP 服务器
dbt MCP Server
dbt-labsA MCP (Model Context Protocol) server for interacting with dbt.
PubMed Analysis MCP Server
DarkroasterA PubMed MCP server.
Data Visualization MCP Server
isaacwassermanarxiv-latex MCP Server
takashiishidaMCP server that uses arxiv-to-prompt to fetch and process arXiv LaTeX sources for precise interpretation of mathematical expressions in scientific papers.
Bright Data MCP
luminati-ioA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
评论