
salesforcecli/mcp
Productivity workflowこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Salesforceインスタンスとやり取りするためのMCPサーバー
概要
Salesforce Orgsとやり取りするためのMCPサーバー バグや問題の報告はこちらから可能です。機能リクエストやその他の関連トピックについては、こちらからディスカッションを開始してください。 Salesforce DX MCP Serverに関する一般的なドキュメントについては、Salesforce DX開発者ガイドのこのセクションをご覧ください。ドキュメントには以下が含まれます: - セキュリティ機能の詳細を含む包括的な概要。- クイックスタートガイド。- MCPクライアントでのサーバー設定の複数の例。- コアDX MCPツールを呼び出すためのサンプルプロンプト。 Salesforce DX MCPサーバーは、大規模言語モデル(LLM)とSalesforce組織間のシームレスな相互作用を促進するために設計された特殊なモデルコンテキストプロトコル(MCP)実装です。このMCPサーバーは、LLMがSalesforceリソースを安全に読み込み、管理し、運用できる堅牢なツールと機能セットを提供します。
概要(AI 翻訳)
[!重要] ⚠️ 終焉:2026年11月2日
Salesforce DXローカルMCPサーバー(@salesforce/mcp)は2026年11月2日にサービス終了となります。 詳細はhttps://github.com/forcedotcom/mcp/issues/46を参照してください。
MCP
Salesforce Orgsとやり取りするためのMCPサーバー
フィードバック
バグや問題はこちらから報告してください。 機能リクエストやその他の関連トピックについては、こちらからディスカッションを開始してください。
ドキュメント
Salesforce DX MCP Serverに関する一般的なドキュメントについては、_Salesforce DX Developer Guide_のこのセクションをご覧ください。ドキュメントには以下が含まれます:
- セキュリティ機能の詳細を含む包括的な概要。
- クイックスタートガイド。
- MCPクライアントでサーバーを構成した複数の例。
- コアのDX MCPツールを呼び出すためのサンプルプロンプト。
こちらがリリースノートです。
Salesforce DX MCP Server の概要
Salesforce DX MCPサーバーは、大規模言語モデル(LLM)とSalesforce組織間のシームレスな相互作用を促進するために設計された特殊なモデルコンテキストプロトコル(MCP)実装です。このMCPサーバーは、LLMがSalesforceリソースを安全に読み込み、管理し、運用できる堅牢なツールと機能セットを提供します。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
[!IMPORTANT] ⚠️ End of Life: November 2nd, 2026
The Salesforce DX local MCP server (@salesforce/mcp) reaches end of life on November 2nd, 2026.
See https://github.com/forcedotcom/mcp/issues/46 for more details.
MCP
MCP Server for Interacting with Salesforce Orgs
Feedback
Report bugs and issues here.
For feature requests and other related topics, start a Discussion here.
Documentation
For general documentation about the Salesforce DX MCP Server, see this section in the Salesforce DX Developer Guide. The docs include:
- Comprehensive overview, including details about the security features.
- Quick start guide.
- Multiple examples of configuring the server in your MCP client.
- Sample prompts for invoking the core DX MCP tools.
Overview of the Salesforce DX MCP Server
The Salesforce DX MCP Server is a specialized Model Context Protocol (MCP) implementation designed to facilitate seamless interaction between large language models (LLMs) and Salesforce orgs. This MCP server provides a robust set of tools and capabilities that enable LLMs to read, manage, and operate Salesforce resources securely.
Configure the DX MCP Server
Configure the Salesforce DX MCP Server for your MCP client by updating its associated MCP JSON file; each client is slightly different, so check your MCP client documentation for details. See MCP Client Configurations for more examples.
Here’s an example for VS Code with Copilot in which you create and update a .vscode/mcp.json file in your project:
{
"servers": {
"Salesforce DX": {
"command": "npx",
"args": ["-y", "@salesforce/mcp",
"--orgs", "DEFAULT_TARGET_ORG",
"--toolsets", "orgs,metadata,data,users",
"--tools", "run_apex_test",
"--allow-non-ga-tools"]
}
}
}
The args format shown in the preceding example is the same for all MCP clients; it’s how you customize the DX MCP Server for your particular environment.
Notes:
- The
"-y", "@salesforce/mcp"part tellsnpxto automatically install the@salesforce/mcppackage instead of asking permission. Don’t change this. - For possible flags that you can pass to the
argsoption, and the possible values that you can pass to the--orgs,--toolsets, and--toolsflags, see these sections:
インストール
npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs metadata data users --tools run_apex_test --allow-non-ga-tools設定
{
"mcpServers": {
"Salesforce DX": {
"command": "npx",
"args": ["-y", "@salesforce/mcp",
"--orgs", "DEFAULT_TARGET_ORG",
"--toolsets", "orgs,metadata,data,users",
"--tools", "run_apex_test",
"--allow-non-ga-tools"]
}
}
}