Early access

Use AI to manage pricing, billing, and integrations

Connect AI assistants and agents to your Paddle account using the Model Context Protocol (MCP) server. Empower LLMs to debug issues, automate billing operations, and integrate Paddle faster using natural language.

The Paddle Model Context Protocol (MCP) server enables AI systems to interact with your Paddle account.

Instead of navigating to the dashboard or accessing the API directly, your team can now ask AI assistants to perform tasks in natural language to achieve complex pricing, billing, sales, support, and integration workflows.

The Paddle MCP server is still under development and is subject to change at any time. Review any action taken by the AI assistant before and after execution. Assistants are conversational and may not always follow your instructions as expected.

Illustration showing how MCP connects an AI assistant to Paddle. The user asks a question, the AI uses the MCP server to get data from Paddle, and then presents the results.

How it works

Model Context Protocol (MCP) is an open standard that enables AI systems to securely connect and interact with external services and data sources. It acts as a "universal remote" that exposes data (resources) and actions (tools) to Large Language Models (LLMs), so they're empowered to do more than only chat.

There are two different MCP implementations:

  • Clients that use MCP servers, like Claude, Cursor, or an AI chatbot you built.
  • Servers that expose data and actions to the clients.

Paddle offers an MCP server. It lets AI agents and assistants access your Paddle account data and take actions immediately, so you can:

  • Manage your full pricing

    Build complete pricing models for different product types, with regional pricing and migrations using AI assistants.

  • Debug billing issues

    Investigate failed payments, identify billing inconsistencies, and resolve provisioning problems end-to-end.

  • Understand company performance

    Generate custom reports and analyze transaction patterns, refund trends, and revenue metrics to inform business decisions.

  • Handle subscription lifecycles

    Process upgrades, downgrades, pauses, cancellations, and adjustments with intelligent recommendations based on customer history and business policies.

  • Onboard enterprise customers

    Parse complex quotes, create custom pricing, set up manual invoicing, and migrate customers with proper proration.

  • Integrate and test Paddle

    Generate integration code for your stack, configure webhooks, create test simulations, and debug delivery issues.

Everything that's exposed to the MCP server is automatically added to the conversation's context, so follow-up questions can be asked.

Tools

Tools are the actions that the AI assistant can perform. Each tool maps to a Paddle API operation, so parameters and functionality match what's available in the API reference.

By default, only non-destructive tools are loaded. This means that the AI assistant can only use tools that don't edit or delete any records.

This is intentionally designed to reduce the chance of dangerous or destructive actions being taken in error, reduce the tokens you spend, and improve performance.

You can further limit or increase the tools the AI assistant can access by setting the tools option when installing the MCP server:

ValueDescription
allLoad all tools into the AI assistant.
read-onlyLoad read-only tools (fetch and list operations) into the AI assistant.
non-destructiveLoad tools that don't edit or delete any records into the AI assistant.
Comma-separated list of tool namesLoad only the specified tools (e.g. create_product,create_price,list_products,list_prices) into the AI assistant.

Some clients, like Claude Desktop and Cursor, let you toggle the availability of registered tools in their settings screen. If you'd prefer to control availability there, set tools to all and toggle as needed.

Before you begin

You must create an API key for the LLM to use when making calls to the Paddle API through the MCP server. The API key must have the respective permissions based on the tools you choose to let the AI assistant use, or requests fail with a forbidden error (403).

Your API key grants access to your Paddle account. Keep it secure and only use it with trusted AI agents and assistants.

Install the MCP server

The MCP server uses stdio transport and runs locally on your machine. No remote access is possible yet.

Setting up the Paddle MCP server varies slightly depending on which AI client you're using.

AI assistants using the MCP server can access your Paddle data. Only use assistants that you trust.

You can add the Paddle MCP server to Claude Desktop in one way.

  1. Open Claude Desktop and go to Settings > Developer.

  2. Click Edit Config and open the claude_desktop_config.json file.

  3. Add the paddle server configuration to the mcpServers object.

  4. Replace YOUR_API_KEY with your Paddle API key.

  5. Set the environment to sandbox or production depending on the environment you want to use.

  6. Set the tools option to all, read-only, non-destructive, or a comma-separated list of tool names.

  7. Save the file and restart Claude Desktop.

