About Minshop
Minshop is an MCP server published by ddyy in the Blockchain category: full-stack ecommerce on Cloudflare Workers, D1, and R2 - with admin, Stripe, OpenNode, Lightning payments, and agent-ready APIs. Conduid read 14 tools from its source: browse_products, check_order_status, create_checkout, create_product, daily_totals, fulfill_order and 8 more. No package is published for it, so it installs from a source checkout.
The repository has 212 stars and 71 forks, is licensed MIT, and its last commit was on 4 Nov 2026. The latest release is v0.2.0 (31 Jul 2026): The short version: the storefront became swappable, and fulfillment became real. The release before it was v0.1.1 (25 Jul 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include astro, cloudflare-d1, cloudflare-r2, cloudflare-workers, ecommerce and edge-computing.
Install
git clone https://github.com/ddyy/minshopTools (14)
browse_productsSearch or list products a shopper can buy. Active, in-stock-aware public catalog with prod_… public IDs, prices, and absolute URLs.| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| offset | number | |
| q | string | Search query; omit to list |
check_order_statusPoll a checkout using the order_status_url token from create_checkout. Reports confirming/paid/refunded and any download URLs for digital goods.| Parameter | Type | Description |
|---|---|---|
| token * | string | The otk_… token from order_status_url |
create_checkoutStart a purchase. Returns checkout_url, order_status_url, and — on the lightning rail — a payable BOLT11 invoice an agent can settle with no human. Poll order_status_url until it reports paid.| Parameter | Type | Description |
|---|---|---|
| discount_code | string | |
| items | array | prod_… public ID |
| method | string | One of payment_methods; omit for the default |
| ship_to | object | Required for physical goods |
create_productCreate a product. price_cents is integer cents; slug is auto-generated from the name. Returns the new prod_… public ID and slug.| Parameter | Type | Description |
|---|---|---|
| active | boolean | |
| currency | string | |
| description | string | |
| name * | string | |
| price_cents * | number | |
| stock | number |
daily_totalsOrders + net revenue per day for the last N days (UTC).| Parameter | Type | Description |
|---|---|---|
| days | number |
fulfill_orderMark an order fulfilled (shipped) by its ord_… public ID (legacy public IDs are also accepted), with optional carrier + tracking number.| Parameter | Type | Description |
|---|---|---|
| carrier | string | |
| id * | string | ord_… public ID (or legacy public ID) |
| tracking_number | string |
get_orderGet an order plus its line items and refund history, by its ord_… public ID (legacy public IDs are also accepted). Refunds are read-only: order.provider_refunded_cents is the total the payment provider confirmed and order.external_refunded_cents is what was recorded by hand; order.refunded_cents is their sum, capped at the order total. Each refund amount_cents is a delta, not a running total, and is negative for a correction.| Parameter | Type | Description |
|---|---|---|
| id * | string | ord_… public ID (or legacy public ID) |
get_productGet one product by its prod_… public ID, or by slug as a convenience.| Parameter | Type | Description |
|---|---|---|
| id * | string | prod_… public ID, or a slug |
get_product_detailsFull public detail for one product, by its storefront slug.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Product slug from browse_products |
list_ordersList orders, newest first, one page at a time. Each order id is its ord_… public ID (or a preserved legacy public ID); reference is the customer-facing order reference.| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| offset | number |
list_productsList products (admin view: includes inactive + units sold), one page at a time. Each product id is its prod_… public ID.| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| offset | number |
order_statsStore totals: order count, net revenue (cents), refunded (cents).payment_methodsWhich payment rails this store accepts, and its default.update_productUpdate an existing product by its prod_… public ID (or slug). Only the fields you pass change; the rest are kept.| Parameter | Type | Description |
|---|---|---|
| active | boolean | |
| currency | string | |
| description | string | |
| id * | string | prod_… public ID, or a slug |
| name | string | |
| price_cents | number | |
| stock | number |
Security checks
- ✓README presentThe repository's README runs to about 8.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 163 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 8.3K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README