Customer Thermometer

io.github.WYRE-AI由 GitHub 帳號 WYRE-AI 發布v1.0.5更新於 Oct 29, 2026

MCP server for Customer Thermometer's customer feedback / NPS survey API.

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

將助理連接到 Customer Thermometer 問卷回饋 API,可列出問卷範本與收件人清單、管理收件人、寄送問卷並讀取 NPS 與回饋報告。

可以做什麼
  • 列出帳戶中的問卷範本(Thermometers)與收件人清單
  • 將收件人加入清單,或把電子郵件地址加入帳戶的退訂清單
  • 寄送單封 Email Thermometer 問卷給一位收件人,並查詢剩餘寄送額度
  • 讀取 NPS、幸福指數、原始問卷結果與文字評論,可依批次、溫度或日期範圍篩選
適用情境
適合讓助理直接處理 Customer Thermometer 的回饋資料:查詢 NPS 或幸福指數、檢視問卷回覆與評論,或在不開啟廠商後台的情況下寄送問卷、維護收件人清單。
執行需求
以本機程序執行(Docker 映像,預設 stdio)。需要 Customer Thermometer API 金鑰,放在 CUSTOMERTHERMOMETER_API_KEY 中,可使用 Super API key 或權限較窄的 sub-API key(來自帳戶 Integration 設定)。另有傳輸方式、驗證模式、日誌等級與 HTTP 主機/連接埠等選用設定;HTTP 模式還需 CONDUIT_S2S_SECRET 及每次請求的閘道標頭。
安裝前請注意
API 金鑰可存取帳戶資料,Super API key 涵蓋整個帳戶,建議優先使用權限較窄的 sub-API key。此伺服器能寄送問卷郵件、加入收件人並將地址退訂,會更動真實客戶資料並消耗寄送額度。HTTP 閘道模式下金鑰透過 X-CustomerThermometer-Api-Key 逐次請求傳入,且每個請求都需有效的 X-Gateway-S2S 簽章;請勿將 CONDUIT_S2S_SECRET 提交到版本庫,非本機測試時避免使用不安全開發模式。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

Customer Thermometer MCP Server

MCP server for Customer Thermometer's customer feedback / NPS survey API - thermometers, recipient lists, sending, and reporting, for AI assistants and the WYRE Conduit gateway.

Authentication

Customer Thermometer authenticates with a single static API key, generated from your account's Integration settings. Either a "Super API key" (full account access) or a narrower "sub-API key" works with this connector.

Configuration

Copy .env.example and set the variables below.

Env varDescription
CUSTOMERTHERMOMETER_API_KEYAPI key issued by Customer Thermometer. Used by stdio and by HTTP when AUTH_MODE=env.
MCP_TRANSPORTstdio (default) or http.
AUTH_MODEenv (default, reads the var above) or gateway (the API key arrives per request on X-CustomerThermometer-Api-Key and never falls back to the environment). The Docker image and Compose file default to gateway.
CONDUIT_S2S_SECRETRequired for HTTP. HMAC key checked against X-Gateway-S2S on /mcp. Generate with openssl rand -hex 32. If this is empty or a known placeholder (changeme, your-s2s-secret, replace-with-a-real-secret, and the other public examples), the HTTP server logs an error and exits non-zero. Compose will not start when it is unset. Never commit a real value. The value is never logged.
MCP_ALLOW_INSECURE_DEVSet to exactly 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. Logs a warning, does not enforce X-Gateway-S2S, and binds 127.0.0.1 only. A non-loopback MCP_HTTP_HOST is ignored in that mode. A known placeholder secret still refuses to start.
MCP_HTTP_HOSTBind address when MCP_TRANSPORT=http. Defaults to 127.0.0.1. Honored when CONDUIT_S2S_SECRET is set. The container image sets 0.0.0.0. Without a secret, the listener is 127.0.0.1 only.
MCP_HTTP_PORTHTTP port. Defaults to 8080.
LOG_LEVELdebug | info (default) | warn | error.

/health stays unauthenticated and does not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.

HTTP authentication

