Kokpit MCP Server — Connect AI Agents to Marketing Data

A Model Context Protocol server that lets AI agents and coding assistants like Claude, ChatGPT, Cursor and Copilot query live marketing, analytics, and advertising data.

Quick Connect

Add this to your MCP client config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "kokpit": {
      "url": "https://mcp.kokpit.io/"
    }
  }
}

The server uses OAuth 2.0 — your client will redirect you to Kokpit the first time you connect.

Available Tools

list_sources

List all connected data sources (Google Ads, Meta Ads, etc.)

get_fields

Get available metrics and dimensions for a data source

get_data

Query data with filters, date ranges, and aggregations

get_schema

Get detailed schema documentation for a data source

Supported Data Sources

Google Ads Google Ads
Microsoft Ads Microsoft Ads
Facebook Ads Facebook Ads
Matomo Matomo
Search Console Google Search Console
Merchant Center Google Merchant Center
Open Meteo Open Meteo
Piano Analytics Piano Analytics
Google Analytics Google Analytics

Use Case Examples

Server Endpoints

POST / MCP JSON-RPC endpoint
GET / This documentation page / SSE stream
GET /.well-known/oauth-authorization-server OAuth discovery
GET /health Health check

Authentication

OAuth 2.0 (recommended)

The MCP server implements the full MCP OAuth flow. Clients that support MCP OAuth — including Claude Desktop and Cursor — will automatically handle authentication.

API Key

Pass your Kokpit API token as a Bearer token:

Authorization: Bearer <your_kokpit_token>