How to Manage Meta Ads from Claude: Complete Setup Guide
Step-by-step tutorial to connect AdsMAA's MCP server to Claude Desktop, Claude Code, and Cursor. Start managing Meta Ads from AI in under 5 minutes.
Key Takeaways
- Prerequisites
- Step 1: Generate Your API Key
- Step 2: Claude Desktop Setup
- Claude Code and Cursor Setup
73%
More Accurate Data
3x
Better ROAS
40%
Lower CPA
24/7
AI Optimization
Prerequisites
Before setting up the AdsMAA MCP server, make sure you have these in place:
- An AdsMAA account with at least one connected Meta ad account (connect via Integrations)
- An AI client that supports MCP: Claude Desktop, Claude Code, Cursor, or VS Code
- 5 minutes of free time (seriously, that is all it takes)
You do not need:
- Node.js or any local runtime
- Docker or containers
- Separate Meta access tokens
- Any coding knowledge
The AdsMAA MCP server runs remotely at https://mcp.adsmaa.com/mcp, which means zero local setup and automatic updates.
MCP Setup Process
Three steps to connect AdsMAA MCP to your AI assistant.
Generate Key
AdsMAA Dashboard
Add Config
JSON file edit
Restart & Test
Verify connection
Step 1: Generate Your API Key
Your API key is how the MCP server authenticates your requests and scopes data to your organization.
Important: Store the API key somewhere safe. If you lose it, you will need to generate a new one. Old keys remain active until deleted.
The key grants access based on the permissions you assign. For full MCP functionality, enable both campaigns and analytics permissions.
Pro Tip
This section contains advanced strategies that can significantly improve your results. Make sure to implement them step by step.
Step 2: Claude Desktop Setup
Claude Desktop is the most popular way to use the AdsMAA MCP server. Here is how to set it up:
Find Your Config File
| Operating System | Config File Location |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%/Claude/claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
If the file does not exist, create it.
Add the AdsMAA MCP Configuration
Open the config file and add (or merge) this JSON:
{
"mcpServers": {
"adsmaa": {
"url": "https://mcp.adsmaa.com/mcp",
"headers": {
"X-API-Key": "your_api_key_here"
}
}
}
}
Replace your_api_key_here with the key you generated in Step 1.
If you already have other MCP servers configured, add the adsmaa entry inside the existing mcpServers object:
{
"mcpServers": {
"existing-server": { ... },
"adsmaa": {
"url": "https://mcp.adsmaa.com/mcp",
"headers": {
"X-API-Key": "your_api_key_here"
}
}
}
}
Restart Claude Desktop
Completely quit Claude Desktop (not just close the window) and reopen it. On macOS, use Cmd+Q. On Windows, check the system tray to make sure it fully exits.
Setup Time by AI Client
Average time to complete MCP setup for each client.
Claude Code and Cursor Setup
Claude Code (CLI)
For Claude Code, add the configuration to ~/.claude/settings.json:
{
"mcpServers": {
"adsmaa": {
"url": "https://mcp.adsmaa.com/mcp",
"headers": {
"X-API-Key": "your_api_key_here"
}
}
}
}
Then restart Claude Code. When you start a new session, the AdsMAA tools will be available automatically.
Cursor IDE
In Cursor, go to Settings > MCP Servers > Add Server. Enter:
- Name: adsmaa
- URL:
https://mcp.adsmaa.com/mcp - Headers:
X-API-Key: your_api_key_here
Restart Cursor to activate the connection.
VS Code
VS Code requires an MCP extension (like the official MCP extension or Copilot Chat with MCP support). Once installed, add the same configuration to your VS Code settings JSON under the MCP section.
The businesses that succeed are those that embrace data-driven decision making and continuous optimization.
Step 3: Verify the Connection
After restarting your AI client, verify the connection is working:
- "List my Meta ad integrations"
- "How many campaigns do I have?"
- "Show my account stats"
Troubleshooting tip: If you see an authentication error, double-check that your API key is correct and that it has not been deleted from AdsMAA Settings > Developer. If you see a connection error, verify the URL is exactly
https://mcp.adsmaa.com/mcpwith no trailing slash.
Your First 10 MCP Commands
Now that you are connected, here are 10 powerful prompts to try right away:
| # | Prompt | What It Does |
|---|---|---|
| 1 | "List my campaigns" | Shows all campaigns with status and key metrics |
| 2 | "Audit my ad account" | Runs a full AI-powered audit with health score |
| 3 | "Show top 5 campaigns by ROAS" | Ranks campaigns by return on ad spend |
| 4 | "Which campaigns need attention?" | Flags underperforming campaigns |
| 5 | "Show audience demographics for campaign X" | Breaks down age, gender, and location |
| 6 | "Compare this week vs last week" | Period-over-period performance comparison |
| 7 | "Pause campaign X" | Directly pauses a campaign on Meta |
| 8 | "Create a lookalike audience from my website visitors" | Builds a new audience on Meta |
| 9 | "Generate 5 ad copy variations for my product" | AI-generated ad copy |
| 10 | "Show my budget pacing" | Checks if campaigns are on track to spend their budgets |
Each of these commands triggers one or more of the 137 MCP tools behind the scenes. Claude selects the right tools, calls them with the correct parameters, and presents the results in a readable format.
For a complete reference of all available tools, check our 137 Tools Reference Guide.
Frequently Asked Questions
How do I connect AdsMAA MCP server to Claude Desktop?
Add the AdsMAA MCP configuration to your claude_desktop_config.json file with the remote URL (https://mcp.adsmaa.com/mcp) and your API key, then restart Claude Desktop. The tools will appear automatically.
Where do I find the Claude Desktop config file?
On macOS it is at ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows it is at %APPDATA%/Claude/claude_desktop_config.json. Create it if it does not exist.
Can I use AdsMAA MCP with Cursor IDE?
Yes. Add the same MCP configuration to Cursor's settings. Go to Cursor Settings > MCP Servers and add the AdsMAA remote URL with your API key.
What permissions does the API key need?
Enable both "campaigns" and "analytics" permissions when generating the key. This gives the MCP server access to read and write campaign data plus view all analytics.
Do I need to install anything locally?
No. AdsMAA uses a remote MCP URL (https://mcp.adsmaa.com/mcp), so no local packages, Docker containers, or build steps are required. Just add the JSON config and restart.
What if Claude does not see the MCP tools after setup?
First verify the config JSON is valid (no trailing commas, correct path). Then restart Claude completely (not just close the window). Check that your API key is active in AdsMAA Settings > Developer.
Can I connect multiple Meta ad accounts through one MCP server?
Yes. If you have multiple Meta ad accounts connected in AdsMAA, the MCP server provides access to all of them. Use the meta_list_integrations tool to see and select between accounts.
Is there a rate limit on MCP requests?
Yes, the default is 60 requests per 60-second window. This protects both your Meta API quota and server resources. If the limit is hit, requests are delayed until capacity is available.
Ready to Transform Your Advertising?
Join thousands of marketers using AdsMAA to optimize their advertising with AI-powered tools.
No credit card required ยท Free plan available
Related Articles
Meta Conversions API (CAPI): Complete Setup Guide for 2025
Step-by-step guide to implementing Meta Conversions API. Improve your Facebook and Instagram ad performance by 20-30% with server-side tracking.
E-commerce Conversion Tracking: Complete Setup Guide for Shopify, WooCommerce & More
Learn how to set up accurate conversion tracking for your e-commerce store. Covers Shopify, WooCommerce, and custom platforms with Meta, Google, and TikTok.
TikTok Ads: The Complete Advertising Guide for 2025
Master TikTok advertising with our comprehensive guide. Learn about ad formats, targeting, attribution, Events API setup, and optimization strategies.