Skip to main content
Glama
pipelinica-mcp
by pipelinica
README.md
# Pipelinica MCP: one MCP server for Facebook Ads, Google Ads, GA4 and 7 more marketing platforms

Pipelinica MCP lets your AI read your ad platforms and change your campaigns, and every change waits for your approval first. Ask Claude, ChatGPT, Cursor or any other MCP client "which campaigns lost money last week?" and it answers with numbers straight from your accounts.

This repository holds the source code of the connectors and the MCP tools behind [Pipelinica](https://pipelinica.com/mcp/?utm_source=github&utm_medium=readme), so you can see exactly what the server does with your accounts before you connect them. You can also run it on your own computer with your own platform apps.

## The quickest way: Pipelinica, hosted for you

Running the server yourself means creating your own app on every platform, getting API access approved and keeping the logins fresh. If you'd rather skip all of that, use the hosted server at **[pipelinica.com](https://pipelinica.com/mcp/?utm_source=github&utm_medium=readme)**:

- **Nothing to install.** Add `https://app.pipelinica.com/mcp` to Claude, ChatGPT or another AI client, sign in, and connect your ad accounts in a few clicks.
- **Your AI works like a marketing expert.** It follows the steps an expert takes for an account audit, a new campaign or a performance report, so it asks the right questions and checks your conversion tracking before it suggests anything.
- **You decide what it may touch.** Choose Reporting or Editing for each platform and ad account, and see every change your AI made in one list.
- **Your team works together.** Share the account with colleagues, and send the same data to Google Sheets or BigQuery on a schedule.

Every account starts free, with no card. [Start free at pipelinica.com](https://pipelinica.com/mcp/?utm_source=github&utm_medium=readme).

## Platforms

Your AI can read reports on every platform below. Changes stay off until you allow them, and your AI shows you a preview of each one before it makes it.

| Platform | What your AI can read | What your AI can change |
|---|---|---|
| [Facebook Ads (Meta Ads)](https://pipelinica.com/facebook-ads-mcp/) | Reports on campaigns, ad sets and ads, with breakdowns | Pause or enable, daily budgets, conversion events, and more through Meta's API |
| [Google Ads](https://pipelinica.com/google-ads-mcp/) | Reports on campaigns, ad groups, keywords and search terms | Pause or enable, daily budgets, negative keywords, and more through Google's API |
| [Google Analytics 4](https://pipelinica.com/ga4-mcp/) | Reports on traffic, events and conversions, and the property's settings | Create, update or remove key events and custom dimensions |
| [Google Search Console](https://pipelinica.com/google-search-console-mcp/) | Reports on search queries and pages | Submit or delete sitemaps, add or remove sites |
| [Google Tag Manager](https://pipelinica.com/google-tag-manager-mcp/) | Tags, triggers, variables, versions and workspaces | Create, update or delete tags, triggers and variables, preview, and publish versions |
| [LinkedIn Ads](https://pipelinica.com/linkedin-ads-mcp/) | Reports on campaign groups, campaigns and creatives | Pause or enable, daily budgets, and more through LinkedIn's API |
| [Microsoft Advertising (Bing Ads)](https://pipelinica.com/microsoft-ads-mcp/) | Reports on campaigns, ad groups, keywords and search terms | Pause or enable, daily budgets, negative keywords, and more through Microsoft's API |
| [TikTok Ads](https://pipelinica.com/tiktok-ads-mcp/) | Reports on campaigns, ad groups and ads | Reports only for now |
| [ChatGPT Ads](https://pipelinica.com/chatgpt-ads-mcp/) | Reports on campaigns, ad groups and ads | Pause or enable, daily budgets, and more through OpenAI's API |
| [RTB House](https://pipelinica.com/rtb-house-mcp/) | Reports on advertisers and campaigns | Pause or enable advertisers and campaigns |

## Run it on your own computer

You need Python 3.13 and [uv](https://docs.astral.sh/uv/).

1. Clone this repository and run `uv sync`.
2. Copy `pipelinica-mcp.example.yaml` to `pipelinica-mcp.yaml`.
3. Add your own platform apps under `apps`, for example a Google Cloud OAuth client with Google Ads API access, or a Meta app.
4. Add your logins under `connections`, for example a Google refresh token or a Meta access token.
5. Add the server to your AI client as a stdio server: `uv --directory /path/to/pipelinica-mcp run pipelinica-mcp --config /path/to/pipelinica-mcp.yaml`.

To serve it over HTTP instead, set `token` in the file to a random value of at least 32 characters, then run `uv run pipelinica-mcp --http --port 8000`. Your client then sends that token as a bearer token to `http://127.0.0.1:8000/mcp`.

Keep `pipelinica-mcp.yaml` private, because it holds your logins. The server writes a refreshed login back to it, since some platforms replace the token each time they refresh it.

## How the code is organised

- `src/pipelinica/connectors/`: one folder per platform with its manifest, its field catalog and its code, built on the shared framework in the same folder.
- `src/pipelinica/mcp/`: the MCP tools, the server and the self-hosted runner (`selfhost.py`).

## Licence

The [Functional Source License 1.1](LICENSE.md) (FSL-1.1-ALv2). You may use, change and share the code for anything except a competing commercial service. Two years after each release, that release becomes available under the Apache License 2.0.

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation4/5

The tools mostly have distinct roles: list_* enumerate, describe_* explain metadata, run_* execute reads/reports, and preview/apply_change pair clearly. Minor potential confusion exists between describe_source and list_options (both expose settings/choices), and between run_report and run_read (both return data), but descriptions help distinguish them.

Naming Consistency5/5

All names follow a consistent snake_case verb_noun pattern: list_platforms, describe_source, list_options, describe_fields, run_report, describe_actions, run_read, preview_change, apply_change. Verb choices are predictable and align with tool purpose.

Tool Count5/5

Nine tools is well-scoped for an ad platform reporting and change-management server. Each tool has a distinct place in the workflow, with no obviously redundant or filler tools.

Completeness4/5

The surface covers platform discovery, schema introspection, reporting, arbitrary reads, and a safe preview/apply change lifecycle. Minor gaps remain, such as no explicit change history, rollback, or connection-management tool, but core workflows are complete.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues