# irinabuht12-oss/google-ads-meta-ads-mcp architecture

> Architecture diagram of the GitHub repository irinabuht12-oss/google-ads-meta-ads-mcp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/irinabuht12-oss/google-ads-meta-ads-mcp
- Repository: https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp

## Overview

This repository documents a hosted, remote MCP connector rather than implementing its runtime. The principal workflow is an AI client sending a tool request to the hosted endpoint, which exposes advertising and analytics capabilities; reads return account data, while changes require approval. The README also describes OAuth login, Search Console, and additional ad platforms. No source excerpts are available, so this graph captures only documented capabilities and relationships, not internal implementation details.

Main entry points: [`README.md`](https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md) (Hosted MCP endpoint)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_connection["Connection and access"]
  node_mcp["Hosted MCP endpoint<br/>[README.md]"]
  node_oauth["OAuth login<br/>[README.md]"]
  node_approval["Write approval<br/>[README.md]"]
end

subgraph group_advertising["Advertising tools"]
  node_google_tools["Google Ads tools<br/>[README.md]"]
  node_meta_tools["Meta Ads tools<br/>[README.md]"]
end

subgraph group_analytics["Analytics tools"]
  node_ga4_tools["GA4 tools<br/>[README.md]"]
  node_search_tools["Search Console tools<br/>[README.md]"]
end

subgraph group_integrations["External platforms"]
  node_google_ads["Google Ads API"]
  node_meta_ads["Meta Marketing API"]
  node_ga4["Google Analytics 4"]
  node_search_console["Google Search Console"]
  node_other_ads["Other ad platforms"]
end

node_client(("AI assistant"))

node_client -->|"sends tool requests"| node_mcp
node_client -->|"signs in"| node_oauth
node_mcp -->|"exposes tools"| node_google_tools
node_mcp -->|"exposes tools"| node_meta_tools
node_mcp -->|"exposes tools"| node_ga4_tools
node_mcp -->|"exposes tools"| node_search_tools
node_google_tools -->|"uses API"| node_google_ads
node_meta_tools -->|"uses API"| node_meta_ads
node_ga4_tools -->|"uses API"| node_ga4
node_search_tools -->|"accesses"| node_search_console
node_google_tools -->|"stages writes for"| node_approval
node_meta_tools -->|"stages writes for"| node_approval
node_approval -->|"approved changes"| node_google_ads
node_approval -->|"approved changes"| node_meta_ads
node_mcp -.->|"also connects"| node_other_ads

click node_mcp "https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md"
click node_oauth "https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md"
click node_approval "https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md"
click node_google_tools "https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md"
click node_meta_tools "https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md"
click node_ga4_tools "https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md"
click node_search_tools "https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_mcp,node_oauth,node_approval toneBlue
class node_google_tools,node_meta_tools toneAmber
class node_ga4_tools,node_search_tools toneMint
class node_google_ads,node_meta_ads,node_ga4,node_search_console,node_other_ads toneRose
class node_client toneIndigo
```

## Components

### Connection and access

- [Hosted MCP endpoint](https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md): `README.md`
- [OAuth login](https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md): `README.md`
- [Write approval](https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md): `README.md`

### Advertising tools

- [Google Ads tools](https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md): `README.md`
- [Meta Ads tools](https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md): `README.md`

### Analytics tools

- [GA4 tools](https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md): `README.md`
- [Search Console tools](https://github.com/irinabuht12-oss/google-ads-meta-ads-mcp/blob/main/README.md): `README.md`

### External platforms

- **Google Ads API**
- **Meta Marketing API**
- **Google Analytics 4**
- **Google Search Console**
- **Other ad platforms**

### Other components

- **AI assistant**

## Connections

- AI assistant → Hosted MCP endpoint: sends tool requests (evidence: `README.md`)
- AI assistant → OAuth login: signs in (evidence: `README.md`)
- Hosted MCP endpoint → Google Ads tools: exposes tools (evidence: `README.md`)
- Hosted MCP endpoint → Meta Ads tools: exposes tools (evidence: `README.md`)
- Hosted MCP endpoint → GA4 tools: exposes tools (evidence: `README.md`)
- Hosted MCP endpoint → Search Console tools: exposes tools (evidence: `README.md`)
- Google Ads tools → Google Ads API: uses API (evidence: `README.md`)
- Meta Ads tools → Meta Marketing API: uses API (evidence: `README.md`)
- GA4 tools → Google Analytics 4: uses API (evidence: `README.md`)
- Search Console tools → Google Search Console: accesses (evidence: `README.md`)
- Google Ads tools → Write approval: stages writes for (evidence: `README.md`)
- Meta Ads tools → Write approval: stages writes for (evidence: `README.md`)
- Write approval → Google Ads API: approved changes (evidence: `README.md`)
- Write approval → Meta Marketing API: approved changes (evidence: `README.md`)
- Hosted MCP endpoint → Other ad platforms: also connects (evidence: `README.md`)
