Meta, Instagram, Facebook Ads MCPのロゴ

Meta, Instagram, Facebook Ads MCP

コミュニティ
EfrainTorres

Instagram & Facebook MCP server for Meta Marketing API v26 with secure token redaction, cursor pagination, and OSS tooling for campaigns, ad sets, ads, creatives, insights, and reports.

公開者EfrainTorres
リポジトリarmavita-meta-ads-mcp
言語Rust
フォーク
8
スター
74
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスAGPL-3.0
リンク
  • ツールをAIワークフローに接続

    Meta, Instagram, Facebook Ads MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(0個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには74件のスターと8件のフォークがあります。

ArmaVita Meta Ads MCP

Manage Facebook, Instagram, and Threads ads from Claude Code, Codex, or another MCP-compatible assistant.

We built this for fast startup, low memory use, and broad advertising coverage in one local server. 125 tools cover campaigns, reporting, lead forms, catalogs, audiences, and more, with compact responses and safeguards for sensitive changes. Related actions share tools to keep the list manageable.

It runs as a single executable with no Python environment to maintain and uses Meta Marketing API v26.

Rust 2.0 release candidate: smoke tested and heavily used internally. Please report any issues you run into.

What you can do

AreaCapabilities
AdsCampaigns, ad sets, creatives, previews, budgets, schedules, and delivery checks
ReportingInsights, filters, attribution settings, breakdowns, async reports, and change history
LeadsCreate and archive Instant Forms, retrieve submissions, test leads, and manage webhook subscriptions
AudiencesCustom and lookalike audiences, saved-audience lookup, targeting, uploads, and sharing
AutomationRules, A/B studies, value rules, and recommendations
CatalogsProducts, sets, feeds, batch updates, diagnostics, and catalog advertising settings
Creative assetsAccount and Page media, playables, labels, and Instant Experiences
EngagementFacebook/Instagram ad comments and supported Threads ad replies
Measurement and accessPixels, datasets, CAPI, custom conversions, business assets, permissions, and publisher block lists

Meta permissions and account eligibility still apply. Setup and limitations.

Why we rebuilt it in Rust

We rebuilt our Python server for faster startup, lower memory use, and a single executable with no Python environment to maintain.

MetricPythonRustImprovement
Startup512 ms8.17 ms~63× faster
Idle memory77.84 MiB16.30 MiB~79% less
Runtime disk space45.7 MiB7.97 MiB~83% smaller

Original rewrite baseline, measured on macOS arm64 on August 20, 2026. Startup uses warm-run medians; loading tool definitions was slower in this benchmark. Full results and methodology.

The rebuild also keeps credentials out of tool calls and adds write plans you can review before applying. See what changed from Python.

Get started

1. Install

Source builds require Rust 1.98.0, a C/C++ compiler, and CMake. From a checkout of the rust branch or an extracted source release:

bash
cargo install --locked --path .

2. Authenticate

Set META_ACCESS_TOKEN in the environment used to launch your MCP client. Your token needs the appropriate Meta permissions and access to the ad accounts you want to manage.

For browser login instead, set META_APP_ID and META_APP_SECRET, then run:

bash
armavita-meta-ads-mcp --login

Browser login saves a private local token cache on macOS/Linux. On Windows, use META_ACCESS_TOKEN. Never put credentials in prompts or committed configuration files.

3. Connect your assistant

For clients that use JSON MCP configuration, add:

json
{
  "mcpServers": {
    "meta-ads-armavita": {
      "command": "armavita-meta-ads-mcp",
      "args": ["--transport=stdio"]
    }
  }
}

Claude Code can use the included .mcp.json. For Codex, use the TOML configuration example.

Full setup guide: permissions, authentication, client settings, and media uploads.

Before changing live ads

Keep write approvals enabled in your MCP client. Review mutation plans before applying them; deletes require an explicit acknowledgement. The server never automatically retries a write.

Local uploads are off by default. Set META_MEDIA_ROOT to a folder you control to enable them. See security guidance for details.

Coming from the Python version? Some tool names, inputs, and results have changed. Read the migration guide before switching.

License

Copyright (c) ArmaVita LLC. GNU AGPLv3 only (AGPL-3.0-only). Distributed without warranty.

インストール

TypingMind
{
  "mcpServers": {
    "armavita-meta-ads-mcp": {
      "command": "armavita-meta-ads-mcp",
      "args": []
    }
  }
}

Meta, Instagram, Facebook Ads MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Meta, Instagram, Facebook Ads MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」→「詳細設定」→「Model Context Protocol」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「Model Context Protocol」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Meta, Instagram, Facebook Ads MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Meta, Instagram, Facebook Ads MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタのステータスが「準備完了」のままか確認するには、画面を更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "armavita-meta-ads-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMeta, Instagram, Facebook Ads MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Meta, Instagram, Facebook Ads MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Meta, Instagram, Facebook Ads MCPを使ってこのタスクを手伝ってもらえますか?
Meta, Instagram, Facebook Ads MCP
はい、読みました。
Meta, Instagram, Facebook Ads MCPで調べた結果をお伝えします。

よくある質問

Meta, Instagram, Facebook Ads MCP MCPサーバーは何に使いますか?

Meta, Instagram, Facebook Ads MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでMeta, Instagram, Facebook Ads MCP MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMeta, Instagram, Facebook Ads MCPを利用できます。

TypingMindでMeta, Instagram, Facebook Ads MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。Meta, Instagram, Facebook Ads MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Meta, Instagram, Facebook Ads MCP MCPをTypingMindに接続するにはどうすればよいですか?

Meta, Instagram, Facebook Ads MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMeta, Instagram, Facebook Ads MCP MCPのどのようなツールを利用できますか?

Meta, Instagram, Facebook Ads MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Meta, Instagram, Facebook Ads MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Meta, Instagram, Facebook Ads MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