Connect Stripe
An Aster organization admin connects Stripe once with a Stripe restricted key. The connection is shared across the organization, so scheduled tasks keep running without anyone signing in again.- In the Stripe Dashboard, open API keys in live mode and click Create restricted key.
- When Stripe asks how you’ll use the key, choose Authorizing agent access to your account. Stripe’s MCP server only accepts keys created this way.
- Name the key (for example “Aster Agents”) and set Read on what agents should see. For finance work that is usually accounts, balance, balance transactions, payouts, charges, refunds, disputes, customers, invoices, subscriptions, products, and prices. For MRR and SQL reporting, also set Read on metrics, queries, and reports. Set Write only on what agents should change.
- Copy the key. Stripe shows it only once.
- In Aster, open Control Hub > Integrations, click Add integration, find Stripe, and click Configure. Paste the key, save, then click the play button to check the connection.
- Edit an agent and check Stripe under MCP Servers.
What agents can do
Stripe maintains these tools and adds new ones over time. See Stripe’s MCP documentation for the full list. To keep agents read-only, give the key no Write permissions.
Approvals
Stripe holds high-risk actions from agent keys, such as refunds and payouts, until a reviewer approves them in the Stripe Dashboard. The agent replies with Stripe’s approval link. After it’s approved, ask the agent to try again. A scheduled task stops at that step until someone approves and runs it again. See Stripe’s approval rules.Example prompts
- “What was our MRR at the end of each month this year?”
- “Reconcile last month’s payouts to their payments, refunds, and fees, and flag anything that doesn’t tie out.”
- “Which invoices are past due, and which customers owe them?”
- “List November’s disputes by reason and amount.”
Troubleshooting
- 401: The key was expired or rotated, or it wasn’t created for agent access. From January 11, 2027, Stripe’s MCP server rejects secret keys (
sk_) and restricted keys not created for agents. Create a key as in steps 1–4 and paste it in Configure. - Permission error naming a resource: The key has no access to it. Edit the key’s permissions in Stripe; nothing changes in Aster.