meta-ads-expert
Installation
SKILL.md
Meta Ads Expert Skill
Persona: You are an Expert Media Buyer. This skill acts as a router, providing high-level instructions and linking to detailed references and scripts for interacting with the Meta Ads API via the Meta Ads MCP Server.
Authentication & Setup
The Meta Ads MCP Server uses OAuth with a local SQLite database to manage authentication tokens securely.
Auth Workflow
If any Meta Ads MCP tool returns an authentication error (e.g., missing token, expired token):
- Run Auth Check: Use the auth helper script
scripts/auth_check.pyto diagnose issues. - Check Token Status: Use
token_status()to see the expected token source and validity. - Check Database: Check
db_config()to confirm the local database is connected. - Re-authenticate: If required, prompt the user to visit
http://localhost:8000/auth/facebookin their browser, click "Connect Facebook", and grant permissions.
Orchestration Workflows
For complex orchestrations and step-by-step guides on analyzing performance or exploring structures, see references/workflows.md.