Microsoft Copilot reads Stripe through an agent you build in Copilot Studio: connect each company's Stripe account to DeepLedger, add DeepLedger's MCP server as the agent's tool, and the agent can answer questions about payouts, fees, refunds and disputes next to that company's QuickBooks Online or Xero books. You can then publish the agent to Microsoft 365 Copilot and Teams. Nothing the agent does through DeepLedger can refund, pay or change anything in Stripe.
This guide is for firms and finance teams that live in Microsoft 365 and want one Stripe reporting agent for the whole team. The QuickBooks Online version, with more detail on Teams publishing, is Connect Microsoft Copilot to QuickBooks Online. The agent below serves Stripe and the books in one tool.
Which Copilot does what?
Microsoft uses the Copilot name for several products. Only some of them can add an MCP server.
| Product | Stripe route in this guide |
|---|---|
| Copilot Studio | Add DeepLedger as an MCP tool on an agent |
| Microsoft 365 Copilot | Use the published Copilot Studio agent |
| Microsoft Teams | Use the same agent in a one-to-one chat |
| GitHub Copilot in VS Code | Add DeepLedger as a remote MCP server |
This guide does not cover the consumer Copilot app. Reach DeepLedger through one of the routes above.
What the agent can read in Stripe
DeepLedger connects Stripe for reporting, through Stripe's official MCP server, and lets through only named read operations: the connected account, the balance, balance transactions (gross, fee and net, filterable by payout), payouts, charges, refunds, disputes, invoices, application fees, transfers, customers and subscriptions.
Stripe's write tool, its report runs and every tool that moves money are blocked. DeepLedger also chooses the account: each company's connection must reach exactly one Stripe account, and that account's live or test mode is used on every call.
Why one agent for every client's Stripe account
A Teams agent is shared by many people, and they do not all work for the same clients. If the agent were bound to one Stripe account, you would need an agent per client, each with its own connection to maintain.
With DeepLedger, the agent is built once and the company comes from the person using it:
- Each user brings their own access. With end-user credentials, every call runs as that person and reaches only the companies they are assigned to in DeepLedger.
- Each user switches independently. "Switch to Kestrel Outdoor Co" moves that person's active company, and its Stripe account, not a colleague's.
- Stripe and the books in one tool. The same tool reads the company's Stripe account and its QuickBooks Online or Xero books.
- One account per company. A client with two Stripe accounts uses two DeepLedger companies. See multiple Stripe accounts, one AI connection.
Before you start
- A DeepLedger account with each company's ledger connected, and Stripe connected on its Connections tab.
- Pricing: $10 per Stripe connection per month, and $20 per QuickBooks Online or Xero connection, with unlimited users and a 14-day free trial with no credit card. See pricing.
- A Copilot Studio environment where you can create or edit an agent.
- A personal DeepLedger API key: Settings → API keys → Create key, then choose All my companies (so the agent can switch) and an expiration. The value is shown once.
A key acts as the person who created it and has no read-only setting of its own. A One company key works only in that company and cannot switch.
How do I connect Copilot Studio to Stripe?
The Copilot Studio steps follow Microsoft's guide to adding an existing MCP server.
- Connect Stripe in DeepLedger. In DeepLedger, open Companies, select the company, open its Connections tab and select Connect Stripe on the Stripe (official MCP) card. Choose one Stripe account on Stripe's screen and approve.
- Open your agent in Copilot Studio.
- Go to Tools, select Add a tool, New tool, then Model Context Protocol.
- Give it a name and a description such as "Stripe payouts, fees, refunds and disputes next to our client books, read only, through DeepLedger".
- For Server URL, enter
https://mcp.deepledger.ai/mcp. - For authentication, choose API key, then Header, with the header name
Authorization. - Select Create, then create a connection. For the key value, enter
Bearerfollowed by your DeepLedger key. - Add the tool to the agent. In the tool's settings, under Credentials to use, choose End user credentials before you share the agent.
Then test in Copilot Studio's test pane:
Which company am I in, and which Stripe account is connected? Is it live or a test account?
If the agent already uses DeepLedger for QuickBooks Online or Xero, skip steps 2 to 8: the same tool reads Stripe once the company has it connected.
Switch companies by asking
The agent uses DeepLedger's companies tool: current, list, and switch by name or company id.
List my companies that have Stripe connected.
Switch to Kestrel Outdoor Co and list the Stripe payouts that arrived last week.
Now do the same for Kestrel Outdoor Retail LLC.
Add a line to the agent's instructions telling it to name the active company and the Stripe account at the start of every answer that uses Stripe data, and to convert Stripe amounts from cents. Instructions guide the model; the company name in each DeepLedger result is the evidence.
Publish to Microsoft 365 Copilot and Teams
- Publish the agent in Copilot Studio.
- Under Channels, select Teams and Microsoft 365 Copilot and add the channel.
- Install it for yourself and repeat the company check in Teams.
- Share it only with the people who should use it.
Signing in to the agent in Teams is Microsoft's side: see Microsoft's Teams SSO guide, which notes that SSO works in one-to-one chats with the agent, not group chats or channels. The DeepLedger connection is separate: with end-user credentials, each person is asked once for their own DeepLedger key. Test as a non-maker user before rollout.
Stripe prompts to try
Month-end payouts
Switch to Kestrel Outdoor Co. List every Stripe payout that arrived in October 2026 with arrival date and amount, converted from cents, and total them.
Payout breakdown
For the largest October payout, list its balance transactions with type, gross, fee and net, and show that the nets add up to the payout.
Fees by client
For each company I can access that has Stripe, total October's Stripe fees from balance transactions. One row per company, each in its own currency.
Disputes to chase
List Stripe disputes created this quarter in Kestrel Outdoor Co that are not yet won or lost, with amount and the charge each relates to.
Payouts against the books
For each October Stripe payout in Kestrel Outdoor Co, find the matching deposit in the books. List payouts with no deposit. Do not change anything.
The bookkeeping that follows is in reconciling Stripe payouts in QuickBooks or Xero.
Use GitHub Copilot in VS Code instead
GitHub Copilot in Visual Studio Code is a separate MCP client that signs in with OAuth. Add this to .vscode/mcp.json or your user configuration:
{
"servers": {
"deepledger": {
"type": "http",
"url": "https://mcp.deepledger.ai/mcp"
}
}
}
Start the server and sign in to DeepLedger in the browser. VS Code's MCP configuration reference covers remote servers and authorization.
Is it safe to give a Copilot agent Stripe access?
- Read only in Stripe. DeepLedger blocks every Stripe write, refund and money movement, whatever the agent is told.
- End user credentials, always, for shared agents. Maker-provided credentials let everyone act with the maker's companies and write access.
- The books are a separate question. The same tool can write to QuickBooks Online or Xero for a member with write access. For a reporting-only agent, have users with read-only access create their keys.
- One account, its own mode. DeepLedger sets the Stripe account and its live or test mode for each company.
- Revocation. Revoke a key under Settings → API keys; owners and admins can see and revoke every key in the firm. Disconnecting Stripe on a company's Connections tab stops every agent reading it.
Troubleshooting
401 or unauthorized. The connection value must be Bearer plus the full DeepLedger key, with the header name Authorization.
The agent has no Stripe results. Check that Stripe shows Connected on the company's Connections tab and that the agent is working in that company. Re-open the tool and refresh the tool list if Stripe was connected after the tool was added.
"Switch not allowed." The key was created for One company. Create one for All my companies.
The account is unclear. The Stripe grant reaches more than one account. Disconnect Stripe and connect again, choosing one.
Amounts look 100 times too big. Stripe returns amounts in the smallest currency unit. Tell the agent to convert.
Frequently asked questions
Can Microsoft Copilot connect to Stripe?
Yes, through an agent. Connect Stripe to the company in DeepLedger, then in Copilot Studio add DeepLedger's MCP server, https://mcp.deepledger.ai/mcp, as a tool. Test the agent, then publish it to Microsoft 365 Copilot and Teams. Each person who uses it reads the Stripe accounts of the companies their own DeepLedger access allows.
Can a Copilot agent refund or pay anything in Stripe?
No. DeepLedger connects Stripe for reporting only. The agent can read payouts, balance transactions, charges, refunds, disputes, invoices, customers and subscriptions, and every Stripe write and money movement is blocked.
Which credentials should a shared Copilot agent use?
End user credentials. Each person creates their own DeepLedger API key under Settings, API keys, and the agent calls DeepLedger as that person. Maker-provided credentials would give every user the maker's company access and write ability in the books.
How do I make a Stripe reporting agent that cannot write to the books?
Have each user's key created by a read-only member. A DeepLedger API key acts as the person who created it and has no read-only setting of its own, so a read-only member's key can read Stripe and the books but cannot write. The agent's instructions are guidance, not a permission.
Does GitHub Copilot work with Stripe through DeepLedger?
Yes, as a separate setup. In Visual Studio Code, add https://mcp.deepledger.ai/mcp as an HTTP server in mcp.json. VS Code supports remote MCP servers with OAuth, so you sign in to DeepLedger in the browser instead of storing a key.
Related guides
- Connect Claude to Stripe for reporting
- Connect Microsoft Copilot to QuickBooks Online
- Connect Microsoft Copilot to Xero
- Connect multiple Stripe accounts to one AI connection
- Review Stripe disputes and refunds with AI
See AI platforms and integrations for every supported app and pricing for connection costs.