Skip to main content
Lovable Lovable supports AdsGateway via Custom MCP connectors.

Prerequisites

  • A Lovable account with an active project
  • An AdsGateway account
  • A connected Meta Ads account in AdsGateway for analytics workflows

Connect AdsGateway

1

Open Connectors

In your project chat, click +, open Connectors, then Manage connectors.
2

Select Custom connector

In Personal connectors, choose Custom.
3

Add AdsGateway MCP server

Use:
  • Server name: Ads Gateway
  • Server URL: https://ads-gateway.onrender.com/mcp
  • Authentication: OAuth
4

Authorize

Complete AdsGateway login/authorization in browser and return to Lovable.

Copy/Paste Agent Prompt (MCP Install Help)

Use this in Lovable chat if it can assist with connector setup:
Help me connect Ads Gateway MCP in Lovable with guardrails.

Requirements:
1) Walk me through Connectors -> Manage connectors -> Custom.
2) Use exactly:
   - Name: Ads Gateway
   - URL: https://ads-gateway.onrender.com/mcp
   - Auth: OAuth
3) Do not change or remove existing connectors.
4) Confirm the connector shows as connected.
5) Give me a verification prompt after setup.

Guardrails

  • Use exact MCP URL.
  • Keep existing connectors unchanged.
  • OAuth only; no custom callback configuration.

Use AdsGateway for Analytics

Use this sequence:
  1. Connect AdsGateway MCP in Lovable.
  2. Authenticate and connect Meta.
  3. Select the ad account you want to analyze.
  4. Run analytics/journey prompts.
Prompt categories:
  • Account management
    • List my Meta ad accounts
    • Which account am I currently using?
  • Performance insights
    • Give me an account summary for the last 7 days
    • Are 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:
List my Meta ad accounts
Then:
Give me my account performance summary for the last 7 days

Troubleshooting

  • OAuth popup blocked:
    • enable popups, reconnect connector
  • Authorization failed:
    • sign in at adsgateway.io, reconnect