HM

hashcott/meta-ads-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

17 stars 16 forks 质量 75 趋势 25MIT

MCP (Model Context Protocol) server for the Meta (Facebook) Ads API.

概览

A Model Context Protocol server for the Meta (Facebook) Ads API , written in TypeScript. 54 tools — 35 read tools (always on) plus 19 opt-in write/lifecycle tools — covering ad accounts, campaigns, ad sets, ads, creatives, media, insights, targeting catalog, Facebook Pages, budget schedules, and activity logs via the Meta Graph API v22.0 . Works with Cursor , Claude Desktop (stdio) and Claude.ai custom connectors (HTTP). This is an unofficial third-party tool and is not associated with, endorsed by, or affiliated with Meta in any way. This project is maintained independently and uses Meta's public APIs in accordance with their Terms of Service. Meta, Facebook, Instagram, and other Meta brand names are trademarks of their respective owners. All mutation tools (create / update / delete / pause / resume / upload / budget schedule) are and only register when you opt in — see Enabling Write Tools. - >= 18 - A with the right permissions for what you plan to do — see below.

README

以下为原文 README 节选,完整内容请查看原文。

Meta Ads MCP Server

A Model Context Protocol server for the Meta (Facebook) Ads API, written in TypeScript. 54 tools — 35 read tools (always on) plus 19 opt-in write/lifecycle tools — covering ad accounts, campaigns, ad sets, ads, creatives, media, insights, targeting catalog, Facebook Pages, budget schedules, and activity logs via the Meta Graph API v22.0.

Works with Cursor, Claude Desktop (stdio) and Claude.ai custom connectors (HTTP).

Disclaimer: This is an unofficial third-party tool and is not associated with, endorsed by, or affiliated with Meta in any way. This project is maintained independently and uses Meta’s public APIs in accordance with their Terms of Service. Meta, Facebook, Instagram, and other Meta brand names are trademarks of their respective owners.


Table of Contents

在 GitHub 查看完整 README

安装

npx -y meta-ads-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "meta-ads": { "command": "npx", "args": ["-y", "meta-ads-mcp-server"], "env": { "META_ADS_ACCESS_TOKEN": "YOUR_META_ACCESS_TOKEN", "META_ADS_ENABLE_WRITE_TOOLS": "true" } } } }