Use the MCP server

Once you've set up the Paddle MCP server with your MCP client, tools are registered and available for the AI assistant or agent to use.

AI assistants may interpret requests differently across sessions. Always review generated code, data changes, and financial transactions before accepting or applying.

Some MCP clients, like Claude and Cursor, require you to manually accept each tool call before they run. Always keep this setting enabled and always review the details of the tool calls before executing them, especially when using tools which edit, archive, or delete entities.

Manage your pricing

Products and prices determine what's being sold to customers as part of your catalog, making up the core of your pricing model.

Instead of manually creating products and prices through the dashboard or API, you can describe your pricing structure to your AI assistant in natural language. The assistant creates the appropriate products and related prices, implements regional pricing strategies, and helps you evolve your catalog over time, including migrating customers from old plans to new ones while maintaining business continuity.

Managing a complete pricing model requires careful planning. Being specific about products, how they're priced, and your migration strategy helps the AI assistant accurately implement and evolve your pricing over time.

Flow

To manage your pricing model using natural language, follow these steps:

  1. Describe your pricing structure or changes

    Provide a detailed description of products and their pricing structure. Include product names, descriptions, pricing tiers, billing cycles, trial periods, and any regional pricing needs.

  2. Add your migration strategy

    If you're introducing a new pricing model, be explicit about how you want to handle migrating existing customers so the AI assistant creates the correct prices or discounts to handle grandfathering when needed.

  3. Review created or updated products

    After the assistant creates or updates products, review them to ensure they match your requirements. Check names, descriptions, tax categories, and archive status.

  4. Review created or updated prices

    Verify that prices are correctly associated with products, have the right amounts, billing cycles, regional overrides, and any quantity limits. For migrations, confirm that grandfather pricing and discounts are configured correctly.

Best practices

When asking the AI to manage your pricing model:

  • Be specific about product types

    Say what type of products you need, like subscription plans, per-unit products, or one-time charges, so the AI can create them correctly. For per-unit products, specify the quantity limits.

  • Define clear billing cycles

    Specify how often you want to bill for each product, like monthly or yearly, and whether you need trial periods.

  • Provide thorough price details

    Include specific amounts, currencies, and any regional price overrides plus tax modes to ensure accurate pricing. For regional or international expansion, mention target markets and whether you want purchasing power parity adjustments.

  • Structure your request logically

    Organize your request by product types, then prices, using a table format where appropriate to make the information clear and structured.

  • Migrate customers slowly

    When migrating customers to new pricing, manage the migration in steps, only focusing the AI on one task at a time, like identifying those customers, creating any new catalog items, and then updating subscriptions. Consider restricting the scope to a smaller subset of customers and set boundaries.

Examples

Debug and resolve billing issues

When customers report billing issues or payment failures, your first priority is to understand the cause. Using the MCP server, your AI assistant can gather and analyze transaction data, subscription records, payment attempts, and customer account details. This lets it pinpoint issues such as failed transactions, expired payment methods, or inconsistencies in subscription information quickly and accurately.

After identifying the source of the problem, the assistant can move from diagnosis to action. It can gather the relevant billing information, explain the situation clearly to customers, and either automatically resolve issues or recommend next steps to take.

Best practices

