Meta Ads MCP Server
by Komarov5109
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| META_DB | No | Cloudflare D1 database binding named META_DB. | |
| JWT_ISSUER | No | Optional expected JWT issuer. | |
| JWT_SECRET | No | Shared secret used to verify app-issued JWTs sent as bearer tokens to the MCP endpoint. Provide either JWT_SECRET or JWT_JWKS_URL. | |
| META_APP_ID | Yes | Your Meta developer app ID. | |
| JWT_AUDIENCE | No | Optional expected JWT audience. | |
| JWT_JWKS_URL | No | JWKS URL used to verify app-issued JWTs sent as bearer tokens to the MCP endpoint. Provide either JWT_SECRET or JWT_JWKS_URL. | |
| APP_UI_USER_ID | No | User ID used by the built-in admin UI. | app_admin |
| APP_UI_PASSWORD | Yes | Password for the built-in admin page at /app. | |
| META_APP_SECRET | Yes | Your Meta developer app secret. | |
| META_OAUTH_STATE | No | Cloudflare KV namespace binding named META_OAUTH_STATE. | |
| META_OAUTH_SCOPES | No | Comma-separated Meta OAuth scopes. | ads_management,business_management |
| META_REDIRECT_URI | No | Public OAuth callback URI, e.g. https://<your-worker-host>/oauth/meta/callback. | |
| APP_SESSION_SECRET | No | Optional secret used for the built-in admin UI session. | |
| META_GRAPH_VERSION | No | Meta Graph API version to use. | v25.0 |
| APP_UI_WORKSPACE_ID | No | Workspace ID used by the built-in admin UI. | workspace_admin |
| META_TOKEN_ENCRYPTION_KEY | Yes | Key used to encrypt stored Meta access tokens. | |
| META_OAUTH_ALLOWED_RETURN_ORIGINS | No | Comma-separated list of allowed origins for post-OAuth browser redirects, e.g. https://your-ui.example.com,http://localhost:3000. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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 | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues