Skip to main content
Glama

muze-mcp

Muze CMO MCP server — Meta and Google Ads intelligence for Claude and other AI assistants.

17 tools: analyze ad performance, generate creative concepts, track competitors, and manage ads — all from chat.

Installation

pip install muze-mcp

Get your API key at app.muzecmo.com/settings/api-keys.

Related MCP server: Meta Marketing API MCP Server

Claude Desktop setup

Add to ~/.claude.json:

{
  "mcpServers": {
    "muze-cmo": {
      "command": "muze-mcp",
      "env": {
        "MUZE_API_KEY": "mz_live_YOUR_KEY_HERE"
      }
    }
  }
}

Restart Claude Desktop — all 17 tools appear immediately.

Claude.ai Custom Connector

  1. Open Claude.ai → Settings → Connectors → Add custom connector

  2. Enter https://backend.muzecmo.com/mcp

  3. Paste your mz_live_ key when prompted

  4. Done

Available tools

Tool

What it does

get_my_accounts

Resolve Meta account ID and Google customer ID (call first)

get_meta_performance

Meta Ads spend, CTR, ROAS, conversions

get_google_performance

Google Ads spend, CTR, ROAS, conversions

list_campaigns

List campaigns with IDs and budget

analyze_campaign_ads

AI analysis of all ads in a campaign

analyze_single_ad

AI analysis of one ad

get_account_analysis

Fetch stored account-level AI analysis

analyze_account_ads

Re-run full account AI analysis (confirm required)

generate_ad_from_url

Generate ad concept from a product URL

list_products

List products for creative generation

generate_ad_concepts

Generate concepts for an existing product

list_competitors

List tracked competitor brands

get_competitor_ads

View competitor ad library

scrape_competitor_ads

Start async competitor scrape

get_scrape_status

Poll scrape job status

pause_ad

Pause a live Meta ad (confirm required)

resume_ad

Resume a paused Meta ad (confirm required)

Environment variables

Variable

Required

Description

MUZE_API_KEY

Yes

Your mz_live_ API key

MUZE_BASE_URL

No

