LeadSync

me.leadsync由 leadsync.me 發布v0.1.1更新於 Oct 30, 2026

Manage Facebook and Instagram lead ad delivery: CRMs, alerts, autoresponders and test leads.

概覽

AI 產生的概覽

LeadSync 的 MCP 伺服器,讓助理設定並排查 Facebook 與 Instagram 潛在客戶廣告的投遞,包括 CRM、通知與自動回覆。

可以做什麼
  • 檢視帳戶、API 金鑰權限範圍與限制,並用管理員金鑰尋找其他帳戶
  • 檢視來源頁面、清單、目標連線及其自動回覆
  • 讀取近期潛在客戶與各目標的投遞狀態,並查看已寄出郵件記錄
  • 從 Meta 重新讀取頁面的潛在客戶表單及其問題,用於欄位對應
  • 將表單掛接到連線、設定或清除欄位對應、暫停或恢復清單
  • 建立郵件自動回覆、重送失敗或擱置的投遞、送出測試潛在客戶
適用情境
當你使用 LeadSync 把 Meta 潛在客戶廣告表單接到 CRM、Google 試算表或郵件,並希望助理協助設定對應、加入自動回覆或排查潛在客戶未送達的原因時適用。
執行需求
以 stdio 在本機執行,通常透過 npx @leadsync/mcp 啟動,需要 Node.js。需要 LeadSync API 金鑰,放在環境變數 LEADSYNC_API_KEY,或由 LeadSync skills 的登入指令存到 ~/.leadsync/.env。選用的 LEADSYNC_API_BASE 可覆寫 API 位址,LEADSYNC_ACCOUNT 僅供 LeadSync 員工使用。需要連線到 LeadSync API 的網路。
安裝前請注意
API 金鑰可存取 LeadSync 帳戶,若使用登入指令會存於本機 .env 檔。多個工具會寫入或送出:掛接表單可能重播最多 7 天的潛在客戶,set_mapping 會整份取代對應,自動回覆會寄信給客戶的潛在客戶,resend_lead 可能產生無法復原的重複投遞,send_test_lead 會進入真實目標並可能寄信給客戶。管理員金鑰可操作其他帳戶,操作前先確認目標帳戶。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@leadsync/mcp

The MCP server for the LeadSync API. It lets Claude and other MCP clients set up and troubleshoot LeadSync lead delivery: connect Meta lead forms to destinations, map fields, add autoresponders, send test leads and check what happened to a lead.

Most people install it with the installer, which also adds the LeadSync skills:

bash
npx @leadsync/skills --claude    # or --cursor, --codexnpx @leadsync/skills login

To run it by hand in any MCP client, use the command npx -y @leadsync/mcp. The full guide, the tools list and the safety rules are in the repository README.

Settings

The server reads each setting from the environment first, then from ~/.leadsync/.env (one KEY=value per line, written by npx @leadsync/skills login).

VariableWhat it does
LEADSYNC_API_KEYRequired. Your API key, from Account, Settings, API keys in LeadSync. Never written to logs or tool output.
LEADSYNC_API_BASEOptional. Defaults to https://leadsync.me.
LEADSYNC_ACCOUNTOptional. LeadSync staff only.

Licence: MIT.

來源:packages/mcp/README.md,提交 04ff954

工具

14

get_me

Returns the account (id, email, username, plan level, subscription), the key (name, scope, can_write_accounts, can_test_lead), acting_on_other_account and limits; no balance. Use it first to confirm which account you are working on.

輸入參數account_id

find_accounts

Admin keys only. Matches email, username or page name, up to 20 accounts, so you can pick an account_id to act on.

輸入參數q必填account_id

get_connections

Returns the sources (pages) -> lists graph (each list with `active`, `mapping_set` and its destinations) plus the account's connections with their autoresponders. A source's LeadSync page id is `page.id`; its Facebook id is `page.page_fb_id`. Use it to find a page_id, list_id or connection_id. It cannot show a list's current mapping, only whether one is set.

輸入參數account_id

get_destination_fields

