Skip to content

Stripe

Connect Pencel to Stripe so your agents can pull payment data, generate revenue reports, and manage subscriptions. Whether you need a daily revenue snapshot or a monthly billing reconciliation, this integration gives your agents direct access to your Stripe account.

Trust LevelPartner
TransportRemote
Endpointhttps://mcp.stripe.com
ActivationWhen relevant recommended

What Your Agent Can Do

  • List charges — pull recent transactions with amounts, statuses, and customer details.
  • List customers — search and read customer records.
  • Create invoices — generate invoices for customers with line items.
  • Manage subscriptions — list active subscriptions, check renewal dates, identify churned accounts.
  • Read products and prices — access your product catalog.
  • Pull balance and payout data — check your available balance and recent payouts.
  • Search across objects — find specific charges, customers, or invoices by metadata.

Setup

Stripe requires a Secret Key to connect.

Step 1: Get Your Secret Key

  1. Go to dashboard.stripe.com/apikeys.
  2. Under Secret key, click Reveal and copy the key (starts with sk_live_ for production or sk_test_ for test mode).

WARNING

Your Stripe Secret Key grants full access to your account, including the ability to create charges and modify data. Keep it secure. Pencel stores it in your operating system's keychain, and it never leaves your machine.

Step 2: Add the Connection

  1. Open Settings > Connections.
  2. Click Add Connection and select Stripe from the catalog.
  3. Paste your Secret Key into the credential field.
  4. Click Connect.

TIP

Use a test mode key (sk_test_) first to verify your workflows work correctly before switching to production.

Example: Monthly Revenue Report

Imagine your finance team wants a breakdown of the previous month's revenue without exporting CSV files from the Stripe dashboard.

Workflow setup:

  1. Create a workflow called "Monthly Revenue Report."
  2. Add a step with these instructions:

Pull all successful charges from Stripe for the previous calendar month. Group them by product. For each product, calculate the total revenue and number of transactions. Also pull the total refund amount for the month. Create a summary report showing gross revenue, refunds, net revenue, and a product-by-product breakdown. Save it to the workspace as /reports/revenue-[month]-[year].md.

  1. Schedule the workflow to run on the 1st of each month.

Your team gets a clean revenue report without anyone touching the Stripe dashboard.

Example: Subscription Health Check

List all Stripe subscriptions. Identify any that are past due, canceled in the last 30 days, or have upcoming renewals in the next 7 days. For past-due subscriptions, include the customer email and amount owed. Format as a report with three sections: At Risk, Recently Churned, and Upcoming Renewals.

This gives your customer success team an actionable list every week.

Example: Invoice Automation

For each customer in the "Enterprise" product plan, check if they have an unpaid invoice older than 30 days. If so, send a summary to the #billing-alerts Slack channel with the customer name, invoice amount, and days overdue.

This combines Stripe with Slack to keep billing issues visible.

Troubleshooting

ProblemSolution
"Invalid API Key" errorDouble-check that you copied the full key including the sk_live_ or sk_test_ prefix.
No data returnedIf using a test key, you only see test mode data. Switch to a live key for production data.
Rate limit errorsStripe allows 100 requests per second. If your agent hits this limit, add pauses between queries or reduce the scope of data pulled.
Cannot create chargesThe Stripe MCP server typically provides read operations and invoice/subscription management. Direct charge creation may require additional configuration.