{"title":"Supermetrics Platform MCP Documentation","format":"markdown","content":"<img src=\"/smlogo.svg\" alt=\"Supermetrics\" width=\"300\"/>\n\n# Supermetrics Platform MCP — Run Your Data Pipelines from an AI Client\n\n## Overview\n\nSupermetrics Platform MCP lets an AI client set up and run your Supermetrics data pipelines. It works with data source\nlogins and connection links, data warehouse transfers and destinations, backfills, table schemas, custom fields, blends\nand account tags.\n\nIt is separate from the [Supermetrics MCP](/docs). The Supermetrics MCP queries your marketing data. The Platform MCP\nconfigures the pipelines that move it. You can connect both in the same AI client.\n\n## How Changes Are Approved\n\nReads run straight away. Changes to live pipelines, deletions and anything that uses quota wait until you approve\nthem (the Tools table below shows which actions). Creating a table schema applies at once, and Platform MCP cannot\ndelete it.\n\n1. The AI client asks for the change.\n2. Supermetrics saves the planned change and returns an approval link.\n3. You open the link in your own browser. It shows what will change.\n4. You approve it. The change applies once.\n\nAn approval link works once and expires after 30 minutes. If it expires, ask again in your chat. The AI client does not\nopen approval links.\n\n## Requirements\n\n- A Supermetrics team with Platform API access, plus the license for each function you use (for example a Data\n  Warehouse (DWH) license for managing transfers)\n- When you connect through the Claude, ChatGPT, Microsoft Copilot or Gemini Enterprise app, an AI Chats license for\n  that app\n- Supermetrics support may need to enable Platform MCP for your team, and your admin may need to authenticate the\n  connector\n- Platform MCP acts on the team your sign-in or API key belongs to. It cannot act on another team.\n\n## Server Endpoint\n\n`https://mcp.supermetrics.com/platform` (Streamable HTTP)\n\n## Connect It\n\n| Client | How |\n| --- | --- |\n| Claude (web and desktop) | Add Supermetrics Platform from the Claude connectors directory, then sign in with Supermetrics. *Coming soon.* |\n| ChatGPT | Add Supermetrics Platform from the ChatGPT app directory, then sign in with Supermetrics. *Coming soon.* |\n| Claude Code | `claude mcp add --transport http supermetrics-platform https://mcp.supermetrics.com/platform`, then run `/mcp` and choose Authenticate. |\n| Other MCP clients | Use the server endpoint with OAuth, or with an API key (see Authentication below). |\n\n## Authentication\n\n- **Sign in with Supermetrics (OAuth).** Used by Claude, ChatGPT and other clients that support OAuth.\n- **API key.** `Authorization: Bearer api_*`, the same keys as the Supermetrics MCP. You can create one at\n  https://hub.supermetrics.com/api-key-management\n\n## Tools\n\n| Tool | What it does | Needs approval |\n| --- | --- | --- |\n| `get_team_info` | Shows which team, user and license you are connected with | No |\n| `get_approval_status` | Shows what happened to a change sent for approval | No |\n| `list_logins` | Lists connected data source logins and the accounts they can see | No |\n| `revoke_login` | Disconnects one of your data source logins | Always |\n| `list_login_links` | Lists the links people use to connect a data source | No |\n| `manage_login_link` | Creates a link a person opens to connect a data source, updates its description or closes it | To close a link |\n| `list_custom_fields` | Lists custom fields and the building blocks available for new ones | No |\n| `list_blends` | Lists data blends and their fields | No |\n| `list_account_tags` | Lists account tags and their accounts | No |\n| `list_transfers` | Shows transfers, their run history and the options for building one, and checks a transfer before it is saved | No |\n| `manage_transfer` | Creates, changes, pauses, resumes and deletes transfers | Always |\n| `list_destinations` | Lists destinations and the transfers that use them | No |\n| `manage_destination` | Tests, changes and deletes destinations, and links to the Hub page that creates one | To change or delete |\n| `list_backfills` | Shows backfills and their progress | No |\n| `manage_backfill` | Starts and cancels backfills (backfills use quota) | Always |\n| `list_table_schemas` | Lists the table schemas transfers write into | No |\n| `manage_table_schema` | Creates and changes table schemas | To change |\n\n## Example Prompts\n\n**Connect a client's data source**\n\nPrompt: \"Give me a link to send Northwind so they can connect Google Ads.\"\n\n- Claude creates a login link and gives it to you to send. Claude does not open it.\n- Northwind opens the link and connects their own account.\n\n**Set up a new transfer**\n\nPrompt: \"Set up a daily transfer from Facebook Ads into our BigQuery destination, with 12 months of history.\"\n\n- Claude asks for the transfer details and suggests defaults, such as the schedule and refresh window.\n- Claude prepares the transfer and gives you an approval link. The transfer is created when you approve it.\n- Claude then prepares the 12-month backfill, which needs its own approval because it uses quota.\n\nClaude never asks for warehouse passwords or keys. If you need a new destination, Claude asks you to add its\ncredentials in the Supermetrics Hub.\n\n**Explain a failed transfer**\n\nPrompt: \"Why did my Facebook Ads to BigQuery transfer fail?\"\n\n- Claude finds the failed run and explains the error in plain language.\n- Claude suggests how to fix it.\n\n**Change several transfers**\n\nPrompt: \"Add the Northwind account to all my Facebook Ads transfers.\"\n\n- Claude lists the transfers it will change.\n- Each transfer needs its own approval.\n\n**Check a scheduled run**\n\nPrompt: \"Was the data ready by 9am for my Facebook Ads transfer? I'm in London.\"\n\n- Claude checks when the last run finished and says whether it was before 9am your time.\n- If the run failed, Claude explains why and offers to load the missing days.\n\n**Fix a stuck backfill**\n\nPrompt: \"One of my backfills looks stuck. What is going on?\"\n\n- Claude shows the backfill's progress and when it last moved.\n- If it is stuck, Claude explains the error, offers to cancel the remaining days (with approval) and suggests how to\n  load them.\n\n## Data Handling and Security\n\n- Platform MCP passes pipeline configuration, destination names, run status and account IDs to the AI client. It does\n  not run reporting queries.\n- Destination passwords and keys are never shown in chat or on the approval page.\n- The AI client never connects a data source itself. A person completes every connection link.\n- Every action is limited to the team your sign-in or API key belongs to, and to what your Supermetrics role allows.\n- See the [Supermetrics privacy policy](https://supermetrics.com/privacy-policy) and\n  [terms of service](https://supermetrics.com/terms-of-service).\n\n## What It Does Not Do\n\n| Not available | Where to do it instead |\n| --- | --- |\n| Reporting and data queries | [Supermetrics MCP](/docs) |\n| Creating or changing custom fields, blends and account tags | Hub |\n| Team users, licenses, seats and API keys | Hub (invites also on the Supermetrics MCP) |\n| Setting destination passwords and keys | Hub |\n| Connecting a data source without a person | A login link the person completes |\n| Deleting a login link | Links can be closed, not deleted |\n| Deleting a table schema | Hub |\n| Changing a table schema whose data source has custom fields or per-account fields (Facebook Ads, GA4, HubSpot, Salesforce, Google Sheets and others) | Hub |\n| Data Mapper field renaming | Hub |\n\n## Troubleshooting\n\n| Message or symptom | What it means | What to do |\n| --- | --- | --- |\n| \"…which does not have Platform API access\" (or AI Chats) | The team lacks a license Platform MCP needs | Follow the fixes in the message, or ask your Supermetrics admin |\n| Supermetrics Platform MCP is not enabled for your account | Platform MCP is not switched on for your team yet | Follow the steps in the message, which include your team ID |\n| Your Supermetrics access does not allow this change | Your Supermetrics role can read but not change this | Ask a team admin for the permission it needs |\n| Approval link expired or already used | Links work once and last 30 minutes | Ask again in your chat |\n| Supermetrics is busy right now | Too many requests in a short time | Wait a minute and ask again |\n| Empty list of transfers | No transfers on this team, or you're on a different team | Ask \"Which team am I connected to?\" |\n| Claude Code: new credentials rejected on reconnect | Access was enabled after you signed in | Run `/mcp` and choose Re-authenticate |\n\n## Support\n\n- [Supermetrics Hub support](https://hub.supermetrics.com/support)\n- [Knowledge base](https://docs.supermetrics.com/)\n- [Changelog](/changelog)\n","last_updated":1796191841.0,"status":"publicly_accessible"}