# Connect to the PMA MCP Server from Claude Desktop

> **Note:** This article walks you through connecting your PMA Hub to Claude Desktop so you can ask questions about your marketing data in plain language, directly inside Claude. For a full overview of the PMA MCP server, including available tools and worked examples, see the [Power My Analytics MCP Server Guide](https://knowledge.powermyanalytics.com/application/tools/power-my-analytics-mcp-server-guide/).

> **Note:** MCP usage is included with your PMA plan and draws from the same shared per-plan limit pool as the Power My Analytics API (each plan includes an API rate limit, a request quota, and a row quota per billing cycle; on the Custom plan the request and row quotas are negotiated with your sales representative). See [Get Started with Power My Analytics API](https://knowledge.powermyanalytics.com/application/tools/get-started-with-power-my-analytics-api/) for the current per-plan limits.

## Requirements

Before you begin, confirm the following on both sides of the connection.

**Claude Desktop:**

- A Claude plan tier that supports custom MCP connectors (e.g., Claude Pro or Team).
- Individual users on a qualifying plan can add the connector themselves. In organization contexts, the Claude organization **Owner** adds the connector once at the org level, and individual users then connect their own PMA accounts.

**Power My Analytics:**

- At least one data source connected and actively syncing in your PMA Hub.

## Step 1: Add the PMA MCP Connector

Individual Claude users on a qualifying plan can add the connector themselves; in organization contexts, the Claude organization Owner adds it once for the whole org. This step only needs to be done once per Claude account or organization.

1. Open **Claude Desktop** and go to **Settings > Connectors**.
2. Click **Add Custom MCP**.
3. In the server URL field, enter: `https://mcp.powermyanalytics.com`
4. Click **Save**. The **Power My Analytics** connector now appears in your organization's connector list.

## Step 2: Connect Your PMA Account (Each User)

Each team member follows these steps once to link their individual PMA Hub account to Claude.

1. In Claude Desktop, open **Settings > Connectors** and click **Connect** next to **Power My Analytics**.
2. Claude Desktop opens the PMA OAuth login flow in your default browser.
3. Sign in to PMA using your existing credentials. **Sign in with Google**, **Sign in with Microsoft**, and email + password are all supported.
4. When prompted, select the hub you want to authorize and click **Configure**.
5. Wait for the **"Authorization Successful"** page to load.
6. Click **Continue**. (The button is disabled until the OAuth callback completes, so clicking too early is no longer possible; the page also auto-redirects after a few seconds.)
7. Return to Claude Desktop. **Power My Analytics** now appears as a connected tool. Claude will use it automatically when you ask questions about your marketing data.

> **Note:** You can disconnect at any time from **Settings > Connectors** in Claude Desktop. Your PMA Hub data is not affected; Claude simply loses query access until you reconnect.

## Reconnect or Reauthenticate

MCP access tokens last **1 year**. Refresh tokens are not yet implemented; when a token expires (or if your hub access is revoked or your PMA login changes), reauthenticate:

1. In Claude Desktop, go to **Settings > Connectors** and click **Disconnect** next to Power My Analytics.
2. Click **Add Custom MCP**, re-enter `https://mcp.powermyanalytics.com`, and save.
3. Follow Step 2 above to connect your PMA account again.

## Troubleshooting

### Token expired or sudden loss of tool access

**Cause:** Access tokens are valid for 1 year, but they can expire earlier if your hub access is revoked or your PMA login changes. **Solution:** Disconnect and reconnect to mint a new token. See Reconnect or Reauthenticate above.

### Connection fails completely with no clear error

**Cause:** The server URL may contain a typo. **Solution:** Verify the server URL is exactly `https://mcp.powermyanalytics.com` (a trailing slash or the `/mcp` suffix works the same) and retry. If the issue persists, [submit a ticket](https://knowledge.powermyanalytics.com/support/submit-a-ticket/).

## Related Articles

- [Power My Analytics MCP Server Guide](https://knowledge.powermyanalytics.com/application/tools/power-my-analytics-mcp-server-guide/)
- [Connect to the PMA MCP Server from Claude Code](https://knowledge.powermyanalytics.com/application/tools/connect-to-the-pma-mcp-server-from-claude-code/)
- [Connect to the PMA MCP Server from ChatGPT](https://knowledge.powermyanalytics.com/application/tools/connect-to-the-pma-mcp-server-from-chatgpt/)
- [PMA MCP Tools Reference](https://knowledge.powermyanalytics.com/application/tools/pma-mcp-tools-reference/)
- [Troubleshooting and Important Considerations for PMA MCP Server](https://knowledge.powermyanalytics.com/application/tools/troubleshooting-and-important-considerations-for-pma-mcp-server/)
