
Prerequisites
- An AdsGateway account
- AntiGravity access with MCP server configuration enabled
- A connected Meta Ads account in AdsGateway for analytics workflows
Connect AdsGateway
Open AntiGravity MCP settings and add this entry to yourmcp_config.json:
Keep the config minimal: only
serverUrl is required. Do not add a custom oauth block.- Enable the
ads-gatewayserver. - Complete browser authentication with AdsGateway.
- Return to AntiGravity and confirm the server is connected.
Copy/Paste Agent Prompt (MCP Install)
Use this if AntiGravity (or its assistant) supports in-chat MCP config help:Guardrails
- Preserve existing MCP servers and settings.
- Use exact URL:
https://ads-gateway.onrender.com/mcp. - Keep OAuth default behavior.
- Return a diff/summary of changes.
Use AdsGateway for Analytics
Use this sequence:- Connect AdsGateway MCP in AntiGravity.
- Authenticate and connect Meta.
- Select the ad account you want to analyze.
- Run analytics/journey prompts.
- Account management
List my Meta ad accountsWhich account am I currently using?
- Performance insights
Give me an account summary for the last 7 daysAre there any anomalies in my ad performance?
- Journey reports
Generate a campaign report for campaign <id> since 2026-02-01 until 2026-02-07
- Creative analysis
Analyze the creative for ad <id>
Verify Analytics
Run:Troubleshooting
invalid_tokenor repeated auth prompts:- disable server, remove entry, clear cookies for
ads-gateway.onrender.comandadsgateway.io, re-add config, reconnect
- disable server, remove entry, clear cookies for

