meta-ads-mcp-server
MCP server for the Meta Marketing API (Facebook & Instagram Ads) — 300+ tools.
Install
Option 1: uvx (zero install, recommended)
Add this to your MCP client config (e.g. Claude Desktop's claude_desktop_config.json):
{
"mcpServers": {
"meta-ads": {
"command": "uvx",
"args": ["meta-ads-mcp-server"],
"env": {
"META_ACCESS_TOKEN": "YOUR_TOKEN",
"META_DEFAULT_AD_ACCOUNT_ID": "act_YOUR_ACCOUNT_ID"
}
}
}
}
Option 2: pip install
pip install meta-ads-mcp-server
Then add to your MCP client config:
{
"mcpServers": {
"meta-ads": {
"command": "meta-ads-mcp",
"env": {
"META_ACCESS_TOKEN": "YOUR_TOKEN",
"META_DEFAULT_AD_ACCOUNT_ID": "act_YOUR_ACCOUNT_ID"
}
}
}
}
Option 3: Interactive Setup Wizard
pip install meta-ads-mcp-server
meta-ads-setup
The wizard auto-detects your installed MCP clients (Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI) and configures them for you.
Getting Your Meta Access Token
- Go to Meta Business Settings > System Users
- Create or select a System User
- Click Generate New Token
- Select
ads_managementandads_readpermissions - Copy the token
Licensing
Free tier (no key needed): 10 read-only tools — insights, campaign search, spend trends, business listing, and more. Enough to explore and evaluate.
Pro tier (license key): Unlocks all 300+ tools including campaign creation, audience management, optimization, fraud detection, and the full enterprise suite.
Add your license key to the MCP config:
{
"mcpServers": {
"meta-ads": {
"command": "uvx",
"args": ["meta-ads-mcp-server"],
"env": {
"META_ACCESS_TOKEN": "YOUR_TOKEN",
"META_DEFAULT_AD_ACCOUNT_ID": "act_YOUR_ACCOUNT_ID",
"LICENSE_KEY": "YOUR_LICENSE_KEY"
}
}
}
}
Contact the developer for a license key.
What's Included
300+ tools covering campaigns, ad sets, ads, audiences, creative, insights, attribution, A/B testing, budget optimization, fraud detection, and much more.
Metadata
Release files for meta-ads-mcp-server 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| meta_ads_mcp_server-0.1.0.tar.gz | 571.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meta_ads_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / meta_ads_mcp_server-0.1.0.tar.gz
| Download URL | meta_ads_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 571.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f91594bc62fbb553f98a8e2022e45548f4addbad771a33dc5a7c302f916d1b13
|
|
BLAKE2b-256 checksum How to use checksums |
4fd0cf3c40204e3d0f78572a166f3fde9804e77aa51ee2f7f320aea1a01c384c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / meta_ads_mcp_server-0.1.0-py3-none-any.whl
| Download URL | meta_ads_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 630.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14d5e1abdabd58d97d6d5081224dfa5729a261d4f9f6d52f1bb62c333acccbee
|
|
BLAKE2b-256 checksum How to use checksums |
c6efd65e7dcd2fb066d3772f10e1871e56c8d9164c39ed6a70eff7cbaf100506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for meta-ads-mcp-server 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.