Server data from the Official MCP Registry
Open-source ad management for AI agents through hosted or local MCP.
About
Open-source ad management for AI agents through hosted or local MCP.
Remote endpoints: streamable-http: https://app.adport.dev/mcp
At a glance
- Runs
- On a server the publisher hosts. You connect to its URL, nothing to install.
- Works with
- Claude Desktop, Claude Code, Grok Build (formerly Cursor), Windsurf, VS Code, Codex, Antigravity CLI, Gemini app, Gemini CLI, ChatGPT.
Security report
How we scoreValid MCP server (3 strong, 2 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
Requires authentication · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"io-github-ynnickw-adport": {
"url": "https://app.adport.dev/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
See Adport in action
Watch on YouTube · Watch on adport.dev
What you can do
- Report across ad accounts. Use provider-native queries or normalized reports with explicit currencies and attribution limits.
- Review campaign changes before applying them. Inspect supported updates to campaigns, budgets, and status, then approve the exact operation.
- Audit campaign performance. Find wasted spend, low CTR, CPA outliers, and below-break-even ROAS. Review the evidence and track findings as open, dismissed, or applied.
- Work in your terminal or AI agent. The CLI, Model Context Protocol (MCP) server, and Cloud use the same provider modules, tool schemas, and policy checks.
Quick start
Requires Node.js 22.13 or newer. CI tests Node.js 22 and 24.
npm install -g adport
adport --version
To use a real account, follow the provider connection guide to create your own provider application or obtain its required credentials, then connect:
adport connect google
adport doctor
adport accounts --provider google
adport report --provider google --metrics spend,clicks,conversions,roas --range last_7_days
Use the appropriate connection ID from supported providers. With no credentials, account and report calls return NOT_CONNECTED. See self-hosting for installation, configuration and data ownership.
Connect an AI agent
After installing the CLI and connecting a provider, add the local server to Claude Code:
claude mcp add adport -- adport mcp
For other clients that support stdio MCP, use:
{
"mcpServers": {
"adport": {
"command": "adport",
"args": ["mcp"]
}
}
}
Start with a request such as “Report my campaign performance for the last seven days. Keep currencies separate.” For a change, ask “Preview pausing this campaign and show the before and after.”
For managed connections, use the ChatGPT app, Claude setup, or hosted MCP setup for compatible clients. Hosted MCP uses Cloud OAuth; its availability and permissions are separate from local stdio.
Providers
The advertising providers below have local connection commands, normalized reports, and guarded write tools. Check the capability and setup guides for each provider's supported operations and live verification status.
Read-only analytics sources:
| Source | Connection ID | Capabilities and setup |
|---|---|---|
| Google Analytics 4 | ga4 | Acquisition outcomes and conversion goals |
| Google Search Console | gsc | Search analytics, sitemaps, URL inspection |
| Matomo | matomo | Acquisition outcomes and conversion goals |
| PostHog | posthog | Acquisition outcomes, Actions and custom-event goals |
For tracking configuration, Google Tag Manager (gtm) supports guarded configuration and publishing tools; it does not provide performance reports.
Provider application approval, account access, and available metrics depend on the platform. The connection guides record prerequisites and testing limits. Reports preserve currency and attribution differences; see reporting semantics before comparing providers.
How write approval works
flowchart LR
A[Propose change] --> B[Preview and policy checks]
B --> C{Approve exact operation?}
C -->|Yes| D[Apply with pending ID]
C -->|No| E[No change]
D --> F[Audit record]
- Call a write tool with the proposed arguments. The first call returns a preview, budget deltas, policy coercions, and a short-lived
pending_operation_id. - Review the preview. Policy forces new campaigns to start paused and reports that adjustment in the preview.
- Repeat the call with identical arguments and the pending ID to apply it.
The policy engine rejects changed arguments, expired approvals, protected accounts, and budget-cap violations. Applied provider changes go in an append-only audit trail. Recommendations use the same approval flow.
adport tools list
adport audit run
adport recommendations list
adport policy
adport audit show --limit 50
Local state lives under ${ADPORT_HOME:-~/.config/adport}. The local tools store credentials in credentials.json with mode 0600 and read policy from policy.yaml. See the write-safety contract for the full behavior, including provider-side validation limits, and the privacy policy for Cloud data handling.
Local or Cloud
All three deployment choices use the shared provider tools and write-safety engine.
| Local CLI and MCP | Self-managed dashboard | Managed Adport Cloud | |
|---|---|---|---|
| Setup | Install from npm | Deploy the Cloud container with your own Supabase | Connect accounts through managed authorization where available |
| Interfaces | Terminal, stdio MCP | Dashboard, REST, remote MCP | Dashboard, hosted REST, CLI via Cloud API, remote MCP |
| Credentials and approvals | Own provider applications | Own provider applications | Managed where available |
| Writes | Local policy and provider permissions | Project roles, operator capacity, provider permissions and policy | Project roles, plan, provider permissions and policy |
| Data and operations | Local data; no telemetry | Your infrastructure, storage, backups and updates | Managed encrypted credentials, approvals and audit records |
| Cost and source | Apache-2.0, free | AGPL-3.0, your infrastructure and provider costs | Free read-only plan; paid plans add writes and higher limits |
See Cloud pricing, team access, licensing, and the deployment model.
Development
git clone https://github.com/ynnickw/adport.git
cd adport
corepack enable
pnpm install --frozen-lockfile
pnpm check
pnpm build
pnpm test
pnpm typecheck
The repository pins pnpm in package.json. Advertising credentials are unnecessary for the default build and tests. Optional database and HTTP integration checks are documented in the Cloud development guide.
| Path | Purpose |
|---|---|
packages/core | Tool registry, policy engine, credentials, audit rules |
packages/{provider} | Advertising platform adapters and wire-contract tests |
packages/cli, packages/mcp | CLI and stdio MCP adapters |
apps/cloud | Hosted dashboard, authorization, REST, remote MCP |
supabase | Database migrations and tenant-isolation checks |
scripts | Repository checks, release and connector tooling |
plugins/adport | Agent plugin manifests and skill |
docs | User guides, operations, release and validation records |
See CONTRIBUTING.md for the full workflow and the repository structure guide for file ownership, generated assets, and directory conventions.
Contributing and support
Bug fixes, documentation, provider tests, and practical feedback from advertisers are welcome. Start with CONTRIBUTING.md, the roadmap and governance; commits require a DCO sign-off (git commit -s). The release guide explains versioning, verification, and publishing.
Use GitHub Discussions for questions and ideas, and GitHub issues for reproducible bugs and feature proposals. See SUPPORT.md for help, SECURITY.md for private vulnerability reports, and the Code of Conduct for community expectations.
License
The CLI, MCP server, provider packages and shared core are licensed under Apache 2.0. The Cloud application and its database schema are licensed under AGPL-3.0-only. Previously granted licenses and third-party notices remain intact. See the licensing guide.
Reviews
No reviews yet
Be the first to review this server!
Related MCP Servers
Amazon Ads
Freeby KuudoAI · Developer Tools
Amazon Ads API MCP server for Amazon Advertising API
Adwarp
Freeby Adwarp Dev · Marketing & Social
Open-source ad agent for LinkedIn Ads and Google Ads. Drafts campaigns, audiences and reports.
Remote
Freeby Port Labs · Developer Tools
Port AI software factory: give any agent your org's context and let it act safely
Adguard Home
Freeby Samik081 · Developer Tools
Manage AdGuard Home through AI assistants
Seldonframe
Freeby Seldonframe · Developer Tools
Build, deploy, and sell AI agents for local-service businesses - from your IDE.
Vk Ads
Freeby Askads · Developer Tools
MCP server for VK Ads (VK Реклама) API: manage ad plans, ad groups, banners, and statistics.