With MCP_TRANSPORT=http and CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S. The header value is t=<unix seconds>,v1=<hex>. <hex> is HMAC-SHA256 of the literal string t=<unix seconds> (the same t= prefix and timestamp), keyed with CONDUIT_S2S_SECRET, encoded as 64 lowercase hex characters. The timestamp must be within 300 seconds of the server clock. A missing or invalid header is HTTP 401, before vendor credentials are read.

In AUTH_MODE=gateway, /mcp also requires X-CustomerThermometer-Api-Key. That header is the only credential source for the request. A request missing it returns 401 and does not fall back to CUSTOMERTHERMOMETER_API_KEY.

Request limits

  • HTTP request bodies are capped at 256 KiB (262144 bytes). After the X-Gateway-S2S check passes, a Content-Length above the cap returns 413 with a JSON-RPC error; bodies without Content-Length are capped by the MCP SDK transport. Unauthenticated requests still get 401 first.
  • tools/call arguments are capped at 10,000 elements (every array item and object key at any depth). Larger inputs return an isError tool result and are never dispatched.

These limits address CVE-2026-111768 / GHSA-46jr-4wx8-v453 (memory exhaustion during validation) and GHSA-f897-62hf-6gxq (no request body / batch cap).

Tools

Lists

  • customerthermometer_get_thermometers - list all survey templates (Thermometers) on the account.
  • customerthermometer_get_recipient_lists - list all recipient lists on the account.

Recipients

  • customerthermometer_add_recipient_to_list - add a recipient to a list.
  • customerthermometer_unsubscribe_recipient - add an email address to the account's unsubscribe list.

Sending

  • customerthermometer_send_email - send a single Email Thermometer survey to one recipient.
  • customerthermometer_get_credits - remaining Thermometer send credits on the account.

Reporting

  • customerthermometer_get_nps_value - Net Promoter Score, optionally filtered by blast/date range.
  • customerthermometer_get_happiness_value - Happiness Factor percentage, optionally filtered by blast/date range.
  • customerthermometer_get_blast_results - raw survey responses, optionally filtered by temperature/blast/date range.
  • customerthermometer_get_comments - free-text comments left with responses, optionally filtered by temperature/blast/date range.

The read endpoints that return XML (getThermometers, getRecipientLists, getBlastResults, getComments) are parsed generically rather than mapped to a hand-written schema - the vendor's API documentation does not publish the element names for these responses, so the parsed structure is passed straight through instead of risking a schema that doesn't match the live response.

Scope

This is a v1 surface covering the core survey workflow: listing thermometers/lists, adding and unsubscribing recipients, sending surveys, and reading NPS/happiness/response/comment reports. Explicitly out of scope for now: logResponse and deleteResponse - destructive, lower-value endpoints that mutate or discard existing response data. They can be added as a follow-up if there's demand.

Development

bash
npm installnpm run buildnpm testnpm run lint   # tsc --noEmit

Docker

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 the API key arrives on each request as X-CustomerThermometer-Api-Key; it is not read from the environment. Every /mcp request must also include a valid X-Gateway-S2S signature (see HTTP authentication).

bash
docker build -t customer-thermometer-mcp .docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -p 127.0.0.1:8080:8080 \  customer-thermometer-mcp

Compose refuses to start when CONDUIT_S2S_SECRET is unset, defaults AUTH_MODE to gateway, publishes 127.0.0.1:8080:8080, and does not set CUSTOMERTHERMOMETER_API_KEY:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up

Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses CUSTOMERTHERMOMETER_API_KEY:

bash
docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -e AUTH_MODE=env \  -e CUSTOMERTHERMOMETER_API_KEY="$CUSTOMERTHERMOMETER_API_KEY" \  -p 127.0.0.1:8080:8080 \  customer-thermometer-mcp

HTTP refuses to start until CONDUIT_S2S_SECRET is a real secret. Local HTTP without a secret is development-only: it binds 127.0.0.1 only and logs a warning.

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" npm run start:http
MCP_ALLOW_INSECURE_DEV=1 npm run start:http

來源:README.md,提交 208e5b2

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

3
  1. v1.0.5最新Oct 22, 2026
  2. v1.0.4Oct 17, 2026
  3. v1.0.3Sep 20, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

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