{"repo":"brijr/meta-mcp","free":true,"listed":false,"github":"https://github.com/brijr/meta-mcp","clone":"git clone https://github.com/brijr/meta-mcp.git","description":"MCP Server for connecting to the Meta Marketing API","language":"TypeScript","stars":194,"topics":["facebook-ads","mcp","mcp-server","meta","meta-ads","ads-mcp","facebook-mcp"],"license":null,"category":"mcp-servers","readme_excerpt":"Meta Ads MCP Server A Cloudflare Workers MCP server for Meta Ads account setup, campaign management, ad sets, creatives, audiences, reporting, and batch workflows. This repo is built on xmcp and exposes a Streamable HTTP MCP endpoint plus browser-facing Meta OAuth routes. Open Source / Self-Hosted This repository is intended to be deployed in your own Cloudflare account with your own Meta app credentials. It does not ship with: - a hosted control plane - a shared Meta app - a built-in end-user dashboard - a JWT issuer for your users and workspaces You bring: - your Cloudflare Worker deployment - your Meta developer app - your JWT issuer or auth provider - your own UI or backend that initiates the OAuth flow What It Does - Runs as a Cloudflare Worker - Uses direct Meta Graph API fetch calls instead of the Meta SDK - Stores Meta user connections per workspace in D1 - Stores short-lived OAuth state in KV - Encrypts stored Meta access tokens - Protects MCP requests with your app-issued JWTs Endpoints - GET /health - GET /app - POST /mcp - GET /oauth/meta/start - GET /oauth/meta/callback Auth Model This server is multi-tenant. Every MCP request must include a bearer JWT issued by your app. If you are open-sourcing this project, the important implication is that consumers must wire it into their own auth system. The server does not know how to identify a user or workspace without that JWT. Required JWT claims: - sub or userId - workspaceId - optional roles Example payload: Why /oau","default_branch":null,"files":null,"tree":[],"storefront":"/r/brijr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/brijr/meta-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}