Forge Mcp

io.github.SalesforgeAI由 GitHub 帳號 SalesforgeAI 發布v1.0.0更新於 Nov 3, 2026

MCP server for Salesforge, Primeforge, Leadsforge, Infraforge, Warmforge, and Mailforge

概覽

AI 產生的概覽

把 AI 助理接上 Salesforge 產品套件(Salesforge、Primeforge、Leadsforge、Infraforge、Warmforge、Mailforge),用來做冷郵件外拓、潛在客戶搜尋與信箱網域管理。

可以做什麼
  • 管理 Salesforge 工作區、聯絡人、標籤、寄件者設定檔、序列與子序列、加入序列及勿聯絡名單
  • 啟動郵件驗證工作,並對聯絡人加入序列做預檢與確認
  • 透過 Leadsforge 搜尋與補齊潛在客戶資料,找出相似公司、LinkedIn 追蹤者與在地商家
  • 在 Primeforge、Infraforge、Mailforge 管理網域、信箱、DNS、網域可用性與額度
  • 查看 Warmforge 的信箱暖機統計與投遞測試結果
  • 讀取對話串並回覆 LinkedIn 對話,可附上附件
適用情境
適合以 Salesforge 系列產品做外拓銷售、想讓助理直接查潛在客戶、建立並加入序列、驗證郵件,或查看網域、信箱與暖機結果的情境,不必在多個後台之間切換。
執行需求
以本機 npm 套件透過 stdio 執行,或連線託管端點並在每次請求帶上標頭。需要為使用的產品提供 API 金鑰,透過 INFRAFORGE_API_KEY、LEADSFORGE_API_KEY、MAILFORGE_API_KEY、PRIMEFORGE_API_KEY、SALESFORGE_API_KEY(或對應的 X-*-Key 標頭)傳入;未設定的產品不會出現其工具。需要能連上 Salesforge 各 API 的網路。
安裝前請注意
這些金鑰可存取實際外拓帳號與客戶資料。許多工具會寫入或刪除:建立序列、把聯絡人加入序列、批次刪除聯絡人、刪除信箱或寄件者設定檔(會一併刪除綁定的 LinkedIn 帳號)、送出 LinkedIn 回覆。Leadsforge 的搜尋與補齊會消耗帳號額度,部分工具依賴尚未部署的 API 變更。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Forge Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Forge MCP Server

A remote MCP server that connects AI assistants to the full Salesforge product suite: Salesforge, Primeforge, Leadsforge, Infraforge, Warmforge, and Mailforge.

Built on the Model Context Protocol, works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Supported Products

Salesforge (83 tools) - Account credits and subscription, workspaces, contacts, sequences and subsequences, lead progress, mailboxes, LinkedIn accounts, sender profiles, tags, enrollment preflight and confirmation, webhooks, email validation, do-not-contact lists

Primeforge (23 tools) - Workspaces, domains, mailboxes, DNS management, prewarmed mailboxes, bulk mailbox lookup

Leadsforge (41 tools) - Contact search and count, email/phone/LinkedIn enrichment, company followers, lookalike search and free preview, local business discovery and owner enrichment, filter value lookups

Infraforge (24 tools) - Workspaces, domains, mailboxes, DNS, domain availability, credits

Warmforge (15 tools) - Workspaces, mailboxes, warmup stats, placement tests, latest mailbox placement results

Mailforge (23 tools) - Workspaces, domains, mailboxes, DNS management, domain availability, auto-renewal, domain masking, forwarding

Only provide API keys for the products you use. Tools for unconfigured products won't appear.

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "salesforge": {      "url": "https://mcp.salesforge.ai/mcp",      "headers": {        "X-Salesforge-Key": "YOUR_SALESFORGE_API_KEY",        "X-Primeforge-Key": "YOUR_PRIMEFORGE_API_KEY",        "X-Leadsforge-Key": "YOUR_LEADSFORGE_API_KEY",        "X-Infraforge-Key": "YOUR_INFRAFORGE_API_KEY",        "X-Warmforge-Key": "YOUR_WARMFORGE_API_KEY",        "X-Mailforge-Key": "YOUR_MAILFORGE_API_KEY"      }    }  }}

