Salesforce
概要
作者による説明(英語の原文)
MCP server for Salesforce CRM — Accounts, Contacts, Opportunities, Leads, Cases.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: マーケティング・SNS
- 入力が必要なもの:AUTH_MODE, SALESFORCE_CLIENT_ID, SALESFORCE_CLIENT_SECRET, SALESFORCE_INSTANCE_URL, SALESFORCE_PASSWORD, SALESFORCE_TOKEN
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
AUTH_MODE,SALESFORCE_AUTH_FLOW,SALESFORCE_CLIENT_ID,SALESFORCE_CLIENT_SECRET,SALESFORCE_INSTANCE_URL,SALESFORCE_USERNAME,SALESFORCE_PASSWORD,SALESFORCE_TOKEN,MCP_TRANSPORT,LOG_LEVEL
「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
- DockerDockerのインストール
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"salesforce": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"AUTH_MODE",
"-e",
"SALESFORCE_AUTH_FLOW",
"-e",
"SALESFORCE_CLIENT_ID",
"-e",
"SALESFORCE_CLIENT_SECRET",
"-e",
"SALESFORCE_INSTANCE_URL",
"-e",
"SALESFORCE_USERNAME",
"-e",
"SALESFORCE_PASSWORD",
"-e",
"SALESFORCE_TOKEN",
"-e",
"MCP_TRANSPORT",
"-e",
"LOG_LEVEL",
"ghcr.io/wyre-ai/salesforce-mcp:v1.0.7"
],
"env": {
"AUTH_MODE": "your-value",
"SALESFORCE_AUTH_FLOW": "your-value",
"SALESFORCE_CLIENT_ID": "your-value",
"SALESFORCE_CLIENT_SECRET": "your-value",
"SALESFORCE_INSTANCE_URL": "your-value",
"SALESFORCE_USERNAME": "your-value",
"SALESFORCE_PASSWORD": "your-value",
"SALESFORCE_TOKEN": "your-value",
"MCP_TRANSPORT": "your-value",
"LOG_LEVEL": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add salesforce --env AUTH_MODE=your-value --env SALESFORCE_AUTH_FLOW=your-value --env SALESFORCE_CLIENT_ID=your-value --env SALESFORCE_CLIENT_SECRET=your-value --env SALESFORCE_INSTANCE_URL=your-value --env SALESFORCE_USERNAME=your-value --env SALESFORCE_PASSWORD=your-value --env SALESFORCE_TOKEN=your-value --env MCP_TRANSPORT=your-value --env LOG_LEVEL=your-value -- docker run -i --rm -e AUTH_MODE -e SALESFORCE_AUTH_FLOW -e SALESFORCE_CLIENT_ID -e SALESFORCE_CLIENT_SECRET -e SALESFORCE_INSTANCE_URL -e SALESFORCE_USERNAME -e SALESFORCE_PASSWORD -e SALESFORCE_TOKEN -e MCP_TRANSPORT -e LOG_LEVEL ghcr.io/wyre-ai/salesforce-mcp:v1.0.7動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"salesforce": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"AUTH_MODE",
"-e",
"SALESFORCE_AUTH_FLOW",
"-e",
"SALESFORCE_CLIENT_ID",
"-e",
"SALESFORCE_CLIENT_SECRET",
"-e",
"SALESFORCE_INSTANCE_URL",
"-e",
"SALESFORCE_USERNAME",
"-e",
"SALESFORCE_PASSWORD",
"-e",
"SALESFORCE_TOKEN",
"-e",
"MCP_TRANSPORT",
"-e",
"LOG_LEVEL",
"ghcr.io/wyre-ai/salesforce-mcp:v1.0.7"
],
"env": {
"AUTH_MODE": "your-value",
"SALESFORCE_AUTH_FLOW": "your-value",
"SALESFORCE_CLIENT_ID": "your-value",
"SALESFORCE_CLIENT_SECRET": "your-value",
"SALESFORCE_INSTANCE_URL": "your-value",
"SALESFORCE_USERNAME": "your-value",
"SALESFORCE_PASSWORD": "your-value",
"SALESFORCE_TOKEN": "your-value",
"MCP_TRANSPORT": "your-value",
"LOG_LEVEL": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"salesforce": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"AUTH_MODE",
"-e",
"SALESFORCE_AUTH_FLOW",
"-e",
"SALESFORCE_CLIENT_ID",
"-e",
"SALESFORCE_CLIENT_SECRET",
"-e",
"SALESFORCE_INSTANCE_URL",
"-e",
"SALESFORCE_USERNAME",
"-e",
"SALESFORCE_PASSWORD",
"-e",
"SALESFORCE_TOKEN",
"-e",
"MCP_TRANSPORT",
"-e",
"LOG_LEVEL",
"ghcr.io/wyre-ai/salesforce-mcp:v1.0.7"
],
"env": {
"AUTH_MODE": "your-value",
"SALESFORCE_AUTH_FLOW": "your-value",
"SALESFORCE_CLIENT_ID": "your-value",
"SALESFORCE_CLIENT_SECRET": "your-value",
"SALESFORCE_INSTANCE_URL": "your-value",
"SALESFORCE_USERNAME": "your-value",
"SALESFORCE_PASSWORD": "your-value",
"SALESFORCE_TOKEN": "your-value",
"MCP_TRANSPORT": "your-value",
"LOG_LEVEL": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
- Credential source: 'env' reads vars locally, 'gateway' expects header injection from the WYRE MCP Gateway. Set to 'env' for stdio/local use.
SALESFORCE_AUTH_FLOWenvSalesforce auth flow: 'client_credentials' (default, requires a Connected App with Client Credentials Flow enabled) or 'username_password' (fallback).- Connected App consumer key. Required when SALESFORCE_AUTH_FLOW=client_credentials.
- Connected App consumer secret. Required when SALESFORCE_AUTH_FLOW=client_credentials.
- Salesforce org's My Domain URL (e.g. https://yourorg.my.salesforce.com). Required when SALESFORCE_AUTH_FLOW=client_credentials.
SALESFORCE_USERNAMEenvSalesforce username. Only used when SALESFORCE_AUTH_FLOW=username_password.- Salesforce password. Only used when SALESFORCE_AUTH_FLOW=username_password.
- Salesforce security token. Only used when SALESFORCE_AUTH_FLOW=username_password; optional if the org has IP allowlisting configured instead.
MCP_TRANSPORTenvTransport mode for the server. Set to 'stdio' for local CLI use; the image defaults to 'http' for gateway hosting.LOG_LEVELenvLog verbosity: debug, info, warn, error
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月9日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント WYRE-AI で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
マーケティング・SNSのほかのサーバーとの比較i
- このカテゴリのほかの3690件のうち0%よりスターが多い
- このカテゴリのほかの3690件のうち60%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの3690件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Salesforceは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:AUTH_MODE, SALESFORCE_CLIENT_ID, SALESFORCE_CLIENT_SECRET, SALESFORCE_INSTANCE_URL, SALESFORCE_PASSWORD, SALESFORCE_TOKEN
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(1.0.7)がレジストリに届いたのは20 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
代わりに使えるものは?
同じカテゴリには:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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
MCP (Model Context Protocol) server for Salesforce CRM, scoped to the WYRE Gateway BYOC use case.
A focused HTTP MCP server that exposes a Salesforce org's CRM data surface to Claude (and other MCP clients) through the WYRE MCP Gateway. Built for the multi-tenant gateway pattern: credentials are injected per-request via HTTP headers, no startup secrets are baked into the container.
Scope discipline
This package intentionally ships a narrow tool surface — six CRM data tools — and deliberately omits the Apex code-management / custom-object-creation / EXECUTE_ANONYMOUS surfaces that broader Salesforce MCP servers include. The use case is read/write access to standard CRM objects (Accounts, Contacts, Opportunities, Leads, Cases). Customers who need DX or admin tooling should use the official @salesforce/mcp package instead.
Tools
| Tool | Purpose |
|---|---|
salesforce_search_objects | Find standard + custom objects by partial name. |
salesforce_describe_object | Full schema (fields, picklists, relationships) for an object. |
salesforce_query_records | Execute SOQL with relationship traversal. |
salesforce_aggregate_query | SOQL GROUP BY / COUNT / SUM / AVG / MIN / MAX. |
salesforce_dml_records | Insert / update / delete / upsert records. |
salesforce_search_all | Cross-object SOSL search. |
Run modes
- `http` (default): listens on
:8080, exposes/mcp(JSON-RPC) +/health. Per-request credentials fromX-Salesforce-*headers. This is the gateway deployment shape. HTTP refuses to start unlessCONDUIT_S2S_SECRETis a real secret. - `stdio`: traditional MCP client transport (Claude Desktop / Cursor). Credentials read once from env. The stdio transport does not use
CONDUIT_S2S_SECRET.
Copy .env.example and set the variables below. Leave CONDUIT_S2S_SECRET empty in that file.
| Variable | Required | Description |
|---|---|---|
SALESFORCE_CLIENT_ID / SALESFORCE_CLIENT_SECRET / SALESFORCE_INSTANCE_URL | For stdio and AUTH_MODE=env | Client Credentials flow. |
SALESFORCE_USERNAME / SALESFORCE_PASSWORD / SALESFORCE_TOKEN | For username-password | Used when SALESFORCE_AUTH_FLOW=username_password. The token is optional if the org uses IP allowlisting. |
MCP_TRANSPORT | No | http (default) or stdio. |
AUTH_MODE | No | gateway (image and Compose default) or env. Gateway mode requires the X-Salesforce-* headers on each /mcp request and never falls back to SALESFORCE_*. env uses those variables only after S2S auth succeeds. |
CONDUIT_S2S_SECRET | Yes for HTTP | Service-to-service secret. HTTP logs an error and exits non-zero when this is empty or a known placeholder (changeme, placeholder, your-s2s-secret, secret, password, test, an unresolved ${...} template, and the other stand-ins in src/s2s-verify.ts). Never commit a real value. |
MCP_ALLOW_INSECURE_DEV | No | Set to exactly 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. The process logs a warning, does not check X-Gateway-S2S, and listens on 127.0.0.1 only. A non-loopback MCP_HTTP_HOST is ignored and the override is logged. A known placeholder secret still refuses to start. |
MCP_HTTP_HOST | No | Bind address when a usable CONDUIT_S2S_SECRET is set. When unset, a configured secret keeps HOST (default 0.0.0.0). Without a usable secret the listener is 127.0.0.1. The container image sets 0.0.0.0. |
PORT | No | HTTP port. Defaults to 8080. |
HOST | No | Fallback bind address when MCP_HTTP_HOST is unset and a secret is configured. Defaults to 0.0.0.0. |
/health stays unauthenticated and does not read credentials.
# HTTP mode (exits unless CONDUIT_S2S_SECRET is a real secret)
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" PORT=8080 MCP_TRANSPORT=http AUTH_MODE=gateway npm start
Local HTTP only, without a service-to-service secret (always binds 127.0.0.1)
MCP_ALLOW_INSECURE_DEV=1 MCP_TRANSPORT=http npm start
stdio mode (env-baked, local testing; no S2S secret)
MCP_TRANSPORT=stdio \ SALESFORCE_AUTH_FLOW=client_credentials \ SALESFORCE_CLIENT_ID=... SALESFORCE_CLIENT_SECRET=... \ SALESFORCE_INSTANCE_URL=https://yourorg.my.salesforce.com \ node dist/entry.js
Header contract (gateway mode)
Every /mcp request must include a valid X-Gateway-S2S header when CONDUIT_S2S_SECRET is set. Gateway mode also requires the credential headers for the chosen flow. A request missing them returns 401 and does not fall back to SALESFORCE_* in the process environment.
| Header | Required? | Notes |
|---|---|---|
X-Gateway-S2S | Yes when the S2S secret is set | t= ,v1= . See X-Gateway-S2S signing. |
X-Salesforce-Auth-Mode | optional | client_credentials (default) or username_password. |
X-Salesforce-Client-Id | for client_credentials | Connected App consumer key. |
X-Salesforce-Client-Secret | for client_credentials | Connected App consumer secret. |
X-Salesforce-Instance-Url | for client_credentials | Customer's My Domain URL (e.g. https://acmecorp.my.salesforce.com). |
X-Salesforce-Username | for username_password | Salesforce user. |
X-Salesforce-Password | for username_password | Salesforce password. |
X-Salesforce-Token | for username_password | Security token (required unless IP allowlisted). |
Per-request authentication means the same container instance can service many customers without restart — each MCP tools/call builds a fresh jsforce.Connection from the headers on that request.
X-Gateway-S2S signing
v1 is HMAC-SHA256, hex-encoded, of the ASCII string t= (the same t= prefix that starts the header), keyed with CONDUIT_S2S_SECRET. The timestamp must be within 300 seconds of the server clock. A missing or invalid header returns HTTP 401. The secret is never written to logs or the response body.
t=$(date +%s)
v1=$(printf 't=%s' "$t" | openssl dgst -sha256 -hmac "$CONDUIT_S2S_SECRET" | awk '{print $NF}') curl -sS http://127.0.0.1:8080/mcp \ -H "content-type: application/json" \ -H "accept: application/json, text/event-stream" \ -H "X-Gateway-S2S: t=${t},v1=${v1}" \ -H "X-Salesforce-Client-Id: ..." \ -H "X-Salesforce-Client-Secret: ..." \ -H "X-Salesforce-Instance-Url: https://yourorg.my.salesforce.com" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
Salesforce Connected App setup
For Client Credentials flow (the recommended path):
- Salesforce Setup → App Manager → New Connected App.
- Under API (Enable OAuth Settings): turn on Enable OAuth Settings and Enable Client Credentials Flow.
- Save, wait ~5 minutes for propagation.
- Manage → Edit Policies → Client Credentials Flow → set a Run As user (the API calls run with that user's permissions).
- Copy the Consumer Key and Consumer Secret from the Connected App into the gateway BYOC fields as
clientIdandclientSecret. - Set
instanceUrlto the customer's My Domain URL (Setup → My Domain).
Build
npm install
npm run build
Container
The image listens on 0.0.0.0 inside the container (MCP_HTTP_HOST) and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass the S2S secret. In gateway mode, Salesforce credentials arrive on each request as headers; they are not read from the environment.
docker build -t salesforce-mcp:dev .
docker run --rm \ -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \ -p 127.0.0.1:8080:8080 \ salesforce-mcp:dev curl -s http://127.0.0.1:8080/health
Compose refuses to start when CONDUIT_S2S_SECRET is unset, sets AUTH_MODE=gateway, publishes 127.0.0.1:8080:8080, and does not inject SALESFORCE_*:
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up
Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses SALESFORCE_*:
docker run --rm \
-e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \ -e AUTH_MODE=env \ -e SALESFORCE_AUTH_FLOW=client_credentials \ -e SALESFORCE_CLIENT_ID=your-value \ -e SALESFORCE_CLIENT_SECRET=your-value \ -e SALESFORCE_INSTANCE_URL=https://yourorg.my.salesforce.com \ -p 127.0.0.1:8080:8080 \ salesforce-mcp:dev
The published image lives at ghcr.io/wyre-ai/salesforce-mcp with :latest, :sha- , and :v tags.
License
Apache-2.0.