https://api.pocketsflow.com/mcp exposes the full public API as tools — create
products, read orders, issue refunds, manage webhooks, send newsletters, and
more — scoped by your API key.
Endpoint
https://api.pocketsflow.com/mcp — Streamable HTTP. Authenticate with
Authorization: Bearer <API key>.1. Create an API key (auth)
Every MCP connection uses the same API keys as the REST API.- Open the dashboard → Developers → API keys.
- Create a key. Prefer
pk_test_…while you set things up. - Copy the key once — it is shown only at creation.
Send it on every request:
2. Add the server to your client
Pick your client and paste the config. Replace the placeholder key with yours.- Claude Desktop
- Cursor
- ChatGPT
Claude Desktop’s local config only launches stdio servers. Bridge the
hosted HTTP endpoint with After restart, open a new chat and confirm pocketsflow tools appear
under the hammer / tools menu.
mcp-remote
(requires Node.js 18+).- Open Settings → Developer → Edit Config (creates
claude_desktop_config.jsonif needed). - Merge the block below into
mcpServers. - Quit Claude Desktop completely and relaunch.
Put the Bearer value in
env, not inline in args. Claude Desktop does
not escape spaces in args reliably (especially on Windows) — the
Authorization:${AUTH_HEADER} form avoids that.3. First tool call walkthrough
Once the client shows Pocketsflow tools, verify the connection with a read-only call before anything that writes.1
Confirm the account
Ask:
Using the Pocketsflow tools, call get_account and summarize who I’m
authenticated as.
You should see your store / account details. A 401 or “API key” error means
the header is missing, mistyped, or the key was revoked — fix the config and
reload the client.2
List products
Ask:
List my products with list_products.
Empty is fine in a fresh test account — a successful empty list still proves
auth and tool discovery work. (list_products takes no filters today.)3
Create something in test mode
With a
pk_test_… key:Create a $19 product called “MCP Starter Kit” and give me a checkout link.The agent should call
create_product then
create_checkout_session and return a hosted checkout URL. Open it to
confirm the sandbox product.Handy prompts
4. Verify without an AI client
You can hit the same endpoint withcurl to isolate client vs. server issues:
Troubleshooting
Related topics
- MCP server — tool catalog and transport details
- Authentication & security
- Developer setup
- Claude Code + Pocketsflow
- Cursor + Pocketsflow
- Windsurf + Pocketsflow