Socialbridge Mcp

io.github.IsaiahDupree由 GitHub 帳號 IsaiahDupree 發布v1.0.0更新於 Oct 24, 2026

Unified social-media data across 10 networks: profiles, posts, search, comments, cross-search.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取資料與分析

概覽

AI 產生的概覽

一個遠端 MCP 連接器,讓助理以統一格式唯讀存取九個社群網路的公開帳號資料、貼文、搜尋結果與留言。

可以做什麼
依平台取得單一帳號的資料,或該帳號近期的貼文,回傳帶平台標記的統一結構。在單一網路內搜尋貼文,或把一次查詢平行分散到所有免金鑰網路並合併結果。讀取某則貼文的留言與回覆,並依短碼或連結取得單一 Threads 貼文及其回覆。依使用者、子版或關鍵字拉取 Reddit 完整歷史,以及創作者公開的 Snapchat Spotlight 動態。列出 YouTube 字幕語言與片段,並在設定憑證後查詢 Meta 廣告庫紀錄。
適用情境
適合需要公開社群媒體資料的情境,例如帳號與網紅調查、跨平台主題搜尋、留言閱讀、Reddit 歷史或廣告庫查詢,而不必自行串接各平台 API。它屬於免費探索層,重度或正式環境使用預期應改用付費上游服務。
執行需求
以遠端 streamable-HTTP 端點執行,MCP 端不需要本機執行環境、帳號或登入。伺服器本身需要營運方設定環境變數 SOCIALBRIDGE_MCP_PROXY_SECRET 以通過上游驗證,可選設定 SOCIALBRIDGE_MCP_API_BASE_URL 與 SOCIALBRIDGE_MCP_RATE_LIMIT。部分網路(Instagram、Twitter/X、Reddit、Facebook)及 Facebook 廣告工具需要營運方憑證,否則回傳 credentials_required。
安裝前請注意
所有工具皆為唯讀並回傳公開中繼資料,但每次呼叫都會轉送到第三方計量上游,查詢與結果會離開助理所在環境。另有依 IP 的軟性限制(預設每小時 30 次工具呼叫)。受限網路與廣告工具在營運方設定憑證前會回傳 credentials_required;LinkedIn 已停用。資料正確性完全取決於上游服務。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.IsaiahDupree%2Fsocialbridge-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "socialbridge": {
      "type": "http",
      "url": "https://socialbridge-mcp.vercel.app/mcp"
    }
  }
}

README

socialbridge-mcp

A remote MCP (Model Context Protocol) connector for SocialBridge API — unified social-media data behind one /v1 contract across nine networks (Instagram, TikTok, YouTube, Twitter/X, Reddit, Facebook, Pinterest, Snapchat, Threads; LinkedIn is registered but quarantined). Every network exposes the same four operations — profile, posts, search, comments — returning one flat schema (Profile / Post / Comment) tagged with platform, plus a cross-platform superset (search_all) and a few platform-specific extras.

Live: https://socialbridge-mcp.vercel.app/mcp — 10 tools. Since the upstream SocialBridge deployment is metered (RapidAPI/Apify) and gates every /v1/* route behind a RapidAPI proxy-secret guard, this connector authenticates its own outbound calls with that same secret (SOCIALBRIDGE_MCP_PROXY_SECRET, sent as the X-RapidAPI-Proxy-Secret header) and applies a soft per-IP rate limit (SOCIALBRIDGE_MCP_RATE_LIMIT, default 30 tool-calls/hour, in-memory) so the free MCP tier stays a discovery channel rather than an unmetered bypass of the paid listing — see lib/ratelimit.js.

What this is, and why it's a separate connector

SocialBridge API is a plain REST API. Any HTTP client can already call it directly. This repo exists because MCP clients (Claude, ChatGPT, and other MCP-aware agents) don't consume arbitrary REST APIs — they consume MCP tools. socialbridge-mcp is a thin adapter layer that:

  • Exposes each SocialBridge endpoint as a discoverable, typed MCP tool (name, description, zod input schema, annotations) that an LLM can reason about and call directly.
  • Speaks the MCP streamable-HTTP transport at a single /mcp endpoint, so it registers as a connector in Claude, ChatGPT, or any other MCP client with one URL.
  • Does nothing else. Every tool call is a pass-through fetch to SocialBridge, and the JSON response is handed back verbatim as the tool result.

Authentication: None on the MCP side (deliberate)

SocialBridge's data has no per-user dimension — it's public social-media metadata (profiles, posts, search results, comments). There is nothing to gate per-caller, so this connector ships with no OAuth, no login, no Supabase, no billing, no demo-vs-real split — every caller gets the same real, live data. api/mcp.js builds a fresh, stateless McpServer per request.

The connector still authenticates its own outbound calls to the metered upstream (see below) — that is a server-to-server detail invisible to MCP callers, not per-caller auth.

Tools

One tool per real SocialBridge /v1 route (from social-api/openapi.yaml + src/routes.js):

ToolSocialBridge endpointDescription
social_profileGET /v1/{platform}/profileOne account profile as the unified Profile schema.
social_postsGET /v1/{platform}/postsAn account's recent posts as the unified Post[].
social_searchGET /v1/{platform}/searchSearch one network for posts (unified Post[]).
social_commentsGET /v1/{platform}/commentsComments/replies on a post (unified Comment[]).
search_allGET /v1/search/allFan one query across every network in parallel, merged.
reddit_historyGET /v1/reddit/historyKeyless Reddit full-history pull (Arctic Shift).
facebook_adsGET /v1/facebook/adsMeta Ad Library records as the unified Ad[] (gated).
youtube_transcriptGET /v1/youtube/transcriptCaption-language list / cue segments for a video.
threads_postGET /v1/threads/postA single thread by shortcode or URL, with replies.
snapchat_spotlightGET /v1/snapchat/spotlightA creator's public Spotlight feed (unified Post[]).

