drak-mcp

AI assistant access to your marketing platforms, via open-source MCP servers.

What it is

drak-mcp is a set of open-source Model Context Protocol (MCP) servers published by Drak Marketing. They let Claude Desktop, Claude Code, and other MCP-compatible AI assistants query and manage marketing platforms on your behalf — Google Ads, Google Analytics 4, Google Search Console, Google Tag Manager, Meta Ads, Bing Ads, and more.

Each MCP runs locally on your own computer. The OAuth credentials you grant stay on your machine, and Drak Marketing never sees your tokens or your marketing data. What the tools return does leave your machine: it goes to the AI assistant you connect them to, and from there to the AI provider you choose. See where your data goes.

Who uses it

Internal Drak Marketing staff managing client accounts, plus the teams at our client organizations who want to run reports and workflows through their own AI assistants. The code is open-source under the MIT license — anyone may install and use it independently.

Servers that use the drak-mcp OAuth app

Only mcp-google-ads signs in through the drak-mcp OAuth app, and it requests one scope. You can point it at your own OAuth client instead by setting GOOGLE_ADS_CLIENT_ID and GOOGLE_ADS_CLIENT_SECRET.

mcp-google-ads

Read campaign, keyword, and search-term performance; create campaigns, ad groups, and ads; manage budgets and bids. Safe by default — all mutations are created PAUSED. Versions up to 1.16.1 sign in through the drak-mcp app unless you set your own client. The next major release (2.0) requires your own OAuth client, like the servers below.

Scopes: https://www.googleapis.com/auth/adwords

npm package →

Servers that use your own OAuth client

The published mcp-ga4, mcp-google-gsc and mcp-gtm-ga4 packages include no OAuth client and do not use the drak-mcp app. You authorize them with an OAuth client you create in your own Google Cloud project, so the grant is between your account and your project, and the consent screen shows your app's name.

mcp-ga4

Run standard and realtime reports; list data streams, custom dimensions, and custom metrics. Only the custom-dimension tool needs analytics.edit; without it the server needs only analytics.readonly.

Scopes: https://www.googleapis.com/auth/analytics.readonly, https://www.googleapis.com/auth/analytics.edit

npm package →

mcp-google-gsc

Query Search Console search analytics, list verified sites, inspect URL indexing status. Read-only.

Scopes: https://www.googleapis.com/auth/webmasters.readonly

npm package →

mcp-gtm-ga4

List and edit tags, triggers, and variables in Google Tag Manager containers; create container versions and previews; create GA4 custom dimensions.

Scopes: https://www.googleapis.com/auth/tagmanager.edit.containers, https://www.googleapis.com/auth/tagmanager.edit.containerversions, https://www.googleapis.com/auth/tagmanager.publish, https://www.googleapis.com/auth/analytics.readonly, https://www.googleapis.com/auth/analytics.edit

npm package →

Changes to the drak-mcp sign-in

mcp-google-ads is moving to the same model as the other servers. The next major release (2.0) requires your own OAuth client, and earlier versions will be marked deprecated with 7 days' notice. After that notice ends, the drak-mcp app stops accepting sign-ins from accounts outside Drak Marketing. If you use mcp-google-ads today, create an OAuth client in your own Google Cloud project, enable the Google Ads API and request API access; the package README walks through the steps.

How authorization works

  1. You run the setup command for the MCP you want (e.g. npx mcp-google-ads-auth).
  2. Your browser opens to Google's standard OAuth consent screen. You review the requested scopes and the app name — "drak-mcp" for mcp-google-ads 1.x, or your own app's name when you use your own client — then approve.
  3. Google issues a refresh token scoped to your account. mcp-google-ads and mcp-google-gsc store it in a credentials file on your own computer under ~/Library/Preferences/ (macOS), ~/.config/ (Linux) or %APPDATA% (Windows); on macOS and Linux the file is set so only your user account can read it. mcp-gtm-ga4's setup writes it to the file you name with --output, also set so only your user account can read it. mcp-ga4's setup writes the token into your AI app's MCP configuration file instead.
  4. From that point on, your AI assistant can query the platform through the MCP. API calls go directly from your computer to Google over HTTPS.

Where your data goes

  • To Google. Requests go straight from your computer to Google's APIs. No Drak Marketing server sits in between.
  • To the AI provider you choose. When a tool runs, its result — report rows, account, campaign and keyword names, settings — goes back to your AI assistant, which sends it to its AI provider (for example, Anthropic for Claude) as part of the conversation. That provider's terms and retention settings apply. Drak Marketing does not choose the provider and does not receive the data.
  • To a local request log. On macOS, mcp-google-ads writes one line per Google Ads API call to ~/Library/Logs/google-ads-requests.jsonl: the time, caller, computer name, method, customer id, operation count, status and, for a successful change, the resource name of each item it wrote. It never records tokens, queries, request bodies or report rows. On Linux and Windows the same line goes to standard error, which your AI app may keep in its own logs. Set GOOGLE_ADS_REQUEST_LOG_PATH to write it elsewhere.

How to revoke access

At any time you can revoke the OAuth grant from your Google account at myaccount.google.com/permissions. Look for "drak-mcp" (or your own app's name) and click "Remove access". You can also delete the local credentials file to clear stored tokens, and delete the request log at any time.

Source code

All MCP servers are published open-source under MIT license at github.com/mharnett and on npm. You can audit exactly what the code does before granting OAuth access.

Privacy

Drak Marketing runs no server that receives your OAuth tokens or marketing data from these MCPs. Your data goes to Google, to the AI provider you choose, and to files on your own computer. See our full privacy policy for details, including the dedicated section covering drak-mcp and Google user data.

Contact

Questions about drak-mcp, security concerns, or verification requests? Email hello@drakmarketing.com.