Meta Ads MCP Server
Manages Meta Ads campaigns via the Meta Marketing API, providing tools for ad management, reporting, and campaign oversight.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Meta Ads MCP Servershow my active ad campaigns"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Meta Ads MCP Server - Railway Deploy
Server MCP per gestire le campagne Meta Ads da qualsiasi macchina.
π Deploy su Railway
1. Prerequisiti
Account Railway (https://railway.app)
Token di accesso Meta Marketing API
2. Deploy
Opzione A: Deploy da GitHub
Fai push di questa cartella su un repo GitHub
Vai su Railway β New Project β Deploy from GitHub
Seleziona il repository
Railway farΓ il deploy automaticamente
Opzione B: Deploy con Railway CLI
# Installa Railway CLI
npm install -g @railway/cli
# Login
railway login
# Crea progetto e deploya
railway init
railway up3. Configura le Variabili d'Ambiente
In Railway, vai su Settings β Variables e aggiungi:
Variabile | Descrizione |
| Token di accesso Meta Marketing API |
| (Opzionale) App secret per refresh token |
| (Opzionale) App ID per OAuth |
4. Ottieni l'URL
Dopo il deploy, Railway ti fornirΓ un URL tipo:
https://meta-ads-mcp-production-xxxx.up.railway.appRelated MCP server: flour-ads
βοΈ Configura Claude Desktop
Aggiungi questa configurazione a claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"meta-ads": {
"url": "https://TUO-URL-RAILWAY.railway.app/mcp"
}
}
}π‘ Endpoints
Endpoint | Descrizione |
| Info server e configurazione |
| Health check |
| Endpoint MCP principale |
| Server-Sent Events |
π Come ottenere il Meta Access Token
Vai su Meta for Developers
Crea un'app o usa una esistente
Vai su Tools β Graph API Explorer
Seleziona la tua app
Aggiungi i permessi:
ads_management,ads_readGenera il token
(Opzionale) Converti in token a lunga durata
π§ͺ Test
Verifica che funzioni:
# Health check
curl https://TUO-URL.railway.app/health
# Risposta attesa:
# {"status":"ok","timestamp":"...","service":"meta-ads-mcp"}π° Costi Railway
Piano Free: 500 ore/mese (sufficiente per uso personale)
Piano Hobby: $5/mese (sempre attivo)
π§ Troubleshooting
Token scaduto
Rigenera il token su Meta for Developers
Aggiorna la variabile
META_ACCESS_TOKENsu Railway
Errori di connessione
Verifica che l'URL sia corretto (con /mcp alla fine)
Controlla i log su Railway Dashboard
Permessi insufficienti
Verifica che il token abbia i permessi
ads_managementeads_read
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for AI agents to manage ad campaigns across Google, Meta, LinkedIn, Microsoft, Reddit, TikTok, and more216916MIT
- Alicense-qualityDmaintenanceMCP server for managing ad campaigns across Google Ads, Meta, and more. Enables deploying campaigns, checking performance, and managing budgets from terminal or AI assistants.MIT
- AlicenseAqualityDmaintenanceMCP server to manage Meta Ads (Facebook/Instagram) campaigns, ad sets, insights, and audiences from Claude Code using natural language.910MIT
- Alicense-qualityCmaintenanceMCP Server for the Meta Marketing API. Gives Claude Desktop direct access to your ad account data β campaign performance, creative analysis, audience breakdowns, and budget pacing.1991MIT
Related MCP Connectors
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/manolocinti/meta-ads-mcp-railway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server