Remove header lines for products you don't use. Restart Claude Desktop after saving.

Claude Code

bash
claude mcp add salesforge \  --transport streamable-http \  --url https://mcp.salesforge.ai/mcp \  --header "X-Salesforge-Key: YOUR_SALESFORGE_API_KEY" \  --header "X-Primeforge-Key: YOUR_PRIMEFORGE_API_KEY" \  --header "X-Leadsforge-Key: YOUR_LEADSFORGE_API_KEY" \  --header "X-Infraforge-Key: YOUR_INFRAFORGE_API_KEY" \  --header "X-Warmforge-Key: YOUR_WARMFORGE_API_KEY" \  --header "X-Mailforge-Key: YOUR_MAILFORGE_API_KEY"

Cursor

Go to Settings > MCP and add a new server:

Getting API Keys

ProductWhere to get it
Salesforgeapp.salesforge.ai > Settings > API
Primeforgeapp.primeforge.ai > Settings > API
Leadsforgeapp.leadsforge.ai > Settings > API
Infraforgeapp.infraforge.ai > Settings > API
Warmforgeapp.warmforge.ai > Settings > API
Mailforgeapp.mailforge.ai > Settings > API

Authentication Headers

ProductHeaderFormat
SalesforgeX-Salesforge-KeyYOUR_API_KEY
PrimeforgeX-Primeforge-KeyYOUR_API_KEY
LeadsforgeX-Leadsforge-KeyYOUR_API_KEY
InfraforgeX-Infraforge-KeyYOUR_API_KEY
WarmforgeX-Warmforge-KeyYOUR_API_KEY
MailforgeX-Mailforge-KeyYOUR_API_KEY

Multiple Accounts

If you manage multiple accounts (for example, different clients), add separate server entries:

json
{  "mcpServers": {    "salesforge-client-a": {      "url": "https://mcp.salesforge.ai/mcp",      "headers": {        "Authorization": "Bearer CLIENT_A_KEY"      }    },    "salesforge-client-b": {      "url": "https://mcp.salesforge.ai/mcp",      "headers": {        "Authorization": "Bearer CLIENT_B_KEY"      }    }  }}

Each entry gets its own name and API keys. Your AI assistant sees tools from both and you specify which client to work with in your prompts.

Usage Examples

After setup, try asking your AI assistant:

  • "List my Salesforge workspaces"
  • "Show contacts tagged with 'enterprise' in workspace X"
  • "Create a new sequence called 'Q2 Outreach'"
  • "List leads in sequence 31086 and show the actions and conditions executed for a lead"
  • "Show the parent sequences and enrolled contacts for subsequence 31086"
  • "Enroll these contacts into the sequence"
  • "Show my Primeforge domains"
  • "Search Leadsforge for CTOs at SaaS companies in New York"
  • "Pull the followers of the Salesforge LinkedIn page and find their emails"
  • "Show me companies similar to salesforge.ai before I spend credits"
  • "Find dentists within 10km of Amsterdam and get their owners"
  • "Check my Infraforge credit balance"
  • "Show warmup stats for my mailboxes"
  • "Show which Warmforge mailboxes have 100% latest placement results"
  • "List my Mailforge domains"
  • "Check if example.com is available on Mailforge"

Asynchronous Email Validation

Start validation with start_email_validation. Before returning HTTP 201, Multichannel resolves and persists candidate membership. selected and skipped.duplicate are exact, supported counts: a non-empty selection returns status: pending, while an empty selection returns status: failed with failureCode: validation_scope_empty. The legacy strict option is omitted and deprecated. Retain the returned validationJobID and poll get_validation_results with roughly ten-second backoff. Continue until the status is terminal: completed, partially_completed, or failed. Inspect the polling response before enrolling contacts; it is authoritative for validation outcomes, terminal counts are authoritative, and a failed run must not be automatically resubmitted.

