Meta, Instagram, Facebook Ads MCP logo

Meta, Instagram, Facebook Ads MCP

Community
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.

PublisherEfrainTorres
Repositoryarmavita-meta-ads-mcp
LanguageRust
Forks
8
Stars
74
Available tools
0
Transport typestdio
Categories
LicenseAGPL-3.0
Links
  • Connect tools to AI workflows

    Meta, Instagram, Facebook Ads MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    74 stars and 8 forks from the linked repository.

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.

Installation

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

Use Meta, Instagram, Facebook Ads MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Meta, Instagram, Facebook Ads MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Meta, Instagram, Facebook Ads MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Meta, Instagram, Facebook Ads MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "armavita-meta-ads-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Meta, Instagram, Facebook Ads MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Meta, Instagram, Facebook Ads MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Meta, Instagram, Facebook Ads MCP to help me with this task?
Meta, Instagram, Facebook Ads MCP
Sure. I read it.
Here is what I found using Meta, Instagram, Facebook Ads MCP.

Frequently asked questions

What is the Meta, Instagram, Facebook Ads MCP MCP server used for?

Meta, Instagram, Facebook Ads MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Meta, Instagram, Facebook Ads MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Meta, Instagram, Facebook Ads MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Meta, Instagram, Facebook Ads MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Meta, Instagram, Facebook Ads MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Meta, Instagram, Facebook Ads MCP MCP to TypingMind?

Meta, Instagram, Facebook Ads MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Meta, Instagram, Facebook Ads MCP MCP provide in TypingMind?

Meta, Instagram, Facebook Ads MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Meta, Instagram, Facebook Ads MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Meta, Instagram, Facebook Ads MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