MCP Salesforce Connector
MCP Salesforce Connector
Salesforce統合のためのModel Context Protocol (MCP) サーバー実装であり、LLMがSOQLクエリやSOSL検索を通じてSalesforceデータと対話できるようにします。
機能
SOQL (Salesforce Object Query Language) クエリの実行
SOSL (Salesforce Object Search Language) 検索の実行
フィールド名、ラベル、型を含むSalesforceオブジェクトのメタデータの取得
利用可能なすべてのSObjectのリスト表示 - 標準オブジェクトおよびカスタムオブジェクトの検出
レコードの取得、作成、更新、削除
Tooling APIリクエストの実行
Apex RESTリクエストの実行
Salesforceへの直接的なREST API呼び出し
Related MCP server: Salesforce MCP Integration
設定
Model Context Protocol
このサーバーをModel Context Protocolで使用するには、claude_desktop_config.jsonファイルで設定する必要があります。mcpServersセクションに以下のエントリを追加してください:
{
"mcpServers": {
"salesforce": {
"command": "uvx",
"args": [
"--from",
"mcp-salesforce-connector",
"salesforce"
],
"env": {
"SALESFORCE_ACCESS_TOKEN": "SALESFORCE_ACCESS_TOKEN",
"SALESFORCE_INSTANCE_URL": "SALESFORCE_INSTANCE_URL",
"SALESFORCE_DOMAIN": "SALESFORCE_DOMAIN"
}
}
}
}利用可能なツール
クエリおよび検索ツール
run_soql_query- Salesforceに対してSOQLクエリを実行しますrun_sosl_search- オブジェクト全体でSOSL検索を実行します
メタデータツール
get_object_fields- 特定のオブジェクトのフィールドメタデータを取得しますlist_sobjects- 利用可能なすべてのSObject(標準およびカスタム)をリスト表示します
単一レコード操作
get_record- IDを指定して特定のレコードを取得しますcreate_record- 新しいレコードを作成しますupdate_record- 既存のレコードを更新しますdelete_record- レコードを削除します
一括操作
bulk_create_records- 1回の操作で複数のレコードを作成しますbulk_update_records- 複数のレコードを更新します(Idフィールドを含める必要があります)bulk_delete_records- レコードIDを使用して複数のレコードを削除します
高度なAPIツール
tooling_execute- Tooling APIリクエストを実行しますapex_execute- Apex RESTリクエストを実行しますrestful- Salesforceへの直接的なREST API呼び出しを行います
Salesforce認証方法に関する注意点
このサーバーは4つの認証方法をサポートしています:
OAuth (推奨):
SALESFORCE_ACCESS_TOKENおよびSALESFORCE_INSTANCE_URLを環境変数として設定します。クライアント資格情報: OAuth 2.0 クライアント資格情報フローのために
SALESFORCE_CLIENT_IDおよびSALESFORCE_CLIENT_SECRETを設定します。これはサーバー間統合に役立ちます。Salesforce CLI (デフォルト組織): OAuth環境変数が設定されていない場合、サーバーは現在のワークスペースからアクティブなSalesforce CLIデフォルト組織の使用を試みます(
sf org display --jsonまたはsfdx force:org:display --jsonを経由)。オプションでSALESFORCE_CLI_TARGET_ORGを設定して特定の組織をターゲットにできます。ユーザー名/パスワード (レガシー):
SALESFORCE_ACCESS_TOKENおよびSALESFORCE_INSTANCE_URLが設定されていない場合、サーバーはSALESFORCE_USERNAME、SALESFORCE_PASSWORD、およびSALESFORCE_SECURITY_TOKENを使用するフォールバックを行います。
環境設定
SALESFORCE_DOMAIN(オプション): Salesforceサンドボックス環境に接続するにはtestに設定します。設定されていないか空の場合、サーバーは本番環境に接続します。SALESFORCE_CLI_TARGET_ORG(オプション): Salesforce CLI認証方法を使用する場合、デフォルト組織の代わりに特定の組織エイリアスまたはユーザー名をターゲットにするためにこれを設定します。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables interaction with Salesforce through REST API using jsforce, allowing users to execute SOQL queries, retrieve object metadata, and perform CRUD operations on Salesforce records.49MIT
- Flicense-qualityDmaintenanceA Model Context Protocol server that allows execution of SOQL queries and interaction with Salesforce data through a standardized interface.
- Alicense-qualityCmaintenanceA TypeScript implementation of a Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and CRUD operations.2MIT
- AlicenseBqualityDmaintenanceA server implementation that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and API operations including retrieving, creating, updating, and deleting records.101MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/smn2gnt/MCP-Salesforce'
If you have feedback or need assistance with the MCP directory API, please join our Discord server