Skip to main content
Glama
mariocodesforfun

Meta Ads Codex MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
META_ADS_MCP_ACCESS_TOKENNoMeta Ads MCP access token. If not provided, the server will look for a token in ~/.meta-ads-codex-mcp.json or ~/.meta_ads_mcp_token.json.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
meta_ads_list_accountsB

Read-only. List Meta ad accounts available to the authenticated user.

meta_ads_active_adsC

Read-only. List active ads and their performance for the default or supplied ad account.

meta_ads_ad_performanceB

Read-only. Get performance for one ad by ID.

meta_ads_total_spendA

Read-only. Get total account spend for the default or supplied ad account.

meta_ads_account_summaryB

Read-only. Get account-level performance summary for a date preset.

meta_ads_performance_trendC

Read-only. Ask Meta's insight tool for performance trend analysis.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/mariocodesforfun/meta_ads_codex_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server