Api

com.politicalcomms由 politicalcomms.com 發布v0.2.1更新於 Nov 3, 2026

Compliant political SMS/MMS from MCP clients: projects, contacts, analytics, billing.

發布方自己的服務:Docs

概覽

AI 產生的概覽

針對 Political Comms API 的 MCP 伺服器,讓助理檢視政治類簡訊/多媒體訊息專案、聯絡人、分析與帳務,並建立、測試或排定發送。

可以做什麼
  • 列出組織、階層、專案及專案設定
  • 讀取送達、互動、問卷與輸送量統計,以及訊息統計和帳務用量
  • 瀏覽聯絡人清單、以 CSV 下載清單,並檢視對話及其訊息
  • 檢視電子郵件網域、寄件者、清單、抑制名單、活動、統計與範本
  • 建立、複製、測試、排定、暫停與取消排定簡訊/多媒體訊息專案,在對話中回覆,並排定電子郵件活動或匯入郵件清單
適用情境
適合需要操作美國政治類簡訊/多媒體訊息帳戶的情境:在聊天用戶端中檢視專案、聯絡人清單與分析,或準備並排定合規的簡訊與電子郵件發送。
執行需求
透過 npm 套件以 stdio 在本機執行,需要 Node 20 或更新版本。需要 Political Comms API 金鑰(前綴 pc_live_),透過環境變數 POLITICAL_COMMS_API_KEY 提供,並由人員在後台 Admin > API Keys 建立。電子郵件寫入工具需要組織具備郵件權限。
安裝前請注意
API 金鑰是正式憑證,透過環境變數傳入。多個工具會作用於真實受眾:test_project 會發送真實測試訊息,schedule_project 會提交大量發送,reply_to_conversation 會發送真實回覆,schedule_email_campaign 與 start_email_list_import 另需 confirm: true。發送可能產生費用;付費郵件流程僅在後台提供。伺服器不提供刪除操作。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@political-comms/mcp

MCP (Model Context Protocol) server for the Political Comms REST API. Lets Claude and other MCP clients inspect organizations, projects, contact lists, analytics, and billing, and create, test, and schedule compliant political SMS and MMS sends in the US.

Runs over stdio. Requires Node 20 or later and a Political Comms API key (created in the dashboard under Admin > API, prefixed pc_live_).

Setup

Claude Code

bash
claude mcp add political-comms \  --env POLITICAL_COMMS_API_KEY=pc_live_... \  -- npx -y @political-comms/mcp

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "political-comms": {      "command": "npx",      "args": ["-y", "@political-comms/mcp"],      "env": {        "POLITICAL_COMMS_API_KEY": "pc_live_..."      }    }  }}

Tools

Read only:

ToolDescription
list_organizationsList organizations visible to the API key. Doubles as a credential check.
get_hierarchyFull organization hierarchy tree with brands.
list_projectsList messaging projects, filterable by organization, brand, or campaign.
get_projectFull configuration of one project.
get_project_statsDelivery and engagement stats for one project.
get_project_survey_resultsTopline survey results for a survey project: per-question option counts and percentages, completion and dropoff rates. Returns a 409 NOT_A_SURVEY error for other projects.
get_project_throughputCarrier-limit estimate for one project: recipients per carrier and how long AT&T takes (will_pause is always false).
get_campaign_throughputA campaign's T-Mobile daily cap, use today, and AT&T per-minute rates.
list_contact_listsContact lists with counts and status.
get_contact_listOne contact list with import progress, analysis, and downloads URLs.
download_contact_listA contact list as CSV text (type original or analyzed), truncated at 100,000 characters.
get_message_statsAggregate message stats for a date range.
get_ledger_usageBilling usage for a date range.
list_conversationsConversations with at least one inbound message, sorted by last inbound message.
get_conversationOne conversation: status, contact, message counts, last activity.
list_conversation_messagesMessages in one conversation, newest first.
list_email_domainsEmail sending domains and their DNS verification status.
get_email_domainOne sending domain, including the DNS records to publish.
list_email_sendersEmail sender identities (From addresses).
list_email_listsEmail lists with contact counts and status.
list_email_suppressionsSuppressed addresses at org, identity, or list scope.
list_email_campaignsEmail campaigns with status and audience counts.
get_email_campaignOne campaign, including blocked: why it will not schedule.
get_email_campaign_statsReport tiles and per-link clicks.
list_email_templatesSaved email templates with subject and last-updated time.
get_email_templateOne template including its full HTML body.

Write (each is annotated as non read-only; create_project, test_project, schedule_project, and reply_to_conversation additionally require confirm: true because they stage or send real messages):

ToolDescription
create_projectCreate a draft messaging project.
test_projectSend real test messages to explicit phone numbers.
schedule_projectCommit a bulk send at a specific date and time.
unschedule_projectRemove a project's schedule.
pause_projectPause a running or scheduled send; resume with schedule_project.
copy_projectCopy a project into a new draft (drops lists, schedule, and stats).
reply_to_conversationSend a real reply (text, one media_ids entry for MMS, or both) inside an existing conversation. Requires confirm: true.
schedule_email_campaignCommit an email send. Requires confirm: true.
unschedule_email_campaignReturn a scheduled campaign to a draft state.
start_email_list_importImport a CSV of contacts into an email list. Requires confirm: true.

The server deliberately exposes no delete operations.

Email tools

Email write tools need the email entitlement on the organization and return 403 ENTITLEMENT_REQUIRED without it; reads are open. Paid and human-driven email workflows (AI drafting, result exports) and deliverability triage (pausing and resuming a live send) are dashboard features rather than tools: they cost money or need a human watching a send. There is no inbound email or inbox surface.

Errors

API errors are returned as tool errors with the machine readable code and a recovery hint. Rate limited requests (600 requests/minute per key) mention the X-RateLimit-Reset wait; authentication failures explain that a human must create a key in the dashboard.

Full API reference: docs.politicalcomms.com. OpenAPI spec: politicalcomms.com/openapi.json.

License

MIT. Questions: [email protected]

來源:packages/mcp/README.md,提交 79029b1

工具

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

版本歷史

1
  1. v0.2.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

其他 Politicalcomms 整合