Stripe MCP server for AI agents

Manage customers, invoices, payment links, subscriptions, products, prices and refunds on Stripe.

Auth
API key
Tools
18
Triggers
1
Category
Payments

Tools and triggers

  • List customers

    STRIPE_LIST_CUSTOMERS

    Lists customers, newest first. Filter by exact email. Use the last id as starting_after for the next page.read-only

  • Get a customer

    STRIPE_GET_CUSTOMER

    Returns one customer by id (cus_…): contact details, default payment method, balance and metadata.read-only

  • Create a customer

    STRIPE_CREATE_CUSTOMER

    Creates a customer record that invoices, subscriptions and payments can be attached to.

  • Update a customer

    STRIPE_UPDATE_CUSTOMER

    Changes a customer's email, name, phone, description, address or metadata. Only the fields given are changed.

  • Search customers

    STRIPE_SEARCH_CUSTOMERS

    Searches customers with Stripe's query language, e.g. `email:'a@b.com'`, `name~'Smith'`, `metadata['plan']:'pro'`.read-only

  • List payment intents

    STRIPE_LIST_PAYMENT_INTENTS

    Lists payments (payment intents), newest first, optionally for one customer.read-only

  • Get a payment intent

    STRIPE_GET_PAYMENT_INTENT

    Returns one payment by id (pi_…): amount, currency, status, latest charge and customer.read-only

  • Create a payment link

    STRIPE_CREATE_PAYMENT_LINK

    Creates a shareable hosted checkout URL for one or more existing prices. Returns the link's `url`.

  • List invoices

    STRIPE_LIST_INVOICES

    Lists invoices, newest first. Filter by customer, subscription or status.read-only

  • Create a draft invoice

    STRIPE_CREATE_INVOICE

    Creates a draft invoice for a customer. Pending invoice items of the customer are pulled in; finalize it to send or charge.

  • Finalize an invoice

    STRIPE_FINALIZE_INVOICE

    Moves a draft invoice to open so it can be paid. The invoice can no longer be edited afterwards.

  • List products

    STRIPE_LIST_PRODUCTS

    Lists products in the catalogue, newest first. Filter to active ones.read-only

  • Create a product

    STRIPE_CREATE_PRODUCT

    Creates a product, optionally with its default price in one call.

  • Create a price

    STRIPE_CREATE_PRICE

    Creates a one-time or recurring price for an existing product. Amounts are in the smallest currency unit (cents).

  • List subscriptions

    STRIPE_LIST_SUBSCRIPTIONS

    Lists subscriptions. Filter by customer, price or status (`all` includes cancelled ones).read-only

  • Cancel a subscription

    STRIPE_CANCEL_SUBSCRIPTION

    Cancels a subscription immediately. This cannot be undone; the customer is no longer billed.destructive

  • Create a refund

    STRIPE_CREATE_REFUND

    Refunds a payment, fully or partly, back to the customer. Moves money and cannot be reversed.destructive

  • Retrieve the balance

    STRIPE_RETRIEVE_BALANCE

    Returns the account's available and pending balance per currency.read-only

Connect via MCP

Create an MCP server for Stripe in the dashboard, then add its URL to your client. This is the Claude Code command; the client guide has the others.

terminal
claude mcp add --transport http stripe \
  "https://www.prompt-tm.com/mcp/<server id>?user_id=<your user>" \
  --header "x-api-key: ptm_…"

Connect via REST

Run a tool with one request. The response is { data, error, successful, log_id } for every tool.

terminal
curl -X POST https://www.prompt-tm.com/api/v3/tools/execute/STRIPE_LIST_CUSTOMERS \
  -H "x-api-key: $PROMPT_TM_KEY" -H "content-type: application/json" \
  -d '{ "user_id": "alice", "arguments": {} }'

Stripe questions

Other toolkits