When asking the AI to help debug and resolve issues with your Paddle data:

  • Provide specific identifiers

    Always start by gathering specific identifiers, like customer email or Paddle IDs to include in your question so the assistant can more easily identify the relevant records.

  • Be specific about your investigation goals

    Describe what you need to understand about the billing issue. State its nature, like payment failures, unexpected charges, or subscription status problems. Explain what you're trying to do, like explaining a charge to a customer or diagnosing why payments are failing.

  • Mention relevant time periods

    For recurring billing issues, specify relevant time frames, like "last month" or "since January," to help narrow down when the problem started. The more specific the time period, the better.

  • Ask about related information

    If you need to understand connections between different aspects, like how subscription changes affected billing, explicitly ask about these relationships in your question.

  • State when you need comprehensive data

    When debugging issues that require examining patterns or multiple records, explicitly ask to "see all related transactions" or "check all subscriptions for this customer" to ensure you get a complete picture, rather than just the most recent or default records.

  • Request step-by-step investigation

    For complex billing issues, ask the assistant to "think step-by-step" and investigate each aspect systematically. This helps identify root causes and ensures nothing is missed.

  • Specify resolution authority

    Make it clear whether the assistant should only investigate and recommend actions, or if it should automatically resolve issues it identifies. For sensitive operations like refunds, you may want approval before execution.

Examples

Understand company performance

Reports provide insights into transaction history, adjustments, and catalog changes. Using the MCP server, your AI assistant can generate these reports and quickly analyze performance data.

All reports can be filtered to return the data you need so the AI assistant can conduct proper analysis for the purpose of growth or compliance and understand where you're succeeding or struggling to make immediate improvements.

Reports are generated as CSV files and aren't immediately available to the AI assistant. Download the CSV from the email sent to your Paddle account's main email address, or wait for the report to be generated and then ask the AI assistant to fetch it using the get_report_csv MCP tool.

Flow

To generate reports and analyze financial data, follow these steps:

  1. Request the report or analysis

    Prompt the AI to generate the report or perform the analysis. Give as much detail as possible about what you need, detailing your aims and business goals so the right report type, data fields, and analytical approach are selected.

  2. Download the report

    AI assistants can fetch the report using the get_report_csv tool so you can download it from the given url. However, you may need to wait for the report to be generated before this is available. Resend the request to check the status, or wait for the email with the report link to be sent to the main email address on your Paddle account.

  3. Upload to the AI assistant

    Once you've downloaded the report, upload it to the AI assistant to give it access to the data.

  4. Fetch related entities

    If the analysis can be enhanced by real-time Paddle data not given in the report, give specifics of what's needed and repeat your aims to the AI assistant which may be lost in context.

  5. Review insights and take action

    The assistant provides insights, identifies trends or issues, and may recommend or execute actions like updating records, creating adjustments, or flagging items for manual review.

Best practices

When asking the AI to manage your financial operations:

  • Specify the report type

    Different report types expose different data fields and insights. Being specific helps the AI immediately know which dataset to query, like transactions for revenue analysis or adjustments for refund patterns.

  • Include clear date ranges

    Date ranges determine the scope of your analysis and keep reports focused on relevant time periods. This helps improve both report generation time and analysis clarity.

  • Mention any filters

    Filters narrow your dataset to exactly what you need, removing noise from your analysis. Common filters include statuses, types, and currencies.

  • Describe what you're trying to analyze

    Explaining your analysis and business goals helps the AI choose appropriate fields and groupings not obvious from specifying only filters, pull additional entity details where needed, and prioritize what data matters most.

Examples

Handle subscription and lifecycle changes

Subscriptions are the foundation of recurring revenue businesses. Customers frequently need to make changes to their subscriptions, upgrading to access more features, downgrading due to changing needs, pausing temporarily, or canceling entirely. Using the MCP server, your AI assistant can help you quickly process these requests by investigating customer context, previewing financial impacts, and executing changes with appropriate proration.

They can even go a step further to identify growth and retention opportunities, and then take immediate action to capitalize on them, like identifying conversion opportunities during trials, creating targeted retention offers for at-risk customers, and recommending refund decisions based on history.

Best practices

