Use Pocketsflow from GitHub Copilot in VS Code.
VS Code speaks the MCP sign-in flow itself, so adding Pocketsflow is one command and one click. Then Copilot Chat can create the product, open a checkout session and register a webhook while it edits the files around them.
- Connects via
- MCP: Add Server in VS Code
- Works in
- VS Code
- Plan
- Needs GitHub Copilot in VS Code. On Business or Enterprise, an admin may need to allow MCP servers.
From an ask in GitHub Copilot to your store and back.
You type in GitHub Copilot. It calls a Pocketsflow tool, your store changes or answers, and the result comes back to the chat.
Create a $19 starter template product, as a draft.
- create_product
Saves the product your app will sell, unpublished.
Connect GitHub Copilot in 3 steps.
Add the server
Run MCP: Add Server from the Command Palette, choose HTTP, paste the address and name it
pocketsflow. Or commit the config below as.vscode/mcp.json.Sign in
VS Code opens Pocketsflow in your browser. Sign in to Pocketsflow and click Allow access. Pocketsflow adds a key named
MCP: <app>under Developers → API keys, in the mode your dashboard is in (live or test).Ask Copilot Chat
Copilot picks the Pocketsflow tools when your ask needs them, so you don't name the server each time.
{
"servers": {
"pocketsflow": {
"type": "http",
"url": "https://www.pocketsflow.com/mcp"
}
}
}Server address https://www.pocketsflow.com/mcp
The workspace file holds only the address, never a key, so it is safe to commit for your team. Each person signs in with their own account.
What to ask GitHub Copilot.
Write it the way you would ask a colleague. Under each ask are the Pocketsflow tools it calls.
“Create a $19 starter template product, as a draft.”
Saves the product your app will sell, unpublished.
- create_product
“Register a webhook for order.completed at /api/pocketsflow, then test it.”
Adds the webhook and sends a test delivery.
- create_webhook
- test_webhook
“Look up license key PF-3K9Q and tell me how many machines use it.”
Reads the key and its activations.
- get_license_key
“Which plan is this account on, and can it use upsells?”
Reads the plan and which features it unlocks.
- get_entitlements
What it can and can't do.
Connecting an AI is not handing over the keys. You approve it, you see every change, and you can unplug it in one click.
It can
- Use the same 303 tools as the public API: products, checkout links, discounts, upsells, orders, customers, subscriptions, license keys, usage billing, webhooks, newsletters and analytics.
- Read your payouts: what is ready to withdraw, what is still clearing, and why a payout is on hold.
- Set the refund policy buyers see at checkout, and look up any order's payment, fees and tax.
- Work in test mode with no real money, if your dashboard is in test mode when you click Allow.
It can't
- Refund a payment or withdraw money. Refunds and withdrawals stay in your dashboard.
- Connect without you: nothing happens until you sign in to Pocketsflow and click Allow access.
- See another store. Every call is scoped to the account you approved.
- Use a paid feature your plan lacks. It gets a clear error and tells you which plan unlocks it.
VS Code asks before it runs a tool unless you allow it, and every change shows in your dashboard. To disconnect any app, delete its MCP: <app> key under Developers → API keys. It stops on the next request. Access tokens last an hour and renew themselves; one left unused for 30 days expires.
For developers.
The server speaks streamable HTTP with OAuth 2.1 (PKCE, dynamic client registration) and exposes 303 tools, the same public API as our REST endpoints and the pocketsflow SDK.
Questions
Do I need an API key in mcp.json?
No. VS Code runs the MCP sign-in itself: leave out headers and click Allow access when Pocketsflow opens.
Can my team share the setup?
Yes. Commit .vscode/mcp.json; it holds only the address. Each person approves with their own Pocketsflow login.
Can Copilot refund a buyer?
No. Payment refunds are issued from your dashboard. Copilot can find the order, check its payment and set the refund policy buyers see at checkout.
How do I disconnect VS Code?
Delete the MCP: VS Code key (the name the app gives itself) under Developers → API keys in your dashboard. Access stops on the next request.
Connect GitHub Copilot, then ask for your first product.
Free to start, no monthly fee. Your AI works in your account with the access you approve.
Start selling free