Endpoint
https://api.pocketsflow.com/mcp — a Streamable HTTP MCP endpoint.
Authenticate with your API key as a Bearer token.Authentication
The MCP server uses the same API keys as the REST API. Create one in the dashboard under Developers → API keys, then send it on every request:
Every tool call is executed as your account. There is nothing else to configure — the key both authenticates the connection and scopes the data.
Connect an agent
@pocketsflow/mcp only for clients that speak local stdio MCP.
Agent skill
Install the companion skill from skills.sh:Available tools
Tools mirror the public API, namedverb_resource (for example list_orders,
create_product, cancel_subscription). Only operations that work with
API-key auth are exposed.
update_pricing is an alias of update_product for agents that ask to
change price. Creator payouts remain dashboard/JWT-only and are not exposed
as MCP tools.The Payments tools expose the unified ledger (one-time purchases and
subscription renewals), and the subscriber tools return live membership
status plus full payment history — the same data as
GET /payments and GET /subscriptions/subscribers.
Ask things like “how much recurring revenue did I collect last month?” or
“list my past-due subscribers.”The tool list is generated from the public API contract, so it stays in sync
as the API evolves. Call
tools/list on the endpoint (or check your agent’s
tool panel) for the authoritative, current set.How it works
The MCP server is part of the Pocketsflow backend — there is no separate service to run or host. Each tool call is forwarded to the corresponding public REST endpoint with your API key, so validation, permissions, and per-account data scoping are identical to calling the API directly. The transport is stateless Streamable HTTP: the agent POSTs JSON-RPC messages (initialize, tools/list, tools/call) to /mcp and receives a JSON response. No session state is stored server-side.
You can call it directly without an agent framework — every request carries your API key:
list_orders accepts pagination filters;
create_subscription_offer accepts offer fields; update_pricing /
update_product accept the product id plus fields to change). Errors surface
as MCP tool errors carrying the same status and message the REST endpoint would
return (for example a 401 for an invalid key). Use a pk_test_… key to
exercise everything safely against sandbox data first.
Related topics
- MCP setup guide — Claude Desktop, Cursor, ChatGPT
- API reference — the underlying REST endpoints
- Authentication & security
- Webhooks & API overview