When asking the AI to help with subscription changes:

  • Provide clear business policies

    Share your guidelines and business policies with the assistant so it can handle different situations consistently, like refund and downgrade policies, when to offer discounts, how to handle high-value customers, what requires manager approval, and proration preferences.

  • Request customer context

    Ask the AI to investigate customer history, lifetime value, and previous interactions before recommending actions. This ensures recommendations are appropriate for each customer's relationship with your business.

  • Segment customers for different treatment

    When processing multiple requests, describe how different customer segments should be handled, like offering discounts to new trials but not established customers, or processing high-value accounts with extra care.

  • Specify your search criteria

    When asking the AI to find subscriptions needing attention, be specific about criteria like "trials ending in 7 days" or "subscriptions past_due for more than 3 days" so it knows exactly what to look for.

  • Always preview financial impacts

    For subscription changes that affect billing, ask the AI to preview the financial impact before executing changes. Assistants can use the preview_subscription_update tool to see exactly what customers would be billed, credited, or refunded.

  • Expect approval requests

    For sensitive operations like refunds, adjustments, or cancellations, the assistant presents its analysis and recommendation, then waits for your explicit approval before proceeding. This ensures you can review the reasoning and intervene before any financial impact occurs.

Examples

Onboard and manage enterprise customers

Enterprise customers often require onboarding workflows with manual invoicing, custom pricing, multiple contacts, and complex billing terms. Managing these customers manually through the dashboard can be time-consuming and error-prone, especially when handling quotes, contracts, and migrations from self-serve plans alongside other systems.

Using the MCP server, your AI assistant can orchestrate the entire enterprise onboarding process, both within and outside of Paddle. It can parse complex quotes and customer details to convert them into Paddle entities, configure specific payment terms ensuring all billing requirements are met, migrate self-serve customers to manually invoiced enterprise plan, and generate the necessary documentation for your sales and finance teams.

Enterprise onboarding often involves custom pricing and terms that differ from your standard catalog. Items created by AI assistants in Paddle are often custom and non-listed in your standard catalog as a result. Ensure this is what you expect.

Flow

To onboard enterprise customers or migrate them from self-serve plans, follow these steps:

  1. Provide contract or quote details

    Share as much information as possible from your CPQ (Configure, Price, Quote) tool, contract, or enterprise agreement documents. The assistant can validate that the setup matches approved business terms and catch potential issues before they occur.

  2. Provide additional information

    Include customer and business details like tax ID, legal entity address, email address, and information on the jurisdiction they're in. Manual invoicing currently supports USD, EUR, and GBP, so specify which applies to the customer.

  3. Preview and review

    Before finalizing, ask the assistant to preview the full transaction including amounts, currencies, customer details, and proration details, if migrating from an existing subscription. Verify that the amounts, terms, and structure match your signed contract or quote.

  4. Execute the onboarding

    Once approved, the assistant creates all necessary Paddle entities, sets up manual invoicing with the correct payment terms, generates an invoice and payment link if required, and provides these to your team or customer.

Best practices

When asking the AI to onboard enterprise customers:

  • Provide complete contract and sales context

    Connect the assistant to other MCPs or pull and include data from other APIs and sources, like your CRM, CPQ tools, contracts, or enterprise agreement documents. This includes pricing and discount rules, sales playbooks, billing terms, payment schedule, approval workflows, and any special arrangements. The more given, the better the validation against policies and terms.

  • Clarify custom pricing structure

    If pricing differs from your standard catalog, be explicit about whether you need entirely new price entities or if you're using existing products with custom pricing for this customer. This keeps your catalog clean and prevents enterprise pricing from being accidentally used elsewhere.

  • Request migration handling for existing customers

    When upgrading self-serve customers to enterprise, specify how to handle their existing subscription, including proration, billing timing, and any credits they should receive. Remember to include their email and address.

  • Preview before finalizing

    Always ask the AI to preview the complete setup and first invoice before executing. This is especially important for large contracts to ensure everything matches the agreement and your guidelines, and there are no surprises.

Examples

Integrate and test Paddle

Implementing Paddle Billing in your app requires setting up products and prices, building checkout flows, handling webhook events for provisioning, storing subscription data, and thoroughly testing all scenarios. Traditionally, this involves reading documentation, writing integration code, manually testing webhooks, and debugging issues across environments.

Using the MCP server, your AI assistant can build and test complete Paddle integrations end-to-end, turning days or weeks into minutes.

The AI generates frontend and backend code while using the Paddle MCP tools to set up frontend authentication, create products, configure webhooks, create test simulations, debug issues by querying Paddle data, and replay failed webhook events to fix issues.

