Meta Ads MCP Server
by byadsco
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP port for the server | 3000 |
| LOG_LEVEL | No | Logging level (debug, info, warn, error) | info |
| SERVER_URL | No | Required for OAuth: the public URL of the server (e.g., https://your-host.com) | |
| MCP_API_KEY | No | API key for service-to-service access (bypasses OAuth) | |
| META_APP_ID | No | Your Meta App ID | |
| OAUTH_SECRET | No | Secret for OAuth flow (hex string) | |
| META_APP_SECRET | No | Your Meta App Secret | |
| META_API_VERSION | No | Meta Graph API version | v22.0 |
| META_ACCESS_TOKEN | No | Meta access token for stdio/single-tenant mode | |
| AUTH_ALLOWED_EMAILS | No | Comma-separated list of allowed email addresses for OAuth | |
| AUTH_ALLOWED_DOMAINS | No | Comma-separated list of allowed email domains for OAuth | |
| FIRESTORE_PROJECT_ID | No | GCP project ID for Firestore (required for OAuth persistence) | |
| TOKEN_ENCRYPTION_KEY | No | 64-character hex string for AES-256-GCM encryption of Meta tokens | |
| SESSION_COOKIE_SECRET | No | Secret for signing session cookies (base64 or hex) | |
| AUTH_ALLOWED_FB_USER_IDS | No | Comma-separated list of allowed Facebook user IDs for OAuth |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/byadsco/meta-ads-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server