Skip to content

MCP (Model Context Protocol)

The Stampix MCP server lets AI assistants — such as Claude — query and manage dashboard data on your behalf. Every tool call runs with your permissions: you only see organizations and data you are allowed to access in the dashboard.

Internal documentation

This page is for the Stampix internal team (account managers, customer support, developers). Client users do not have MCP access.

Getting access

MCP permissions

MCP access is gated by two special scopes:

ScopePurpose
read:mcpRequired for all tools (read and write)
write:mcpRequired for write tools (create_organization, create_campaign, campaign_product_setup)

These scopes are not included in the Read-Only dashboard role. Super Admin and Account Manager receive them automatically. Other roles need them assigned manually in Auth0.

In addition to MCP scopes, each tool requires the same domain permissions you would need in the dashboard UI (for example read:campaigns or read:billing).

Role cheat sheet

RoleMCP access by default
Super AdminAll scopes, including MCP
Account ManagerAll scopes, including MCP
Customer SupportLimited — MCP must be granted manually
Read-OnlyNo access

Connecting Claude.ai

Claude MCP must be set up by a developer. Contact Jaro or Casper before connecting. They will:

  1. Confirm your Auth0 user has read:mcp (and write:mcp if you need write tools)
  2. Ensure your role includes the domain permissions you need (e.g. read:campaigns, read:billing)
  3. Help you add the Stampix MCP server in Claude (remote MCP via OAuth)

Once set up, add the production MCP URL in Claude's MCP settings and complete the OAuth login flow.

Scopes explained

Every tool enforces a two-layer permission model:

  1. MCP gateway scopesread:mcp is always required; write tools also require write:mcp
  2. Domain scopes — the same permissions as the dashboard (e.g. read:webapps, create:campaigns)

If a tool returns "Missing required scopes", ask Jaro or Casper to add the missing permission to your Auth0 user.

Read tools

These tools are read-only and safe to use for analysis and reporting.

Tool reference

ToolRequired scopesInputs
userread:mcp
list_user_organizationsread:mcp, manage:organization
list_organization_webappsread:mcp, read:webappsorganizationId
get_client_invoice_statementsread:mcp, read:billingorganizationId
get_client_reportread:mcp, read:billingorganizationId
list_product_catalogread:mcp
get_organization_onboarding_statusread:mcporganizationId
list_organization_contentread:mcporganizationId
list_organization_brandingread:mcporganizationId
list_schemasread:mcp
get_schemaread:mcpschemaName
list_organization_campaignsread:mcp, read:campaignsorganizationId
list_organization_theme_setsread:mcp, read:artworkorganizationId
get_webapp_google_analytics_reportread:mcp, read:webappswebappId, optional funnelType, startDate, endDate
get_organization_campaign_performanceread:mcp, read:campaignsorganizationId
get_campaign_daily_order_countread:mcp, read:campaignscampaignId, optional startDate, endDate
get_organization_campaign_optin_breakdownread:mcp, read:campaignsorganizationId, optional startDate, endDate

Example prompts

Copy and adapt these prompts when talking to your AI assistant:

ToolExample prompt
userWho am I logged in as on Stampix?
list_user_organizationsList all organizations I have access to.
list_organization_webappsList webapps for organization {orgId}.
get_client_invoice_statementsShow invoice statements for {orgName} this year.
get_client_reportGive me the client budget report for {orgName} for the current year.
list_product_catalogWhat products are available in the Stampix catalog?
get_organization_onboarding_statusWhat is the onboarding checklist status for {orgName}?
list_organization_contentList all content profiles for organization {orgId}.
list_organization_brandingList branding/themes for organization {orgId}.
list_schemasWhat JSON schemas are available via MCP?
get_schemaShow me the webappTheme schema so I can understand theme fields.
list_organization_campaignsList campaigns for {orgName} with their webapp and country settings.
list_organization_theme_setsList theme sets (artwork) for {orgName}.
get_webapp_google_analytics_reportShow the GA funnel for webapp {webappId} for the last 30 days.
get_organization_campaign_performanceHow are campaigns performing for {orgName} this year?
get_campaign_daily_order_countDaily order counts for campaign {campaignId} over the last 7 days.
get_organization_campaign_optin_breakdownOpt-in breakdown by campaign and country for {orgName} in March 2026.

Write tools

Destructive tools

Write tools create real data in the dashboard. Use with care and only if you have write:mcp plus the required domain scope.

ToolRequired scopesPurpose
create_organizationread:mcp, write:mcp, manage:organizationCreate a new organization (name, currency, contact)
create_campaignread:mcp, write:mcp, create:campaignsCreate a campaign and webapp (new or link existing)
campaign_product_setupread:mcp, write:mcp, create:campaignsLink products to a campaign and theme set

New client onboarding workflow

Typical sequence for onboarding a new client via MCP:

  1. create_organization — returns the new organizationId
  2. create_campaign — use webapp.mode: "create" for new clients (creates branding, content, and webapp with Stampix defaults)
  3. list_organization_campaigns + list_organization_theme_sets + list_product_catalog — gather IDs for the next step
  4. campaign_product_setup — link products to the campaign and theme set

Client health check

Use this when reviewing how a client is doing:

  1. "List all organizations I have access to."
  2. "What is the onboarding checklist status for {orgName}?"
  3. "How are campaigns performing for {orgName} this year?"
  4. "Daily order counts for campaign {campaignId} over the last 7 days."

Billing review

  1. "List all organizations I have access to."
  2. "Show invoice statements for {orgName} this year."
  3. "Give me the client budget report for {orgName} for the current year."

Campaign and webapp analysis

  1. "List campaigns for {orgName} with their webapp and country settings."
  2. "List webapps for organization {orgId}."
  3. "Show the GA funnel for webapp {webappId} for the last 30 days."
  4. "Opt-in breakdown by campaign and country for {orgName} in the last month."

Troubleshooting

SymptomLikely causeFix
MCP server won't connect (Claude)Not set up by a developerContact Jaro or Casper
"Missing required scopes"Token lacks read:mcp, write:mcp, or a domain scopeRequest a permission update in Auth0
"Organization not found"Wrong ID or no access to that orgRun list_user_organizations
"Campaign not found"Wrong campaign ID or org mismatchRun list_organization_campaigns for the org
Tool not visible in clientClient hasn't refreshed tools after connectingRefresh tools list in "Customize" Claude Settings
Empty or unexpected dataDate range defaults may not match your intentSpecify startDate and endDate explicitly (format: yyyy-MM-dd)