It can even work with other systems and tools to create database schemas, set up local testing environments with tunnels, migrate from other billing platforms, and debug issues by correlating errors across systems.

Flow

To integrate Paddle into your app with AI, follow these steps:

  1. Ensure access to commands, systems, and tools

    Integration work often requires access to multiple systems beyond Paddle, like your codebase, database, error tracking tools, and local development environment. Make sure your AI assistant has the appropriate access and MCP tools, commands, or integrations configured to work across these systems.

  2. Define your integration requirements

    Describe your stack (framework, database, hosting), how customers should checkout, and how you'll handle provisioning. Be specific about your tech stack and requirements so the AI agent generates appropriate code.

  3. Set up products and pricing in Paddle

    Have the AI assistant create your product catalog in Paddle or review existing products in advance. Be clear on your requirements for your pricing model and how access and provisioning works.

  4. Generate integration code

    The AI assistant creates the necessary code components, like pricing pages, checkout flows with Paddle.js, webhook endpoints, database schemas for storing billing data, and middleware for feature gating based on subscription status.

  5. Verify the webhook handler implementation

    Ensure the webhook secret is stored securely in environment variables. If the integration is using a supported SDK, ensure the implementation uses the SDK's unmarshal function to verify the webhook signature correctly.

  6. Set up local testing environment

    Once implemented, ask the AI assistant to configure webhook testing using tunnels to your local development environment, like with Hookdeck, and to create and run Paddle webhook simulations to verify webhooks are being received and processed correctly for different edge cases and scenarios.

  7. Debug and refine

    Use the AI to diagnose any issues by examining webhook logs, debugging payment flows, checking for missing or failed webhook deliveries, and replaying real or simulated webhook events when needed.

  8. Migrate from other platforms

    If moving from another billing provider, have the AI help map your existing data to Paddle's structure, create migration scripts, and validate the migration before switching over.

Best practices

When asking the AI to help with Paddle integration:

  • Use a sandbox environment

    Sandbox accounts are for testing your integration without affecting your production data. Use them in your local and staging environments to test your integration while building and testing. Ensure your API key and environment set for the MCP installation are sandbox credentials.

  • Go task-by-task

    Ask the AI assistant in IDEs like Cursor to break down the tasks step-by-step. Use features like 'Plan' mode to generate a checklist of steps to take and MCP tools to use for each task. Alternatively, offer individual prompts for each phase to guarantee focus and better results.

  • Add Paddle docs as a source

    If your IDE supports it, like with Cursor, index and add Paddle's documentation as a source to the assistant. This helps it understand the Paddle platform with most recent information.

  • Be specific about your tech stack

    Include your framework (Next.js, Rails, Django, etc.), database (PostgreSQL, MySQL, Supabase, etc.), hosting platform, and any relevant libraries. This ensures generated code matches your stack and conventions.

  • Give code examples or start with a template

    Paddle offers a Next.js starter kit and SDKs with examples of how to integrate, including webhook verification. If you use other frameworks, start with a template or examples of how you want your code to be structured and implemented to have greater chance of success.

  • Request production-ready code

    Ask for proper error handling, security best practices like webhook signature verification, idempotency for webhooks, and appropriate logging. Don't accept quick hacks and instead insist on code you can ship.

  • Test webhook handling thoroughly

    Ensure your integration handles all relevant subscription lifecycle events, processes them idempotently to handle duplicates gracefully, verifies the webhook signature, and updates your database correctly. Ask the AI to verify each scenario with webhook simulations.

  • Request migration validation

    If migrating from another platform, ask the AI to preview the migration for a small batch first, verify data integrity, and identify any edge cases before running the full migration.

  • Use real identifiers in prompts

    When debugging, include actual error messages, transaction IDs, webhook event IDs, and other specific identifiers. This allows the AI to investigate the exact issue rather than working from generic descriptions.

Examples

Related pages

AI AssistantBeta

Ask a question to start a conversation!

If you have made a purchase through Paddle, go to paddle.net instead.

Powered by kapa.ai
|
Protected by hCaptcha