Override API URL (default: https://backend.muzecmo.com/api/v1)

MUZE_DEFAULT_ACCOUNT_ID

No

Skip get_my_accounts if you always use one Meta account

MUZE_DEFAULT_CUSTOMER_ID

No

Skip get_my_accounts if you always use one Google account

Available Tools

17 tools
analyze_account_adsA

Re-run a full AI analysis of ALL ads in the account. WARNING: This is expensive and takes 30-60 seconds. Individual ads must have been analyzed in the same date range first. Use get_account_analysis to fetch existing results instead. Only call with confirmed=True after the user explicitly requests a fresh re-analysis.

Inputs: account_id (required), start_date (required), end_date (required), confirmed. Returns: object

analyze_campaign_adsB

Run AI analysis on all ads in a campaign. Returns performance scores and recommendations. campaign_id comes from list_campaigns. Dates in YYYY-MM-DD format.

Inputs: campaign_id (required), account_id (required), start_date (required), end_date (required). Returns: object

analyze_single_adC

Run AI analysis on a single ad. Returns detailed analysis, performance score, and recommendations. Dates in YYYY-MM-DD format.

Inputs: ad_id (required), account_id (required), start_date (required), end_date (required). Returns: object

generate_ad_conceptsA

Generate multiple ad creative concepts for an existing product in the system. product_id must come from list_products — match the product name the user mentions, then pass the corresponding internal ID. Never ask the user to provide a product ID.

Inputs: product_id (required), ad_type, ad_objective. Returns: object

generate_ad_from_urlB

Generate an ad creative concept from a product URL. Only ask the user for product_url — all other params have smart defaults. Brand guidelines are resolved server-side.

Inputs: product_url (required), objective, platform, ad_type, +1 more. Returns: object

get_account_analysisA

Fetch the most recent stored AI analysis for all ads in an account. Fast — reads from the database without re-running analysis. Use this before analyze_account_ads.

Inputs: account_id (required). Returns: object

get_competitor_adsA

Get scraped ads for a specific competitor including creative previews and copy. competitor_id must come from list_competitors — match by brand name, then use the internal ID.

Inputs: competitor_id (required). Returns: object

get_google_performanceA

Get Google Ads performance metrics (spend, impressions, clicks, CTR, CPC, conversions, ROAS). customer_id comes from get_my_accounts. Dates in YYYY-MM-DD format; default = last 30 days.

Inputs: customer_id (required), start_date, end_date. Returns: object

get_meta_performanceA

Get Meta Ads performance metrics (spend, impressions, clicks, CTR, CPC, ROAS, conversions). account_id comes from get_my_accounts. Dates in YYYY-MM-DD format; default = last 30 days.

Inputs: account_id (required), start_date, end_date. Returns: object

get_my_accountsA

Get the user's connected Meta ad account IDs and Google Ads customer IDs. Call this first before any other tool — never ask the user for account IDs. If MUZE_DEFAULT_ACCOUNT_ID is set, this is skipped and defaults are returned. If multiple accounts exist, list them so the user can choose.

Inputs: no named parameters. Returns: object

get_scrape_statusA

Poll the status of a competitor scrape job started by scrape_competitor_ads. Status values: 'pending', 'running', 'completed', 'failed'. Poll every few seconds until status is 'completed', then call get_competitor_ads.

Inputs: run_id (required). Returns: object

list_campaignsA

List all campaigns for a Meta ad account with their IDs, names, status, and budget. account_id comes from get_my_accounts. Use campaign IDs from this response in analyze_campaign_ads.

Inputs: account_id (required). Returns: object

list_competitorsA

List all tracked competitor brands with their internal IDs. account_id comes from get_my_accounts. Use competitor IDs from this response for get_competitor_ads and scrape_competitor_ads.

Inputs: account_id (required). Returns: object

list_productsA

List products in the user's account with internal IDs, names, URLs, and selling propositions. Call this before generate_ad_concepts to resolve product_id — never ask the user for IDs directly.

Inputs: no named parameters. Returns: object

pause_adA

Pause a live Meta ad. The ad will stop spending immediately. IMPORTANT: Only call with confirm=True after the user has explicitly confirmed they want to pause this specific ad. If confirm is False, return the confirmation message.

Inputs: ad_id (required), confirm. Returns: object

resume_adA

Resume a paused Meta ad. The ad will start spending again. IMPORTANT: Only call with confirm=True after the user has explicitly confirmed they want to resume this specific ad. If confirm is False, return the confirmation message.

Inputs: ad_id (required), confirm. Returns: object

scrape_competitor_adsA

Start an async scrape job to fetch fresh competitor ads. Returns a run_id (integer). Then call get_scrape_status with that run_id and poll every few seconds until status is 'completed', then call get_competitor_ads.

Inputs: account_id (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between the three 'analyze_' tools (account, campaign, single ad) which could cause confusion about when to use each. The 'get_account_analysis' tool is clearly differentiated as a read-only alternative to 'analyze_account_ads'. Other tools like 'pause_ad' and 'resume_ad' are clearly distinct actions.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern with snake_case throughout. The pattern is clear: action verbs like 'analyze', 'generate', 'get', 'list', 'pause', 'resume', 'scrape' followed by specific nouns describing the target resource. There are no deviations in naming conventions.

    Tool Count4/5

    With 17 tools, the count is slightly high but reasonable for the advertising analytics domain. The server covers multiple areas (analysis, generation, performance tracking, competitor research, account management), and most tools appear to serve specific purposes. A few tools could potentially be consolidated, but overall the scope justifies the tool count.

    Completeness4/5

    The tool surface covers the advertising analytics domain well with analysis tools, performance tracking, competitor research, ad management, and creative generation. Minor gaps exist: there's no tool to update ads or campaigns, and no direct way to create new campaigns or products. However, the existing tools support core workflows effectively, and agents can work with the provided capabilities.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage Facebook and Instagram advertising via the Meta Marketing API. It provides comprehensive tools for campaign lifecycle management, performance analytics, audience targeting, and creative optimization.
      202
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage Facebook and Instagram advertising data through the Meta Marketing API. It supports full campaign lifecycle management, performance analytics, audience targeting, and creative optimization.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Manage ad campaigns across Meta, Google, and TikTok, create campaigns, analyze performance, spy on competitors, and generate AI creatives.
      5
      20
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      50 tools for Meta Ads campaign management, creative analysis, audience building, and conversion tracking, accessible to any MCP-compatible AI agent.
      69
      136 npm
      13
      MIT