プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Facebook Publisher

作者:anthonyjboloバージョン 0.1.1i★ –iパソコンで動く
レジストリ名io.github.anthonyjbolo/mcp-fb-publisher

インストール

概要

作者による説明(英語の原文)

Safe Facebook Pages publishing with brand-voice, image-required & anti-duplication checks.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: マーケティング・SNS
  • 入力が必要なもの:META_USER_TOKEN, OPENAI_API_KEY, FAL_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: META_USER_TOKEN, MCP_FB_PUBLISHER_CONFIG, MCP_FB_PUBLISHER_CONFIG_JSON, OPENAI_API_KEY, FAL_KEY

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "fb-publisher": {
      "command": "uvx",
      "args": [
        "mcp-fb-publisher"
      ],
      "env": {
        "META_USER_TOKEN": "your-value",
        "MCP_FB_PUBLISHER_CONFIG": "your-value",
        "MCP_FB_PUBLISHER_CONFIG_JSON": "your-value",
        "OPENAI_API_KEY": "your-value",
        "FAL_KEY": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add fb-publisher --env META_USER_TOKEN=your-value --env MCP_FB_PUBLISHER_CONFIG=your-value --env MCP_FB_PUBLISHER_CONFIG_JSON=your-value --env OPENAI_API_KEY=your-value --env FAL_KEY=your-value -- uvx mcp-fb-publisher

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "fb-publisher": {
      "command": "uvx",
      "args": [
        "mcp-fb-publisher"
      ],
      "env": {
        "META_USER_TOKEN": "your-value",
        "MCP_FB_PUBLISHER_CONFIG": "your-value",
        "MCP_FB_PUBLISHER_CONFIG_JSON": "your-value",
        "OPENAI_API_KEY": "your-value",
        "FAL_KEY": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "fb-publisher": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-fb-publisher"
      ],
      "env": {
        "META_USER_TOKEN": "your-value",
        "MCP_FB_PUBLISHER_CONFIG": "your-value",
        "MCP_FB_PUBLISHER_CONFIG_JSON": "your-value",
        "OPENAI_API_KEY": "your-value",
        "FAL_KEY": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • META_USER_TOKEN 秘密 必須 env
    Long-lived Meta Graph API user or page token. Required for publishing.
  • MCP_FB_PUBLISHER_CONFIG env
    Absolute path to your config.yaml (per-page brand voices, banned topics, image policy).
  • MCP_FB_PUBLISHER_CONFIG_JSON env
    Inline JSON config (alternative to file path, useful for serverless deploys).
  • OPENAI_API_KEY 秘密 env
    OpenAI API key for image generation via gpt-image-1 (optional).
  • FAL_KEY 秘密 env
    fal.ai API key for image generation via Flux Pro (optional).

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月9日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント anthonyjbolo で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

マーケティング・SNSのほかのサーバーとの比較i

  • このカテゴリのほかの3630件のうち0%よりスターが多い
  • このカテゴリのほかの3630件のうち8%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの3630件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Facebook Publisherは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:META_USER_TOKEN, OPENAI_API_KEY, FAL_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは6 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Google Analytics MCP

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

作者:surendranb成長中↓ 1088/週★ 24412 日前更新

パソコンで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

mcp-fb-publisher

An MCP server that lets Claude (or any MCP-compatible LLM) safely publish posts to multiple Facebook Pages through the Meta Graph API, with built-in guardrails: brand-voice config, banned-topic blocklists, image-required enforcement, and anti-duplication checks across recent feed posts.

Why this exists

Letting an LLM agent post directly to your Facebook Pages is a footgun unless you put guardrails in front. Common failure modes I have hit running 5+ pages:

  1. Token expired silently — post fails at midnight, nobody notices for 3 days.
  2. Same angle posted twice in 14 days — audience tunes out, reach drops.
  3. Text-only post when the brand voice mandates an image — engagement craters.
  4. Banned topic leaked — competitor name, internal codename, or deprecated product mentioned.

mcp-fb-publisher ships an MCP server that wraps the Meta Graph API behind 4 deterministic tools, all driven by a single config.yaml. Every publish call goes through validation by default. Validation is pure-Python (no LLM), reproducible in CI, and runs offline.

What it does

4 MCP tools:

ToolWhat it does
fb_publish_postPublishes (or schedules) a post on a configured page. Runs full validation by default; pass skip_validation=True to bypass.
fb_validate_pre_publishDry-run all guardrails. Returns `verdict: goblock` plus per-check details. Network-optional.
fb_anti_duplicate_checkCompares a candidate message against the page's recent posts using Jaccard similarity over word 4-grams.
fb_generate_post_with_imageGenerates an image via OpenAI (gpt-image-1) or fal.ai (flux-pro) and returns a URL ready for fb_publish_post.

5-minute quickstart

# 1. Install

pip install mcp-fb-publisher

2. Copy and edit the example config

cp config.example.yaml config.yaml

-> set page_id values, brand voices, banned_topics

3. Set required env

export META_USER_TOKEN=" " export MCP_FB_PUBLISHER_CONFIG="$PWD/config.yaml"

4. (Optional) for image generation

export OPENAI_API_KEY="sk-..." # or export FAL_KEY="..."

5. Run the MCP server (stdio transport)

mcp-fb-publisher

Wire it into Claude Desktop / Claude Code

Add to your claude_desktop_config.json:

{

"mcpServers": { "fb-publisher": { "command": "mcp-fb-publisher", "env": { "META_USER_TOKEN": "your_token_here", "MCP_FB_PUBLISHER_CONFIG": "/absolute/path/to/config.yaml", "OPENAI_API_KEY": "sk-..." } } } }

Then ask Claude things like:

*"Post on the marketing page: 'New collection drops Friday'. Generate an image first, validate, then publish."*

Claude will call fb_generate_post_with_image → fb_validate_pre_publish → fb_publish_post.

Architecture

flowchart LR

A[Claude / MCP client] -->|tool call| B[FastMCP server] B --> C{tool} C -->|generate| D[OpenAI / fal.ai] C -->|validate| E[Validator pure Python] C -->|anti-dup| F[Meta Graph API fetch_recent_posts] C -->|publish| G[Meta Graph API POST /feed or /photos] E -.reads.-> H[(config.yaml per-page rules)] G -.reads.-> H F -.reads.-> H

The split between generation, validation and publish is intentional: it lets the LLM iterate on the visual without burning Meta API quota, and it makes the guardrails inspectable in CI without a Meta account.

Anti-duplication strategy

We compare the candidate message against every post within anti_duplicate_lookback_days (per-page, default 14) using Jaccard similarity over word 4-grams:

  1. Normalize: lowercase, strip accents (NFKD), drop URLs, drop punctuation, collapse whitespace.
  2. Build the set of word-level 4-grams for both texts.
  3. similarity = |A ∩ B| / |A ∪ B|
  4. If similarity >= similarity_threshold (default 0.5), block.

Why this and not embeddings: deterministic, free, no extra API key, fast enough for 50 candidates per call. If you want LLM-grade semantic comparison, add another layer on top — the fb_validate_pre_publish tool returns the score so your agent can decide.

Brand voice config

defaults:

language: en brand_voice: | Direct, professional, no fluff. banned_topics: [] image_required: true anti_duplicate_lookback_days: 14

pages: marketing_main: page_id: "0000000000000000" name: "My Brand — Main" brand_voice: | Confident, concise, customer-first. banned_topics:

  • competitor_brand_a
  • leaked_codename image_required: true

community: page_id: "0000000000000002" name: "Community" image_required: false

Note: the brand_voice field is informational — it's surfaced to the calling LLM via the tool description but the server itself does not LLM-validate against it. This is by design (tests must run offline). Layer your own LLM check on top if you want enforcement.

Use cases

1. Multi-page agency

You manage 5 Facebook pages for clients. Each has its own brand voice, banned topics (competitor names), and image policy. Configure them all in one config.yaml, give Claude the tool, and let the agent draft + validate + publish across all of them with safety rails.

2. Solo founder

You run a single product page and want Claude to schedule the next 30 days of posts. Set image_required: true, give the agent your product brief, and use fb_anti_duplicate_check to make sure no two posts land on the same angle within a fortnight.

3. E-commerce

You rotate flash promos. Set anti_duplicate_lookback_days: 7 for the promo page and 14 for the evergreen content page. Combine with scheduled_at to queue a week's worth of posts in one shot.

Development

git clone https://github.com/anthonyjbolo/mcp-fb-publisher.git

cd mcp-fb-publisher

python3.12 -m venv .venv source .venv/bin/activate pip install -e ".[dev,openai,fal]"

Run the test suite (offline, no Meta credentials needed)

pytest

Lint

ruff check .

All tests use httpx.MockTransport and pytest-mock. No real Meta API calls in tests.

Security

  • The Meta token is read from META_USER_TOKEN only. Never hard-code it.
  • Token strings are redacted from error messages (***REDACTED***) before they leave the process.
  • The validator is sync and offline — safe to run in CI without exposing credentials.
  • config.yaml is in .gitignore. Only config.example.yaml is committed.

Roadmap

  • Instagram Graph API support (the validator already works, only the meta_client publish path needs adapting).
  • Optional ntfy webhook on publish failure.
  • LLM-grade brand-voice scoring as an opt-in tool.
  • Token rotation helper (fb_check_token_expiry).

En français — pourquoi ce projet

Construit en Nouvelle-Calédonie pour gérer 5 pages FB en parallèle (auto-école, marketplace de bingo, atelier d'apps, marque de tee-shirts, page média). Tous les écueils ci-dessus sont des bugs que j'ai vraiment vécus. Le serveur MCP est la couche que j'aurais aimé avoir le premier jour — maintenant elle est libre.

License

MIT — see LICENSE.

Contributing

Issues + PRs welcome. Please run pytest and ruff check . before opening a PR. For substantial features, open an issue first to discuss.

#BuiltOnClaudeCode

PopNxに聞く