platform is an enum of instagram, tiktok, youtube, twitter, reddit, facebook, pinterest, snapchat, threads, linkedin. Keyless platforms return real data with no setup; gated platforms return an honest credentials_required and LinkedIn returns platform_disabled — nothing is ever faked.

All 10 tools are read-only and annotated { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }.

Environment variables

VarDefaultPurpose
SOCIALBRIDGE_MCP_API_BASE_URLhttps://social-api-olive.vercel.appUpstream SocialBridge base URL (override for local/self-hosted testing).
SOCIALBRIDGE_MCP_PROXY_SECRET(unset)RapidAPI proxy secret, sent outbound as X-RapidAPI-Proxy-Secret to pass the upstream /v1/* guard. Without it the upstream returns 403 and tools surface it honestly.
SOCIALBRIDGE_MCP_RATE_LIMIT30Soft per-IP cap on tools/call per hour (in-memory, per serverless instance).

This is a free discovery tier over the metered SocialBridge API — heavy users should go through the paid RapidAPI/Apify listings.

How it wraps social-api

Each tool handler does a plain fetch(\${SOCIALBRIDGE_MCP_API_BASE_URL}${path}`, ...)(with theX-RapidAPI-Proxy-Secret` header when configured) against the real SocialBridge REST API and returns the parsed JSON as MCP tool-result content:

js
{ content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }

Upstream HTTP errors (4xx/5xx) are caught and surfaced as a typed MCP error result via an asError helper rather than crashing the request.

Local development

bash
npm installnode local-server.js &                       # serves /mcp and /health on :3900SOCIALBRIDGE_MCP_PROXY_SECRET=... npm run smoke   # real end-to-end smoke test

來源:README.md,提交 ba7ca4c

工具

10

social_profile

Get a social profile

Fetch one account profile from any supported network as the unified Profile schema (id, username, displayName, bio, url, followers, following, postCount, verified, avatarUrl, externalUrl), tagged with its platform. Keyless on Instagram, TikTok, YouTube, Pinterest, Snapchat, and Threads. Twitter/X, Reddit, and Facebook need operator-side credentials (returns credentials_required until set); LinkedIn is quarantined (platform_disabled).

輸入參數platform必填username必填

social_posts

Get an account's recent posts

An account's recent posts / videos / tweets / threads / pins as the unified Post[] schema (id, url, author, text, createdAt, like/comment/share/view counts, mediaType, mediaUrls, hashtags), tagged with its platform. Keyless on Instagram, TikTok, YouTube, Pinterest, Snapchat, and Threads. Twitter/X, Reddit, and Facebook need operator-side credentials; LinkedIn is quarantined. For a keyless Reddit history pull use reddit_history.

輸入參數limitcursorplatform必填username必填

social_comments

Get comments / replies on a post

Comments / replies on one post as the unified Comment[] schema, tagged with its platform. Provide url OR postId. Keyless on TikTok, YouTube, and Threads (and a single tweet via syndication on Twitter/X). Instagram, Reddit, and Facebook need operator-side credentials; Snapchat comments are not supported keyless; LinkedIn is quarantined.

輸入參數urllimitcursorpostIdplatform必填

search_all

Search every network at once

The wedge no incumbent offers: fan one search query out across the requested platforms (default: all keyless, non-disabled) in parallel, merge the unified Post[], and tag each result with its platform. Gated / disabled / unsupported / throttled engines are listed under "skipped" with an honest reason — the call still returns whatever came back.

輸入參數q必填limitplatforms

reddit_history

Reddit full history (keyless)

Keyless full-history pull via Arctic Shift — a user's or subreddit's posts, or a keyword search across Reddit history, returned as the unified Post[]. Provide at least one of username, subreddit, or q. Optional before/after bound the window by epoch-seconds or ISO timestamp.

輸入參數qafterlimitbeforeusernamesubreddit

facebook_ads

Facebook / Meta Ad Library

Meta (Facebook/Instagram) Ad Library records as the unified Ad[] (id, pageName, adCreativeBody, adSnapshotUrl, startDate, currency, spend + impression ranges). Provide q OR pageId. GATED — needs operator-side FACEBOOK_ACCESS_TOKEN (with ads_read); returns credentials_required until set.

輸入參數qlimitpageIdcountry

youtube_transcript

YouTube transcript / caption languages

Available caption-language list (and cue segments where retrievable) for a YouTube video. Provide url OR videoId. Keyless. NOTE: actual cue text is BotGuard-gated keyless, so it is reported honestly (available:false, empty segments) rather than fabricated.

輸入參數urllangvideoId

threads_post

Threads post by shortcode

Fetch a single thread by shortcode or URL, including its replies, as the unified Post (with replies). Provide code OR url. Keyless.

輸入參數urlcode

snapchat_spotlight

Snapchat creator Spotlight feed

A creator's public Snapchat Spotlight feed as the unified Post[] with real view/comment/share counts. Keyless.

輸入參數limitusername

版本歷史

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

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

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