meta-ads-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the HTTP server. | 3000 |
| LOG_LEVEL | No | Logging level. | info |
| SERVER_URL | No | The public HTTPS URL of the server, used for OAuth redirect URIs. Required when using Sign in with Meta. | |
| APIFY_TOKEN | No | Apify API token for the ads_library tools. Honored only in single-tenant mode. | |
| MCP_API_KEY | No | API key for service-to-service authentication. Set to enable API-key mode. | |
| META_APP_ID | No | The numeric ID of your Meta app (Facebook Login product). Required for Sign in with Meta. | |
| OAUTH_SECRET | No | Secret used for the MCP OAuth provider. Required for Meta OAuth. | |
| META_APP_SECRET | No | The secret of your Meta app. Required for Sign in with Meta. | |
| META_API_VERSION | No | Meta Graph API version to use. | v22.0 |
| META_ACCESS_TOKEN | No | A Meta access token for single-tenant stdio mode. The only required value in stdio mode. | |
| AUTH_ALLOWED_EMAILS | No | Comma-separated list of email addresses allowed to sign in. At least one allowlist source is required when Meta OAuth is enabled. | |
| AUTH_ALLOWED_DOMAINS | No | Comma-separated list of email domains allowed to sign in. At least one allowlist source is required when Meta OAuth is enabled. | |
| FIRESTORE_PROJECT_ID | No | Google Cloud project ID for Firestore, used to persist tokens. Required for Meta OAuth deployments. | |
| TOKEN_ENCRYPTION_KEY | No | 32-byte hex key used to encrypt Meta tokens at rest with AES-256-GCM. Required for Meta OAuth. | |
| SESSION_COOKIE_SECRET | No | Secret used to sign session cookies. Required for Meta OAuth. | |
| AUTH_ALLOWED_FB_USER_IDS | No | Comma-separated list of Facebook user IDs allowed to sign in. At least one allowlist source is required when Meta OAuth is enabled. |
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
- 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/cedricarlos07/meta-ads-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server