For enrollment, use preflight_enrollments with the completed or partially completed validationRunId, inspect the preflight, then use confirm_enrollment_preflight. To restrict candidates, provide non-empty validationStatuses; omitted or empty statuses mean no status restriction and all run candidates, including unvalidated contacts, are considered. Durable async runs evaluate non-empty statuses against the requested run's persisted results, while legacy completed runs evaluate them against current Salesforge status. A partial run does not automatically select only its successful subset.

Local HTTP MCP testing still proxies the deployed Multichannel API.

Rollout Dependency

Internal rollout order is binding: deploy the Multichannel async-validation contract before rolling out Forge MCP. Forge MCP must not reintroduce strict: false as a rollout workaround.

Project Structure

src/├── index.ts              # stdio entry point├── http.ts               # HTTP/SSE transport entry point├── server.ts             # MCP server setup, tool registration├── api-client.ts         # HTTP client for upstream APIs├── client.ts             # legacy client├── helpers.ts            # shared utilities└── tools/    ├── identity.ts       # API key validation    ├── account.ts        # account credit balances and subscription    ├── workspaces.ts     # workspace management    ├── contacts.ts       # contact CRUD    ├── mailboxes.ts      # mailbox and email operations    ├── threads.ts        # primebox threads, labels, and LinkedIn replies    ├── sequences.ts      # sequence lifecycle and lead progress    ├── subsequences.ts   # subsequence triggers, parents, and members    ├── nodes.ts          # sequence node management    ├── branches.ts       # sequence branches    ├── enrollments.ts    # contact enrollment    ├── linkedin.ts       # LinkedIn connection and session management    ├── tags.ts           # workspace tag discovery    ├── sender-profiles.ts# sender profile management    ├── validations.ts    # email validation    ├── webhooks.ts       # webhook management    ├── dnc.ts            # do-not-contact lists    ├── custom-vars.ts    # custom variables    ├── reference.ts      # action/condition type lookups    ├── primeforge/       # domain, mailbox, workspace tools    ├── leadsforge/       # search, enrichment, lookalike, followers, local business tools    ├── infraforge/       # domain, mailbox, credit tools    ├── warmforge/        # workspace, mailbox, placement test tools    └── mailforge/        # workspace, domain, mailbox tools

Self-Hosting

If you prefer to run your own instance:

bash
npm installnpm run buildnpm run start:http

The server listens on port 3000 by default. API keys are passed as headers per request, not as environment variables.

The HTTP endpoint uses stateless MCP POST requests. Standalone SSE streams are not offered: GET /mcp (and HEAD) returns 405 Method Not Allowed before allocating an MCP server. Per-request servers and transports are closed after handling, on failures, and when clients disconnect before the response finishes.

Diagnostic logging

Logging is enabled by default as JSON lines on stderr, suitable for container log collection. MCP stdio output remains reserved for protocol messages. HTTP requests, including /health, receive a generated X-Request-Id response header that correlates their request and upstream API logs.

Environment variableDefaultPurpose
LOG_LEVELinfoMinimum severity: debug, info, warn, or error. Debug adds MCP setup timings and upstream response-header timings.
SLOW_REQUEST_MS3000Emit one warning when an HTTP or upstream request remains pending this long. Does not cancel requests or change timeouts.
RUNTIME_LOG_INTERVAL_MS10000Interval for HTTP process metrics: active requests, event-loop delay/utilization, CPU, and memory.

