Pocketsflow
HumanAgent

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.

See the setup
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.

GitHub Copilot

Create a $19 starter template product, as a draft.

Pocketsflow MCP
  1. create_product
Your store

Saves the product your app will sell, unpublished.

Figure 1. An ask in GitHub Copilot, the Pocketsflow tools it calls, and what changes in your store. You approve the app once; every change lands in your dashboard.

Connect GitHub Copilot in 3 steps.

  1. 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.

  2. 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).

  3. Ask Copilot Chat

    Copilot picks the Pocketsflow tools when your ask needs them, so you don't name the server each time.

.vscode/mcp.jsonJSON
{
  "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.

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