Back to Browse

Adport MCP Server

Developer Tools10.0Low riskMCP RegistryRemote
Free

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 score
10.0out of 10Low riskMCP Marketplace security score

Valid 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.

env_vars

Applies to the server that hosts this plugin, not to your machine.

HTTP Network Access

Connects to external APIs or services over the internet.

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 GitHub

From the project's GitHub README.

See Adport in action

Watch the Adport demo on YouTube

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:

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]
  1. 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.
  2. Review the preview. Policy forces new campaigns to start paused and reports that adjustment in the preview.
  3. 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 MCPSelf-managed dashboardManaged Adport Cloud
SetupInstall from npmDeploy the Cloud container with your own SupabaseConnect accounts through managed authorization where available
InterfacesTerminal, stdio MCPDashboard, REST, remote MCPDashboard, hosted REST, CLI via Cloud API, remote MCP
Credentials and approvalsOwn provider applicationsOwn provider applicationsManaged where available
WritesLocal policy and provider permissionsProject roles, operator capacity, provider permissions and policyProject roles, plan, provider permissions and policy
Data and operationsLocal data; no telemetryYour infrastructure, storage, backups and updatesManaged encrypted credentials, approvals and audit records
Cost and sourceApache-2.0, freeAGPL-3.0, your infrastructure and provider costsFree 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.

PathPurpose
packages/coreTool registry, policy engine, credentials, audit rules
packages/{provider}Advertising platform adapters and wire-contract tests
packages/cli, packages/mcpCLI and stdio MCP adapters
apps/cloudHosted dashboard, authorization, REST, remote MCP
supabaseDatabase migrations and tenant-isolation checks
scriptsRepository checks, release and connector tooling
plugins/adportAgent plugin manifests and skill
docsUser 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!