For more detail, run LOG_LEVEL=debug npm run start:http. Invalid settings fall back to their defaults. Keep info or debug enabled during timeout investigations so request starts and process metrics are retained.

  • http.request.started without a matching completed or aborted event indicates an unfinished request or a process that stopped before logging completion. http.request.slow is emitted while the request is still pending, including during body parsing.
  • upstream.request.slow identifies a pending product API call; its timing includes reading and parsing the response. The parent requestId links it to the HTTP request, and upstreamRequestId separates multiple API calls.
  • runtime.metrics shows whether event-loop delay, CPU, memory, or request counts increased around a timeout. A blocked event loop also delays logging; its stall becomes visible after it resumes.
  • If a timed-out health check has no corresponding request-start event, check proxy/load-balancer logs and container restarts too. Requests may not have reached Express, or the process may have been unable to run. Logging alone cannot establish the root cause.

The structured logs omit headers, bodies, query strings, upstream paths, and error messages/stacks to avoid capturing API keys and customer data. Errors include type, code, and HTTP status where available. Existing Node/Express native diagnostics may still appear separately. HTTP routes other than /health and /mcp are labeled other.

License

MIT

LinkedIn replies

Use get_thread to read the conversation, then call reply_to_linkedin_thread with workspaceId, threadId, the sending LinkedIn accountId from the thread's LinkedIn messages, and message. LinkedIn-only threads do not require a mailbox ID. The tool calls the existing Salesforge public API and returns the created LinkedIn message.

Optional attachments accept filename, contentBase64, and optional contentType. For an attachment-only reply, pass an empty message and at least one attachment. The API validates supported file types and size limits.

Salesforge account and contact management

These tools require the public API additions in multichannel-api #1068 and salesforge-api #2795 (SF-9461). The matching API changes must be deployed before the tools can be used.

ToolsBehavior
create_sender_profile, bulk_create_sender_profilesCreate profiles with optional existing mailbox IDs and a LinkedIn account ID. Bulk creation accepts 1–100 entries and reports each result independently.
connect_linkedin_accountConnect LinkedIn; set skipSenderProfile: true to skip automatic draft sender-profile creation.
get_linkedin_account, submit_linkedin_account_otpCheck connection state and answer authentication challenges.
delete_contact, bulk_delete_contactsDelete one contact or up to 1,000 contacts. Bulk deletion ignores IDs outside the workspace.
list_tagsDiscover tag IDs and names with pagination, name search, and optional case sensitivity.

To attach a standalone LinkedIn account, use create_sender_profile with its linkedinAccountId. The account must belong to the workspace and must not already be attached to another sender profile.

The existing delete_sender_profile tool also deletes its attached LinkedIn account.

Salesforge mailbox and LinkedIn lifecycle

These tools require salesforge-api #2836 and multichannel-api #1111 (SF-10349), on top of the SF-9461 API additions above. The matching API changes must be deployed before the tools can be used.

ToolsBehavior
disconnect_linkedin_account, reconnect_linkedin_accountManage the session while retaining account identity, history, limits, and the sender-profile association.
delete_mailboxRemove the mailbox from Salesforge without deleting the email account at its provider.
update_mailbox_connection_settingsUpdate SMTP/IMAP settings even while connected. Supply complete host, port, username, and password settings for at least one protocol. Omitted protocols remain unchanged. OAuth mailboxes are unsupported.
update_sender_profileAttach a standalone LinkedIn account using updates.linkedinAccountId. The profile must have no LinkedIn account, or already have that same account. Replacing a different account returns 409. Omitted/null linkedinAccountId leaves the association unchanged; omitted mailboxIds preserves mailboxes.

There is no independent LinkedIn deletion tool or email disconnect tool. The existing delete_sender_profile tool also deletes its attached LinkedIn account.

LinkedIn cookie login

This requires multichannel-api #1350 (SF-11040). The matching API change must be deployed before cookies can be used.

connect_linkedin_account and reconnect_linkedin_account also accept cookies from a browser logged in to LinkedIn, instead of email and password. The cookies must include li_at; li_a is used when present (Sales Navigator). No OTP is asked, and the email is read from LinkedIn. Send userAgent of the same browser with them. A reconnect with cookies must be logged in to the same LinkedIn account and takes no email or password.

來源:README.md,提交 3d0405c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。