Returns the fields a destination connection accepts, for building a field mapping. For Google Sheets pass sheet_id, the exact TAB NAME inside the spreadsheet, not the spreadsheet id. Ask the human for it (new Google Sheets often use "Sheet1", but a sheet created another way may be "Untitled"); a destination_error with a sheet_id usually means the tab name is wrong, check that before suggesting a reconnect.

輸入參數sheet_idaccount_idconnection_id必填

list_autoresponders

Lists the account's autoresponders and the connection each is attached to. Every lead through a connection gets every autoresponder on it.

輸入參數account_id

list_leads

Lists recent leads, newest activity first, with the delivery status for each destination. The first stop for "why didn't my lead arrive": check for failed, pending or held deliveries. `since` defaults to 7 days ago and the response echoes the value used as `since_used`; `limit` defaults to 50 (max 200). A lead counts as "never reached LeadSync" only when the window covered its time (pass `since` earlier than the lead's time) and fewer than `limit` rows came back; otherwise narrow with list_id, status or since, or escalate.

輸入參數limitsincestatuslist_idaccount_id

list_email_log

Lists emails LeadSync sent (lead notifications, autoresponders, system mail). The first stop for "why didn't my lead arrive" when the destination is an email address, or to check an autoresponder fired.

輸入參數typelimitsincelist_idaccount_id

refresh_forms

Re-reads the page's lead forms from Meta so newly created forms appear and attached ones are marked; each form's leads_count shows whether it is live, and forms[].questions[] lists its questions (key, label and type): use each key as the form field key when mapping. Takes the LeadSync page id (sources[].page.id from get_connections).

輸入參數page_id必填account_id

attach_form

Attaches a lead form to a destination connection by creating a list. Send mapping AND settings in this same call: a NEW list immediately replays up to 7 days of that form's leads using the mapping given here, so mapping afterwards delivers the replay unmapped. Idempotent on page, form and connection (an existing list comes back with created false, mapping_applied false and a hint; its mapping is untouched). form_id "catch_all" catches every form on the page; Google Sheets needs settings.sheet_id, the TAB NAME. Gated: on another account, or a live form, wait for the human's yes first. override_limits is admin-only and audited.

輸入參數form_id必填mappingpage_id必填settingsform_nameaccount_idconnection_id必填override_limits

set_list_active

Pauses or resumes delivery for one list. Resuming can use a source slot and is refused if another active list covers the same form and connection.

輸入參數active必填list_id必填account_idoverride_limits

set_mapping

Sets an EXISTING list's field mapping and/or per-list settings. Replaces the whole mapping with what you send; settings keys are merged. Send `settings` alone to leave the mapping untouched. An empty mapping object clears it. No tool can read the current mapping, so on a list with mapping_set true never send `mapping` unless the human has given the complete mapping; otherwise the change is made in the LeadSync UI. Send at least one of mapping or settings. For a new list, put the mapping in attach_form instead.

輸入參數list_id必填mappingsettingsaccount_id

create_autoresponder

Creates an email autoresponder on a connection. A gated write on another account: it starts emailing the customer's prospects, so wait for the human's yes (on another account there may be no 409 warning). Every lead through the connection receives every autoresponder on it; a 409 lists what is already attached, ask the human before acknowledging.

輸入參數name必填content必填subject必填from_nameaccount_idreply_emailconnection_id必填content_formatoverride_limitsacknowledge_shared_connection

resend_lead

Requeues a Meta lead's failed or held deliveries. Meta leads only, only failed or held legs, refused while the lead is still in flight; duplicates are irreversible so check list_leads first. Delivery is asynchronous (about a minute); poll list_leads.

輸入參數list_idaccount_idleadgen_id必填

send_test_lead

Asks Meta to create a test lead for a list's form. The test lead goes to the list's real destinations; on another account it may email the customer, so ask the human before setting acknowledge_customer_impact. Without it on another account the API answers 400 customer_impact_not_acknowledged.

輸入參數list_id必填account_idacknowledge_customer_impact

版本歷史

1
  1. v0.1.1最新Oct 30, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

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

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分