listbee-mcp 0.11.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -8
- package/dist/generated/meta.d.ts +7 -0
- package/dist/generated/meta.d.ts.map +1 -1
- package/dist/generated/meta.js +138 -25
- package/dist/generated/meta.js.map +1 -1
- package/dist/generated/schemas.d.ts +4 -9
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +5 -7
- package/dist/generated/schemas.js.map +1 -1
- package/dist/handlers.d.ts.map +1 -1
- package/dist/handlers.js +0 -3
- package/dist/handlers.js.map +1 -1
- package/dist/manifest.d.ts +7 -0
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +3 -40
- package/dist/server.js.map +1 -1
- package/mcp-tools.yaml +117 -35
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -156,13 +156,6 @@ npx -y listbee-mcp --api-key lb_... --tools create_listing,get_listing,publish_l
|
|
|
156
156
|
| `update_account` | Update account-level settings (GA tracking, notification preferences). |
|
|
157
157
|
| `delete_account` | Permanently delete the account and all data. Irreversible. |
|
|
158
158
|
|
|
159
|
-
### Store
|
|
160
|
-
|
|
161
|
-
| Tool | Description |
|
|
162
|
-
|------|-------------|
|
|
163
|
-
| `get_store` | Get store brand info (display name, bio, slug, avatar) and readiness. |
|
|
164
|
-
| `update_store` | Update store brand — display name, bio, avatar, or slug. |
|
|
165
|
-
|
|
166
159
|
### Listings
|
|
167
160
|
|
|
168
161
|
| Tool | Description |
|
|
@@ -208,7 +201,7 @@ npx -y listbee-mcp --api-key lb_... --tools create_listing,get_listing,publish_l
|
|
|
208
201
|
|
|
209
202
|
| Tool | Description |
|
|
210
203
|
|------|-------------|
|
|
211
|
-
| `upload_file` | Upload a file to ListBee. Accepts a `purpose` parameter: `deliverable` (default, listing content), `cover` (listing image), or `avatar` (
|
|
204
|
+
| `upload_file` | Upload a file to ListBee. Accepts a `purpose` parameter: `deliverable` (default, listing content), `cover` (listing image), or `avatar` (account avatar). Returns a file token to use in `set_deliverables`, `create_listing`/`update_listing` (as `cover`), or `update_account` (as `avatar`). |
|
|
212
205
|
|
|
213
206
|
### Stripe
|
|
214
207
|
|
package/dist/generated/meta.d.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
export interface ToolAnnotations {
|
|
2
|
+
readOnlyHint?: boolean;
|
|
3
|
+
destructiveHint?: boolean;
|
|
4
|
+
idempotentHint?: boolean;
|
|
5
|
+
openWorldHint?: boolean;
|
|
6
|
+
}
|
|
1
7
|
export interface ToolMeta {
|
|
2
8
|
operationId: string;
|
|
3
9
|
method: string;
|
|
4
10
|
path: string;
|
|
5
11
|
description: string;
|
|
12
|
+
annotations: ToolAnnotations;
|
|
6
13
|
}
|
|
7
14
|
export declare const meta: Record<string, ToolMeta>;
|
|
8
15
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,eAAe,CAAC;CAC9B;AAED,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAgSzC,CAAC"}
|
package/dist/generated/meta.js
CHANGED
|
@@ -2,182 +2,295 @@
|
|
|
2
2
|
// source: openapi.json + mcp-tools.yaml
|
|
3
3
|
// Regenerate with: npm run generate
|
|
4
4
|
// openapi_version: 1.0.0
|
|
5
|
-
// generated_at: 2026-04-
|
|
6
|
-
// sha256:
|
|
5
|
+
// generated_at: 2026-04-16T20:02:29.090Z
|
|
6
|
+
// sha256: bab75a380c74083f72fd69bf8f031a39c1d38fc60efab07e66655a8b1a360bd5
|
|
7
7
|
export const meta = {
|
|
8
8
|
create_listing: {
|
|
9
9
|
operationId: "create_listing",
|
|
10
10
|
method: "POST",
|
|
11
11
|
path: "/v1/listings",
|
|
12
12
|
description: "Create a new listing for sale. Returns a checkout URL and readiness status. Only name and price are required — but listings with rich content convert significantly better. Fill in as many fields as you can: description, tagline, highlights, badges, reviews, faqs, cta, cover_url. Write salesy, compelling copy. The product page buyers see is built entirely from these fields. Fulfillment is implicit: attach deliverables for auto-delivery, set fulfillment_url for agent callback, or handle via webhooks. No content_type field needed.",
|
|
13
|
+
annotations: {
|
|
14
|
+
destructiveHint: false,
|
|
15
|
+
readOnlyHint: false,
|
|
16
|
+
},
|
|
13
17
|
},
|
|
14
18
|
create_webhook: {
|
|
15
19
|
operationId: "create_webhook",
|
|
16
20
|
method: "POST",
|
|
17
21
|
path: "/v1/webhooks",
|
|
18
22
|
description: "Create a webhook endpoint. Specify the URL and which events to receive. The webhook secret (whsec_ prefixed) is returned for signature verification.",
|
|
23
|
+
annotations: {
|
|
24
|
+
destructiveHint: false,
|
|
25
|
+
readOnlyHint: false,
|
|
26
|
+
},
|
|
19
27
|
},
|
|
20
28
|
delete_account: {
|
|
21
29
|
operationId: "delete_account",
|
|
22
30
|
method: "DELETE",
|
|
23
31
|
path: "/v1/account",
|
|
24
32
|
description: "Permanently delete the account and all associated data. This is irreversible.",
|
|
33
|
+
annotations: {
|
|
34
|
+
destructiveHint: true,
|
|
35
|
+
readOnlyHint: false,
|
|
36
|
+
},
|
|
25
37
|
},
|
|
26
38
|
delete_listing: {
|
|
27
39
|
operationId: "delete_listing",
|
|
28
40
|
method: "DELETE",
|
|
29
41
|
path: "/v1/listings/{listing_id}",
|
|
30
|
-
description: "
|
|
42
|
+
description: "Permanently delete a listing. This is irreversible — the listing, its checkout URL, and all associated data cannot be recovered.",
|
|
43
|
+
annotations: {
|
|
44
|
+
destructiveHint: true,
|
|
45
|
+
readOnlyHint: false,
|
|
46
|
+
},
|
|
31
47
|
},
|
|
32
48
|
delete_webhook: {
|
|
33
49
|
operationId: "delete_webhook",
|
|
34
50
|
method: "DELETE",
|
|
35
51
|
path: "/v1/webhooks/{webhook_id}",
|
|
36
|
-
description: "
|
|
52
|
+
description: "Permanently delete a webhook endpoint. This is irreversible — the webhook and its delivery history cannot be recovered.",
|
|
53
|
+
annotations: {
|
|
54
|
+
destructiveHint: true,
|
|
55
|
+
readOnlyHint: false,
|
|
56
|
+
},
|
|
37
57
|
},
|
|
38
58
|
disconnect_stripe: {
|
|
39
59
|
operationId: "disconnect_stripe",
|
|
40
60
|
method: "DELETE",
|
|
41
61
|
path: "/v1/account/stripe",
|
|
42
|
-
description: "Disconnect the Stripe account from ListBee. Existing listings retain their payment snapshot but new checkouts will fail.",
|
|
62
|
+
description: "Disconnect the Stripe account from ListBee. This cannot be undone — you will need to re-onboard through Stripe Connect. Existing listings retain their payment snapshot but new checkouts will fail.",
|
|
63
|
+
annotations: {
|
|
64
|
+
destructiveHint: true,
|
|
65
|
+
readOnlyHint: false,
|
|
66
|
+
},
|
|
43
67
|
},
|
|
44
68
|
fulfill_order: {
|
|
45
69
|
operationId: "fulfill_order",
|
|
46
70
|
method: "POST",
|
|
47
71
|
path: "/v1/orders/{order_id}/fulfill",
|
|
48
72
|
description: "Fulfill an order. Include deliverables (file/url/text) to deliver digital content via ListBee — creates an access grant and emails the buyer. Omit deliverables to mark the order as complete without delivering content (for externally fulfilled orders).",
|
|
73
|
+
annotations: {
|
|
74
|
+
destructiveHint: false,
|
|
75
|
+
readOnlyHint: false,
|
|
76
|
+
},
|
|
49
77
|
},
|
|
50
78
|
get_account: {
|
|
51
79
|
operationId: "get_account",
|
|
52
80
|
method: "GET",
|
|
53
81
|
path: "/v1/account",
|
|
54
82
|
description: "Get the authenticated account's full state including readiness and billing status. This is the first call an agent should make to understand what's set up.",
|
|
83
|
+
annotations: {
|
|
84
|
+
destructiveHint: false,
|
|
85
|
+
idempotentHint: true,
|
|
86
|
+
readOnlyHint: true,
|
|
87
|
+
},
|
|
55
88
|
},
|
|
56
89
|
get_customer: {
|
|
57
90
|
operationId: "get_customer",
|
|
58
91
|
method: "GET",
|
|
59
92
|
path: "/v1/customers/{customer_id}",
|
|
60
93
|
description: "Get a customer by ID. Shows total orders, total spent, currency, and purchase dates. Customers represent unique buyer emails that have purchased from the seller.",
|
|
94
|
+
annotations: {
|
|
95
|
+
destructiveHint: false,
|
|
96
|
+
idempotentHint: true,
|
|
97
|
+
readOnlyHint: true,
|
|
98
|
+
},
|
|
61
99
|
},
|
|
62
100
|
get_listing: {
|
|
63
101
|
operationId: "get_listing",
|
|
64
102
|
method: "GET",
|
|
65
103
|
path: "/v1/listings/{listing_id}",
|
|
66
104
|
description: "Get a listing's full state including readiness. This is the readiness inspection tool — call it after every change to check what's needed.",
|
|
105
|
+
annotations: {
|
|
106
|
+
destructiveHint: false,
|
|
107
|
+
idempotentHint: true,
|
|
108
|
+
readOnlyHint: true,
|
|
109
|
+
},
|
|
67
110
|
},
|
|
68
111
|
get_order: {
|
|
69
112
|
operationId: "get_order",
|
|
70
113
|
method: "GET",
|
|
71
114
|
path: "/v1/orders/{order_id}",
|
|
72
|
-
description: "Get a single order by ID. Order lifecycle: PENDING → PAID → FULFILLED.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
description: "Get the current store's brand info (display_name, bio, avatar, slug) and readiness. Store is determined by your API key — each key belongs to one store.",
|
|
115
|
+
description: "Get a single order by ID. Order lifecycle: PENDING → PAID → FULFILLED. Check has_deliverables to determine fulfillment mode: if true, content was auto-delivered on payment (order is already FULFILLED). If false, the order stays PAID — call POST /v1/orders/{order_id}/fulfill to deliver content via ListBee, or handle delivery externally via the order.paid webhook. Use readiness.next to determine the recommended next action.",
|
|
116
|
+
annotations: {
|
|
117
|
+
destructiveHint: false,
|
|
118
|
+
idempotentHint: true,
|
|
119
|
+
readOnlyHint: true,
|
|
120
|
+
},
|
|
79
121
|
},
|
|
80
122
|
list_customers: {
|
|
81
123
|
operationId: "list_customers",
|
|
82
124
|
method: "GET",
|
|
83
125
|
path: "/v1/customers",
|
|
84
126
|
description: "List all customers (buyers) who have purchased from the seller. Auto-populated from orders — no manual creation needed. Sorted by most recent purchase first. Filter by email for exact match lookup.",
|
|
127
|
+
annotations: {
|
|
128
|
+
destructiveHint: false,
|
|
129
|
+
idempotentHint: true,
|
|
130
|
+
readOnlyHint: true,
|
|
131
|
+
},
|
|
85
132
|
},
|
|
86
133
|
list_listings: {
|
|
87
134
|
operationId: "list_listings",
|
|
88
135
|
method: "GET",
|
|
89
136
|
path: "/v1/listings",
|
|
90
|
-
description: "List all listings for the authenticated account. Filter by status. Cursor-paginated.
|
|
137
|
+
description: "List all listings for the authenticated account. Filter by status. Cursor-paginated. Returns lightweight summaries — use GET /v1/listings/{listing_id} for full detail including deliverables, readiness, reviews, and checkout schema.",
|
|
138
|
+
annotations: {
|
|
139
|
+
destructiveHint: false,
|
|
140
|
+
idempotentHint: true,
|
|
141
|
+
readOnlyHint: true,
|
|
142
|
+
},
|
|
91
143
|
},
|
|
92
144
|
list_orders: {
|
|
93
145
|
operationId: "list_orders",
|
|
94
146
|
method: "GET",
|
|
95
147
|
path: "/v1/orders",
|
|
96
|
-
description: "List orders for the authenticated account. Filter by status, listing, and date range. Paginated.
|
|
148
|
+
description: "List orders for the authenticated account. Filter by status, listing, and date range. Paginated. Returns lightweight summaries — use GET /v1/orders/{order_id} for full detail including deliverables, readiness, checkout_data, and Stripe payment intent. Order lifecycle: PENDING → PAID → FULFILLED. Terminal: CANCELED, FAILED.",
|
|
149
|
+
annotations: {
|
|
150
|
+
destructiveHint: false,
|
|
151
|
+
idempotentHint: true,
|
|
152
|
+
readOnlyHint: true,
|
|
153
|
+
},
|
|
97
154
|
},
|
|
98
155
|
list_webhook_events: {
|
|
99
156
|
operationId: "list_webhook_events",
|
|
100
157
|
method: "GET",
|
|
101
158
|
path: "/v1/webhooks/{webhook_id}/events",
|
|
102
159
|
description: "List recent events for a webhook. Shows delivery status, attempts, and errors. Useful for debugging failed deliveries.",
|
|
160
|
+
annotations: {
|
|
161
|
+
destructiveHint: false,
|
|
162
|
+
idempotentHint: true,
|
|
163
|
+
readOnlyHint: true,
|
|
164
|
+
},
|
|
103
165
|
},
|
|
104
166
|
list_webhooks: {
|
|
105
167
|
operationId: "list_webhooks",
|
|
106
168
|
method: "GET",
|
|
107
169
|
path: "/v1/webhooks",
|
|
108
170
|
description: "List all webhooks for the account. Shows URL, events filter, and enabled status.",
|
|
171
|
+
annotations: {
|
|
172
|
+
destructiveHint: false,
|
|
173
|
+
idempotentHint: true,
|
|
174
|
+
readOnlyHint: true,
|
|
175
|
+
},
|
|
109
176
|
},
|
|
110
177
|
publish_listing: {
|
|
111
178
|
operationId: "publish_listing",
|
|
112
179
|
method: "POST",
|
|
113
180
|
path: "/v1/listings/{listing_id}/publish",
|
|
114
181
|
description: "Publish a listing so buyers can access the product page. No Stripe required — the product page goes live immediately. The buy button activates once Stripe is connected.",
|
|
182
|
+
annotations: {
|
|
183
|
+
destructiveHint: false,
|
|
184
|
+
readOnlyHint: false,
|
|
185
|
+
},
|
|
115
186
|
},
|
|
116
187
|
refund_order: {
|
|
117
188
|
operationId: "refund_order",
|
|
118
189
|
method: "POST",
|
|
119
190
|
path: "/v1/orders/{order_id}/refund",
|
|
120
|
-
description: "Issue a full refund for an order. Refund is processed through Stripe on the seller's connected account. Idempotent — already-refunded orders return as-is. Order state (refund_amount, refunded_at) updates asynchronously via Stripe webhook.",
|
|
191
|
+
description: "Issue a full refund for an order. This is irreversible and cannot be undone. Refund is processed through Stripe on the seller's connected account. Idempotent — already-refunded orders return as-is. Order state (refund_amount, refunded_at) updates asynchronously via Stripe webhook.",
|
|
192
|
+
annotations: {
|
|
193
|
+
destructiveHint: true,
|
|
194
|
+
idempotentHint: true,
|
|
195
|
+
readOnlyHint: false,
|
|
196
|
+
},
|
|
121
197
|
},
|
|
122
198
|
remove_deliverables: {
|
|
123
199
|
operationId: "remove_deliverables",
|
|
124
200
|
method: "DELETE",
|
|
125
201
|
path: "/v1/listings/{listing_id}/deliverables",
|
|
126
|
-
description: "Remove all deliverables from a
|
|
202
|
+
description: "Remove all deliverables from a listing. This is irreversible — the files and delivery configuration cannot be recovered. The listing switches to external fulfillment (webhook or agent callback).",
|
|
203
|
+
annotations: {
|
|
204
|
+
destructiveHint: true,
|
|
205
|
+
readOnlyHint: false,
|
|
206
|
+
},
|
|
127
207
|
},
|
|
128
208
|
retry_webhook_event: {
|
|
129
209
|
operationId: "retry_webhook_event",
|
|
130
210
|
method: "POST",
|
|
131
211
|
path: "/v1/webhooks/{webhook_id}/events/{event_id}/retry",
|
|
132
212
|
description: "Retry delivery of a failed webhook event. Resets attempt counter.",
|
|
213
|
+
annotations: {
|
|
214
|
+
destructiveHint: false,
|
|
215
|
+
openWorldHint: true,
|
|
216
|
+
readOnlyHint: false,
|
|
217
|
+
},
|
|
133
218
|
},
|
|
134
219
|
set_deliverables: {
|
|
135
220
|
operationId: "set_deliverables",
|
|
136
221
|
method: "PUT",
|
|
137
222
|
path: "/v1/listings/{listing_id}/deliverables",
|
|
138
223
|
description: "Set digital deliverables (files, URLs, or text) on a listing. Listings with deliverables auto-deliver to buyers on purchase.",
|
|
224
|
+
annotations: {
|
|
225
|
+
destructiveHint: false,
|
|
226
|
+
idempotentHint: true,
|
|
227
|
+
readOnlyHint: false,
|
|
228
|
+
},
|
|
139
229
|
},
|
|
140
230
|
start_stripe_connect: {
|
|
141
231
|
operationId: "start_stripe_connect",
|
|
142
232
|
method: "POST",
|
|
143
233
|
path: "/v1/account/stripe/connect",
|
|
144
234
|
description: "Start Stripe Connect onboarding. Returns a URL for the human to complete in a browser. Required before selling through Stripe.",
|
|
235
|
+
annotations: {
|
|
236
|
+
destructiveHint: false,
|
|
237
|
+
readOnlyHint: false,
|
|
238
|
+
},
|
|
145
239
|
},
|
|
146
240
|
test_webhook: {
|
|
147
241
|
operationId: "test_webhook",
|
|
148
242
|
method: "POST",
|
|
149
243
|
path: "/v1/webhooks/{webhook_id}/test",
|
|
150
244
|
description: "Send a test event to the webhook URL. Returns the delivery result. Use this to verify webhook configuration before going live.",
|
|
245
|
+
annotations: {
|
|
246
|
+
destructiveHint: false,
|
|
247
|
+
openWorldHint: true,
|
|
248
|
+
readOnlyHint: false,
|
|
249
|
+
},
|
|
151
250
|
},
|
|
152
251
|
update_account: {
|
|
153
252
|
operationId: "update_account",
|
|
154
253
|
method: "PUT",
|
|
155
254
|
path: "/v1/account",
|
|
156
|
-
description: "Update account settings
|
|
255
|
+
description: "Update account settings (GA tracking, notification preferences).",
|
|
256
|
+
annotations: {
|
|
257
|
+
destructiveHint: false,
|
|
258
|
+
idempotentHint: true,
|
|
259
|
+
readOnlyHint: false,
|
|
260
|
+
},
|
|
157
261
|
},
|
|
158
262
|
update_listing: {
|
|
159
263
|
operationId: "update_listing",
|
|
160
264
|
method: "PUT",
|
|
161
265
|
path: "/v1/listings/{listing_id}",
|
|
162
|
-
description: "Update listing fields.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
description: "Update store brand info. These appear on product pages and the store landing page.",
|
|
266
|
+
description: "Update listing fields. Returns updated listing with readiness.",
|
|
267
|
+
annotations: {
|
|
268
|
+
destructiveHint: false,
|
|
269
|
+
idempotentHint: true,
|
|
270
|
+
readOnlyHint: false,
|
|
271
|
+
},
|
|
169
272
|
},
|
|
170
273
|
update_webhook: {
|
|
171
274
|
operationId: "update_webhook",
|
|
172
275
|
method: "PUT",
|
|
173
276
|
path: "/v1/webhooks/{webhook_id}",
|
|
174
|
-
description: "Update a webhook endpoint. Only provided fields are changed.",
|
|
277
|
+
description: "Update a webhook endpoint URL, name, or subscribed events. Only provided fields are changed. Use POST /v1/webhooks/{webhook_id}/test to verify the updated endpoint receives events correctly.",
|
|
278
|
+
annotations: {
|
|
279
|
+
destructiveHint: false,
|
|
280
|
+
idempotentHint: true,
|
|
281
|
+
readOnlyHint: false,
|
|
282
|
+
},
|
|
175
283
|
},
|
|
176
284
|
upload_file: {
|
|
177
285
|
operationId: "upload_file",
|
|
178
286
|
method: "POST",
|
|
179
287
|
path: "/v1/files",
|
|
180
288
|
description: "Upload a file and receive a token for use in deliverables.",
|
|
289
|
+
annotations: {
|
|
290
|
+
destructiveHint: false,
|
|
291
|
+
openWorldHint: true,
|
|
292
|
+
readOnlyHint: false,
|
|
293
|
+
},
|
|
181
294
|
},
|
|
182
295
|
};
|
|
183
296
|
//# sourceMappingURL=meta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,wCAAwC;AACxC,oCAAoC;AACpC,yBAAyB;AACzB,yCAAyC;AACzC,2EAA2E;
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,wCAAwC;AACxC,oCAAoC;AACpC,yBAAyB;AACzB,yCAAyC;AACzC,2EAA2E;AAiB3E,MAAM,CAAC,MAAM,IAAI,GAA6B;IAC5C,cAAc,EAAE;QACd,WAAW,EAAE,gBAAgB;QAC7B,MAAM,EAAE,MA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,YAAY,EAAE,KAAK;SACpB;KACF;IACD,cAAc,EAAE;QACd,WAAW,EAAE,gBAAgB;QAC7B,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,2BAA2B;QACjC,WAAW,EAAE,gEAAgE;QAC7E,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,cAAc,EAAE,IAAI;YACpB,YAAY,EAAE,KAAK;SACpB;KACF;IACD,cAAc,EAAE;QACd,WAAW,EAAE,gBAAgB;QAC7B,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,2BAA2B;QACjC,WAAW,EAAE,gMAAgM;QAC7M,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,cAAc,EAAE,IAAI;YACpB,YAAY,EAAE,KAAK;SACpB;KACF;IACD,WAAW,EAAE;QACX,WAAW,EAAE,aAAa;QAC1B,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,4DAA4D;QACzE,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;KACF;CACF,CAAC"}
|
|
@@ -93,7 +93,6 @@ export declare const schemas: {
|
|
|
93
93
|
readonly get_order: z.ZodObject<{
|
|
94
94
|
order_id: z.ZodString;
|
|
95
95
|
}, z.core.$strict>;
|
|
96
|
-
readonly get_store: null;
|
|
97
96
|
readonly list_customers: z.ZodObject<{
|
|
98
97
|
email: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
99
98
|
created_after: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -130,7 +129,10 @@ export declare const schemas: {
|
|
|
130
129
|
cursor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
131
130
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
132
131
|
}, z.core.$strict>;
|
|
133
|
-
readonly list_webhooks:
|
|
132
|
+
readonly list_webhooks: z.ZodObject<{
|
|
133
|
+
cursor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
134
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
135
|
+
}, z.core.$strict>;
|
|
134
136
|
readonly publish_listing: z.ZodObject<{
|
|
135
137
|
listing_id: z.ZodString;
|
|
136
138
|
}, z.core.$strict>;
|
|
@@ -168,7 +170,6 @@ export declare const schemas: {
|
|
|
168
170
|
listing_id: z.ZodString;
|
|
169
171
|
fulfillment_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
170
172
|
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
171
|
-
slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
172
173
|
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
173
174
|
stock: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
174
175
|
checkout_schema: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
@@ -211,12 +212,6 @@ export declare const schemas: {
|
|
|
211
212
|
a: z.ZodString;
|
|
212
213
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
213
214
|
}, z.core.$strict>;
|
|
214
|
-
readonly update_store: z.ZodObject<{
|
|
215
|
-
display_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
216
|
-
bio: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
217
|
-
avatar: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
218
|
-
slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
219
|
-
}, z.core.$strict>;
|
|
220
215
|
readonly update_webhook: z.ZodObject<{
|
|
221
216
|
webhook_id: z.ZodString;
|
|
222
217
|
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/generated/schemas.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/generated/schemas.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BV,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,OAAO,OAAO,CAAC"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// source: openapi.json + mcp-tools.yaml
|
|
3
3
|
// Regenerate with: npm run generate
|
|
4
4
|
// openapi_version: 1.0.0
|
|
5
|
-
// generated_at: 2026-04-
|
|
6
|
-
// sha256:
|
|
5
|
+
// generated_at: 2026-04-16T20:02:29.090Z
|
|
6
|
+
// sha256: bab75a380c74083f72fd69bf8f031a39c1d38fc60efab07e66655a8b1a360bd5
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
// Tool name → Zod schema (null means the tool takes no inputs)
|
|
9
9
|
export const schemas = {
|
|
10
10
|
create_listing: z.object({ "checkout_schema": z.union([z.array(z.object({ "key": z.string().max(50).describe("Unique key for this field"), "type": z.enum(["text", "select", "date"]).describe("Types of fields that can be collected at checkout."), "label": z.string().max(100).describe("Label shown to buyer"), "required": z.boolean().describe("Whether this field is required").default(true), "options": z.union([z.array(z.string()).max(50), z.null()]).describe("Options for select fields").optional(), "sort_order": z.number().int().gte(0).describe("Display order. Lower values shown first. Fields with equal sort_order are ordered by position in the array.").default(0) }).describe("A field to collect from the buyer at checkout.")), z.null()]).describe("Custom fields to collect from the buyer at checkout (e.g. size, color, shipping address). Email is always collected.").optional(), "name": z.string().describe("Product name shown on the product page"), "fulfillment_url": z.union([z.string(), z.null()]).describe("Callback URL — ListBee POSTs an enriched payload here when someone buys this listing. Use for stateless agent fulfillment: metadata + checkout_data round-tripped in the callback. Must be HTTPS in production.").optional(), "price": z.number().int().gt(0).describe("Price in cents (smallest currency unit). Examples: $5 = 500, $29 = 2900, $99.99 = 9999."), "stock": z.union([z.number().int().gte(0), z.null()]).describe("Stock quantity. null = unlimited (default), 0 = out of stock, positive integer = sell N then stop. Auto-decrements on each order.").optional(), "description": z.union([z.string().max(5000), z.null()]).describe("Product description shown on the product page. Improves buyer conversion. Plain text, max 5000 chars.").optional(), "tagline": z.union([z.string().max(140), z.null()]).describe("Short tagline shown below the product name on the product page. Max 140 chars.").optional(), "highlights": z.union([z.array(z.string()), z.null()]).describe("Bullet-point features shown as badges on the product page. Max 10 items. Each should be short (2-4 words).").optional(), "cta": z.union([z.string().max(60), z.null()]).describe("Buy button text on the product page. Defaults to 'Buy Now' if omitted. Max 60 chars.").optional(), "cover": z.union([z.string(), z.null()]).describe("Cover image file token from POST /v1/files. Shown prominently on the product page. Recommended: 1200x630px.").optional(), "metadata": z.union([z.record(z.string(), z.any()), z.null()]).describe("Arbitrary key-value pairs forwarded in webhook event payloads. Use for your own tracking (campaign IDs, source tags).").optional(), "utm_source": z.union([z.string().max(100), z.null()]).describe("UTM source tag for Google Analytics. Defaults to 'listbee' if omitted").optional(), "utm_medium": z.union([z.string().max(100), z.null()]).describe("UTM medium tag for Google Analytics. Defaults to 'product_page' if omitted").optional(), "utm_campaign": z.union([z.string().max(100), z.null()]).describe("UTM campaign tag for Google Analytics. Defaults to the listing slug if omitted").optional(), "compare_at_price": z.union([z.number().int().gt(0), z.null()]).describe("Strikethrough price in cents (smallest currency unit). Must be greater than price. Examples: $39 = 3900.").optional(), "badges": z.union([z.array(z.string()), z.null()]).describe("Short promotional badges shown on the product page (e.g. 'Best seller', 'Limited time'). Max 10 items.").optional(), "cover_blur": z.enum(["true", "false", "auto"]).optional(), "rating": z.union([z.number(), z.null()]).describe("Seller-provided aggregate star rating (1-5). Shown on the product page. Values outside range clamped.").optional(), "rating_count": z.union([z.number().int().gte(0), z.null()]).describe("Seller-provided review or purchase count shown alongside the rating on the product page.").optional(), "reviews": z.union([z.array(z.object({ "name": z.string().max(100).describe("Reviewer display name"), "rating": z.number().describe("Star rating (1–5). Values outside this range are clamped automatically"), "content": z.string().max(1000).describe("Review body text") })), z.null()]).describe("Featured review cards shown on the product page. Seller-provided, not buyer-submitted. Max 10.").optional(), "faqs": z.union([z.array(z.object({ "q": z.string().max(200).describe("Question text"), "a": z.string().max(1000).describe("Answer text") })), z.null()]).describe("FAQ accordion shown on the product page. Answers common buyer questions. Max 10 items.").optional() }).describe("All optional display fields (name, description, tagline, highlights, cta, badges, cover, reviews, faqs) appear on the product page buyers see.").strict(),
|
|
11
|
-
create_webhook: z.object({ "name": z.string().describe("A name to help you identify this endpoint in the dashboard"), "url": z.string().url().min(1).max(2083).describe("The HTTPS URL that will receive POST requests for each event"), "events": z.array(z.enum(["order.paid", "order.fulfilled", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.published", "listing.out_of_stock", "listing.deleted", "customer.created"])).describe("Event types to subscribe to. Empty = all events. Available: order.paid, order.fulfilled, order.
|
|
11
|
+
create_webhook: z.object({ "name": z.string().describe("A name to help you identify this endpoint in the dashboard"), "url": z.string().url().min(1).max(2083).describe("The HTTPS URL that will receive POST requests for each event"), "events": z.array(z.enum(["order.paid", "order.fulfilled", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.published", "listing.out_of_stock", "listing.deleted", "customer.created"])).describe("Event types to subscribe to. Empty = all events. Available: order.paid, order.fulfilled, order.refunded, order.disputed, order.dispute_closed, order.canceled, listing.created, listing.updated, listing.published, listing.out_of_stock, listing.deleted, customer.created.").optional() }).strict(),
|
|
12
12
|
delete_account: null,
|
|
13
13
|
delete_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
|
|
14
14
|
delete_webhook: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID.") }).strict(),
|
|
@@ -18,12 +18,11 @@ export const schemas = {
|
|
|
18
18
|
get_customer: z.object({ "customer_id": z.string().describe("Customer ID.") }).strict(),
|
|
19
19
|
get_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
|
|
20
20
|
get_order: z.object({ "order_id": z.string().describe("Order ID (ord_ prefixed).") }).strict(),
|
|
21
|
-
get_store: null,
|
|
22
21
|
list_customers: z.object({ "email": z.union([z.string(), z.null()]).describe("Filter by exact buyer email address.").optional(), "created_after": z.union([z.string().datetime({ offset: true }), z.null()]).describe("Only customers created after this ISO 8601 datetime.").optional(), "created_before": z.union([z.string().datetime({ offset: true }), z.null()]).describe("Only customers created before this ISO 8601 datetime.").optional(), "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of customers to return.").default(20) }).strict(),
|
|
23
22
|
list_listings: z.object({ "status": z.union([z.enum(["draft", "published"]), z.null()]).describe("Filter by listing status.").optional(), "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of listings to return.").default(20) }).strict(),
|
|
24
23
|
list_orders: z.object({ "status": z.union([z.enum(["pending", "paid", "fulfilled", "canceled", "failed"]), z.null()]).describe("Filter orders by status.").optional(), "listing": z.union([z.string(), z.null()]).describe("Filter by listing ID (lst_ prefixed).").optional(), "buyer_email": z.union([z.string(), z.null()]).describe("Filter by exact buyer email address.").optional(), "created_after": z.union([z.string().datetime({ offset: true }), z.null()]).describe("Only orders created after this ISO 8601 datetime.").optional(), "created_before": z.union([z.string().datetime({ offset: true }), z.null()]).describe("Only orders created before this ISO 8601 datetime.").optional(), "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of orders to return.").default(20) }).strict(),
|
|
25
24
|
list_webhook_events: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID."), "delivered": z.union([z.boolean(), z.null()]).describe("Filter by delivery status. `true` for delivered, `false` for pending/failed.").optional(), "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of events to return.").default(20) }).strict(),
|
|
26
|
-
list_webhooks: null,
|
|
25
|
+
list_webhooks: z.object({ "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of webhooks to return.").default(20) }).strict(),
|
|
27
26
|
publish_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
|
|
28
27
|
refund_order: z.object({ "order_id": z.string().describe("Order ID (ord_ prefixed).") }).strict(),
|
|
29
28
|
remove_deliverables: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
|
|
@@ -32,8 +31,7 @@ export const schemas = {
|
|
|
32
31
|
start_stripe_connect: null,
|
|
33
32
|
test_webhook: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID.") }).strict(),
|
|
34
33
|
update_account: z.object({ "ga_measurement_id": z.union([z.string(), z.null()]).describe("Google Analytics 4 Measurement ID (G-XXXXXXXXXX). Set to null to remove").optional(), "notify_orders": z.union([z.boolean(), z.null()]).describe("Email me when I receive a new external order").optional() }).describe("Partial update for account settings.").strict(),
|
|
35
|
-
update_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed)."), "fulfillment_url": z.union([z.string(), z.null()]).describe("Callback URL — ListBee POSTs here on purchase. Set to null to remove. Updating this field rotates the fulfillment_secret.").optional(), "name": z.union([z.string(), z.null()]).describe("Product name").optional(), "
|
|
36
|
-
update_store: z.object({ "display_name": z.union([z.string(), z.null()]).describe("Store display name shown to buyers").optional(), "bio": z.union([z.string(), z.null()]).describe("Store bio shown on product pages").optional(), "avatar": z.union([z.string(), z.null()]).describe("File token from POST /v1/files with purpose=avatar. Upload an image first, then pass the file token here. Set to empty string to remove the avatar.").optional(), "slug": z.union([z.string().regex(new RegExp("^[a-z0-9][a-z0-9-]*[a-z0-9]$")).min(3).max(60), z.null()]).describe("URL-safe store slug used in checkout URLs. Must be 3-60 characters, start and end with alphanumeric, contain only lowercase letters, digits, and hyphens.").optional() }).strict(),
|
|
34
|
+
update_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed)."), "fulfillment_url": z.union([z.string(), z.null()]).describe("Callback URL — ListBee POSTs here on purchase. Set to null to remove. Updating this field rotates the fulfillment_secret.").optional(), "name": z.union([z.string(), z.null()]).describe("Product name").optional(), "price": z.union([z.number().int().gt(0), z.null()]).describe("Price in cents (smallest currency unit). Examples: $5 = 500, $29 = 2900, $99.99 = 9999.").optional(), "stock": z.union([z.number().int().gte(0), z.null()]).describe("Stock quantity. null = unlimited, 0 = out of stock, positive integer = sell N then stop.").optional(), "checkout_schema": z.union([z.array(z.object({ "key": z.string().max(50).describe("Unique key for this field"), "type": z.enum(["text", "select", "date"]).describe("Types of fields that can be collected at checkout."), "label": z.string().max(100).describe("Label shown to buyer"), "required": z.boolean().describe("Whether this field is required").default(true), "options": z.union([z.array(z.string()).max(50), z.null()]).describe("Options for select fields").optional(), "sort_order": z.number().int().gte(0).describe("Display order. Lower values shown first. Fields with equal sort_order are ordered by position in the array.").default(0) }).describe("A field to collect from the buyer at checkout.")), z.null()]).describe("Custom fields to collect from the buyer at checkout. Replaces existing schema.").optional(), "description": z.union([z.string().max(5000), z.null()]).describe("Product description shown on the product page. Improves buyer conversion. Plain text, max 5000 chars.").optional(), "tagline": z.union([z.string().max(140), z.null()]).describe("Short tagline shown below the product name on the product page. Max 140 chars.").optional(), "highlights": z.union([z.array(z.string()), z.null()]).describe("Bullet-point features shown as badges on the product page. Max 10 items. Each should be short (2-4 words).").optional(), "cta": z.union([z.string().max(60), z.null()]).describe("Buy button text on the product page. Defaults to 'Buy Now' if omitted. Max 60 chars.").optional(), "cover": z.union([z.string(), z.null()]).describe("Cover image file token from POST /v1/files. Shown prominently on the product page. Recommended: 1200x630px.").optional(), "metadata": z.union([z.record(z.string(), z.any()), z.null()]).describe("Arbitrary key-value pairs forwarded in webhook event payloads. Use for your own tracking (campaign IDs, source tags).").optional(), "utm_source": z.union([z.string().max(100), z.null()]).describe("UTM source tag for Google Analytics").optional(), "utm_medium": z.union([z.string().max(100), z.null()]).describe("UTM medium tag for Google Analytics").optional(), "utm_campaign": z.union([z.string().max(100), z.null()]).describe("UTM campaign tag for Google Analytics").optional(), "compare_at_price": z.union([z.number().int().gt(0), z.null()]).describe("Strikethrough price in cents (smallest currency unit). Must be greater than price. Examples: $39 = 3900.").optional(), "badges": z.union([z.array(z.string()), z.null()]).describe("Short promotional badges shown on the product page (e.g. 'Best seller', 'Limited time'). Max 10 items.").optional(), "cover_blur": z.union([z.enum(["true", "false", "auto"]), z.null()]).describe("Cover image blur mode. 'true' always blurs, 'false' never blurs, 'auto' blurs when deliverable is an image file.").optional(), "rating": z.union([z.number(), z.null()]).describe("Seller-provided aggregate star rating (1-5). Shown on the product page. Values outside range clamped.").optional(), "rating_count": z.union([z.number().int().gte(0), z.null()]).describe("Seller-provided review or purchase count shown alongside the rating on the product page.").optional(), "reviews": z.union([z.array(z.object({ "name": z.string().max(100).describe("Reviewer display name"), "rating": z.number().describe("Star rating (1–5). Values outside this range are clamped automatically"), "content": z.string().max(1000).describe("Review body text") })), z.null()]).describe("Featured review cards shown on the product page. Seller-provided, not buyer-submitted. Max 10.").optional(), "faqs": z.union([z.array(z.object({ "q": z.string().max(200).describe("Question text"), "a": z.string().max(1000).describe("Answer text") })), z.null()]).describe("FAQ accordion shown on the product page. Answers common buyer questions. Max 10 items.").optional() }).strict(),
|
|
37
35
|
update_webhook: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID."), "name": z.union([z.string(), z.null()]).describe("Display name").optional(), "url": z.union([z.string().url().min(1).max(2083), z.null()]).describe("HTTPS endpoint URL").optional(), "events": z.union([z.array(z.enum(["order.paid", "order.fulfilled", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.published", "listing.out_of_stock", "listing.deleted", "customer.created"])), z.null()]).describe("Replaces the current event subscriptions. Empty list subscribes to all events").optional(), "enabled": z.union([z.boolean(), z.null()]).describe("Set to `false` to pause delivery without deleting the endpoint").optional() }).strict(),
|
|
38
36
|
upload_file: null,
|
|
39
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/generated/schemas.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,wCAAwC;AACxC,oCAAoC;AACpC,yBAAyB;AACzB,yCAAyC;AACzC,2EAA2E;AAE3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+DAA+D;AAC/D,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAC,QAAQ,EAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,oDAAoD,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
|
package/dist/handlers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../src/handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAE3F,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../src/handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAE3F,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAqC5C,CAAC"}
|
package/dist/handlers.js
CHANGED
|
@@ -20,9 +20,6 @@ export const handlers = {
|
|
|
20
20
|
get_account: (c) => c.account.get(),
|
|
21
21
|
update_account: (c, a) => c.account.update(a),
|
|
22
22
|
delete_account: (c) => c.account.delete(),
|
|
23
|
-
// Store
|
|
24
|
-
get_store: async (c) => { const r = await c.get('/v1/store'); return r.json(); },
|
|
25
|
-
update_store: async (c, a) => { const r = await c.put('/v1/store', a); return r.json(); },
|
|
26
23
|
// Stripe
|
|
27
24
|
disconnect_stripe: (c) => c.stripe.disconnect(),
|
|
28
25
|
// Webhooks
|
package/dist/handlers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.js","sourceRoot":"","sources":["../src/handlers.ts"],"names":[],"mappings":"AAIA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MAAM,EAAE,UAAU,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,UAAoB,EAAE,CAAQ,CAAC,CAAC,CAAC,CAAC;IAC5H,cAAc,EAAO,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,UAAoB,CAAC;IACxE,mBAAmB,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,UAAoB,EAAE,CAAQ,CAAC,CAAC,CAAC,CAAC;IAChI,mBAAmB,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,UAAoB,EAAE,CAAC,CAAC,QAAkB,CAAC;IAClG,YAAY,EAAS,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,UAAoB,CAAC;CACvE,CAAC"}
|
package/dist/manifest.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export interface ToolAnnotations {
|
|
2
|
+
readOnlyHint?: boolean;
|
|
3
|
+
destructiveHint?: boolean;
|
|
4
|
+
idempotentHint?: boolean;
|
|
5
|
+
openWorldHint?: boolean;
|
|
6
|
+
}
|
|
1
7
|
export interface ToolMeta {
|
|
2
8
|
type: string;
|
|
3
9
|
operation_id: string;
|
|
@@ -5,6 +11,7 @@ export interface ToolMeta {
|
|
|
5
11
|
category: string;
|
|
6
12
|
priority: number;
|
|
7
13
|
status: string;
|
|
14
|
+
annotations?: ToolAnnotations;
|
|
8
15
|
requires_human?: boolean;
|
|
9
16
|
when_to_use: string;
|
|
10
17
|
description?: string;
|
package/dist/manifest.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAOD;;GAEG;AACH,wBAAgB,YAAY,IAAI,QAAQ,EAAE,CAOzC;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAMtE"}
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAOD;;GAEG;AACH,wBAAgB,YAAY,IAAI,QAAQ,EAAE,CAOzC;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAMtE"}
|
package/dist/manifest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,IAAI,MAAM,MAAM,CAAC;AA6BxB;;GAEG;AACH,MAAM,UAAU,YAAY;IAC1B,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1D,oCAAoC;IACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,gBAAgB,CAAC,CAAC;IAC5D,MAAM,GAAG,GAAG,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5C,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAiB,CAAC;IACjD,OAAO,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC;AAC7D,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,KAAiB;IAC7C,MAAM,GAAG,GAAG,IAAI,GAAG,EAAoB,CAAC;IACxC,KAAK,MAAM,CAAC,IAAI,KAAK,EAAE,CAAC;QACtB,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACrB,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAgCpE,UAAU,mBAAmB;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC1B;AAmCD;;GAEG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,SAAS,CAyFpE"}
|
package/dist/server.js
CHANGED
|
@@ -19,42 +19,6 @@ Golden path: create_listing → set_deliverables → get_listing (check readines
|
|
|
19
19
|
Always call get_listing after mutations to inspect readiness.
|
|
20
20
|
readiness.sellable tells you if the listing is live.
|
|
21
21
|
readiness.actions lists what's missing — kind:api means you can fix it, kind:human means the user must.`;
|
|
22
|
-
/**
|
|
23
|
-
* Annotation defaults per HTTP method pattern.
|
|
24
|
-
*/
|
|
25
|
-
function annotationsFor(name) {
|
|
26
|
-
if (name.startsWith("get_") || name.startsWith("list_")) {
|
|
27
|
-
return { readOnlyHint: true, destructiveHint: false, openWorldHint: false };
|
|
28
|
-
}
|
|
29
|
-
if (name.startsWith("delete_") || name === "remove_deliverables" || name === "disconnect_stripe") {
|
|
30
|
-
return {
|
|
31
|
-
readOnlyHint: false,
|
|
32
|
-
destructiveHint: true,
|
|
33
|
-
openWorldHint: false,
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
if (name.startsWith("update_") || name === "set_deliverables") {
|
|
37
|
-
return {
|
|
38
|
-
readOnlyHint: false,
|
|
39
|
-
destructiveHint: false,
|
|
40
|
-
idempotentHint: true,
|
|
41
|
-
openWorldHint: false,
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
if (name === "upload_file") {
|
|
45
|
-
return {
|
|
46
|
-
readOnlyHint: false,
|
|
47
|
-
destructiveHint: false,
|
|
48
|
-
openWorldHint: true,
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
// create, publish, stripe connect
|
|
52
|
-
return {
|
|
53
|
-
readOnlyHint: false,
|
|
54
|
-
destructiveHint: false,
|
|
55
|
-
openWorldHint: false,
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
22
|
// Manual override for upload_file: the API uses multipart upload but the MCP tool
|
|
59
23
|
// takes a URL + filename and handles the fetch-and-upload server-side.
|
|
60
24
|
const uploadFileSchema = z.object({
|
|
@@ -106,7 +70,7 @@ export function createServer(options) {
|
|
|
106
70
|
}
|
|
107
71
|
const description = buildDescription(meta);
|
|
108
72
|
const title = autoTitle(toolName);
|
|
109
|
-
const annotations =
|
|
73
|
+
const annotations = meta?.annotations ?? {};
|
|
110
74
|
// start_stripe_connect: special case — handler returns CallToolResult directly
|
|
111
75
|
if (toolName === "start_stripe_connect") {
|
|
112
76
|
server.registerTool(toolName, {
|
|
@@ -141,9 +105,8 @@ export function createServer(options) {
|
|
|
141
105
|
if (!allHandlers[name] && name !== "start_stripe_connect") {
|
|
142
106
|
throw new Error(`Startup validation failed: tool "${name}" has no handler registered`);
|
|
143
107
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
throw new Error(`Startup validation failed: tool "${name}" is missing readOnlyHint annotation`);
|
|
108
|
+
if (tool.annotations === undefined) {
|
|
109
|
+
throw new Error(`Startup validation failed: tool "${name}" is missing annotations in manifest`);
|
|
147
110
|
}
|
|
148
111
|
}
|
|
149
112
|
return server;
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,iCAAiC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,OAAO,EA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10
|
|
16
16
|
status: active
|
|
17
|
+
annotations:
|
|
18
|
+
readOnlyHint: false
|
|
19
|
+
destructiveHint: false
|
|
17
20
|
when_to_use: "Use when the user wants to sell something new."
|
|
18
21
|
description: >
|
|
19
22
|
Create a new listing for sale. Returns a checkout URL and readiness status.
|
|
@@ -46,6 +49,10 @@ tools:
|
|
|
46
49
|
category: listings
|
|
47
50
|
priority: 9
|
|
48
51
|
status: active
|
|
52
|
+
annotations:
|
|
53
|
+
readOnlyHint: true
|
|
54
|
+
destructiveHint: false
|
|
55
|
+
idempotentHint: true
|
|
49
56
|
when_to_use: "Use after any mutation (create, update, set_deliverables) to inspect readiness and determine what to do next."
|
|
50
57
|
description: >
|
|
51
58
|
Get a listing's full state including readiness. This is the readiness
|
|
@@ -62,7 +69,13 @@ tools:
|
|
|
62
69
|
category: listings
|
|
63
70
|
priority: 9
|
|
64
71
|
status: active
|
|
72
|
+
annotations:
|
|
73
|
+
readOnlyHint: false
|
|
74
|
+
destructiveHint: false
|
|
75
|
+
idempotentHint: true
|
|
65
76
|
when_to_use: "Use when changing title, price, or other listing details."
|
|
77
|
+
description: >
|
|
78
|
+
Update listing fields. Returns updated listing with readiness.
|
|
66
79
|
input_example:
|
|
67
80
|
name: "100 Cold Outreach Templates (Updated)"
|
|
68
81
|
price: 2900
|
|
@@ -73,6 +86,10 @@ tools:
|
|
|
73
86
|
category: listings
|
|
74
87
|
priority: 7
|
|
75
88
|
status: active
|
|
89
|
+
annotations:
|
|
90
|
+
readOnlyHint: true
|
|
91
|
+
destructiveHint: false
|
|
92
|
+
idempotentHint: true
|
|
76
93
|
when_to_use: "Use to see all listings for the current account."
|
|
77
94
|
|
|
78
95
|
- type: operation
|
|
@@ -81,6 +98,9 @@ tools:
|
|
|
81
98
|
category: listings
|
|
82
99
|
priority: 10
|
|
83
100
|
status: active
|
|
101
|
+
annotations:
|
|
102
|
+
readOnlyHint: false
|
|
103
|
+
destructiveHint: false
|
|
84
104
|
when_to_use: "Use when the user wants the listing to go live."
|
|
85
105
|
description: >
|
|
86
106
|
Publish a listing so buyers can access the product page.
|
|
@@ -96,6 +116,10 @@ tools:
|
|
|
96
116
|
category: listings
|
|
97
117
|
priority: 9
|
|
98
118
|
status: active
|
|
119
|
+
annotations:
|
|
120
|
+
readOnlyHint: false
|
|
121
|
+
destructiveHint: false
|
|
122
|
+
idempotentHint: true
|
|
99
123
|
when_to_use: "Use after creating a listing to attach digital content for automatic delivery."
|
|
100
124
|
description: >
|
|
101
125
|
Set digital deliverables (files, URLs, or text) on a listing.
|
|
@@ -112,7 +136,14 @@ tools:
|
|
|
112
136
|
category: listings
|
|
113
137
|
priority: 3
|
|
114
138
|
status: active
|
|
139
|
+
annotations:
|
|
140
|
+
readOnlyHint: false
|
|
141
|
+
destructiveHint: true
|
|
115
142
|
when_to_use: "Use when removing all deliverables from a listing (switches to agent-fulfilled or webhook delivery)."
|
|
143
|
+
description: >
|
|
144
|
+
Remove all deliverables from a listing. This is irreversible — the files
|
|
145
|
+
and delivery configuration cannot be recovered. The listing switches to
|
|
146
|
+
external fulfillment (webhook or agent callback).
|
|
116
147
|
|
|
117
148
|
- type: operation
|
|
118
149
|
operation_id: delete_listing
|
|
@@ -120,7 +151,13 @@ tools:
|
|
|
120
151
|
category: listings
|
|
121
152
|
priority: 2
|
|
122
153
|
status: active
|
|
154
|
+
annotations:
|
|
155
|
+
readOnlyHint: false
|
|
156
|
+
destructiveHint: true
|
|
123
157
|
when_to_use: "Use when the user wants to permanently remove a listing."
|
|
158
|
+
description: >
|
|
159
|
+
Permanently delete a listing. This is irreversible — the listing, its
|
|
160
|
+
checkout URL, and all associated data cannot be recovered.
|
|
124
161
|
|
|
125
162
|
# --- Files ---
|
|
126
163
|
- type: operation
|
|
@@ -129,6 +166,10 @@ tools:
|
|
|
129
166
|
category: files
|
|
130
167
|
priority: 8
|
|
131
168
|
status: active
|
|
169
|
+
annotations:
|
|
170
|
+
readOnlyHint: false
|
|
171
|
+
destructiveHint: false
|
|
172
|
+
openWorldHint: true
|
|
132
173
|
when_to_use: "Use when the user has a file to sell. Upload first, then use the returned token in set_deliverables."
|
|
133
174
|
description: >
|
|
134
175
|
Upload a file and receive a token for use in deliverables.
|
|
@@ -142,6 +183,10 @@ tools:
|
|
|
142
183
|
category: orders
|
|
143
184
|
priority: 7
|
|
144
185
|
status: active
|
|
186
|
+
annotations:
|
|
187
|
+
readOnlyHint: true
|
|
188
|
+
destructiveHint: false
|
|
189
|
+
idempotentHint: true
|
|
145
190
|
when_to_use: "Use when the user wants to see their sales or check order status."
|
|
146
191
|
|
|
147
192
|
- type: operation
|
|
@@ -150,6 +195,10 @@ tools:
|
|
|
150
195
|
category: orders
|
|
151
196
|
priority: 6
|
|
152
197
|
status: active
|
|
198
|
+
annotations:
|
|
199
|
+
readOnlyHint: true
|
|
200
|
+
destructiveHint: false
|
|
201
|
+
idempotentHint: true
|
|
153
202
|
when_to_use: "Use to get full details of a specific order including buyer info and payment."
|
|
154
203
|
|
|
155
204
|
- type: operation
|
|
@@ -158,6 +207,9 @@ tools:
|
|
|
158
207
|
category: orders
|
|
159
208
|
priority: 8
|
|
160
209
|
status: active
|
|
210
|
+
annotations:
|
|
211
|
+
readOnlyHint: false
|
|
212
|
+
destructiveHint: false
|
|
161
213
|
when_to_use: "Use when you need to deliver digital content to a buyer after purchase, or close out an order as complete."
|
|
162
214
|
description: >
|
|
163
215
|
Fulfill an order. Include deliverables (file/url/text) to deliver digital content via ListBee —
|
|
@@ -179,10 +231,15 @@ tools:
|
|
|
179
231
|
category: orders
|
|
180
232
|
priority: 6
|
|
181
233
|
status: active
|
|
234
|
+
annotations:
|
|
235
|
+
readOnlyHint: false
|
|
236
|
+
destructiveHint: true
|
|
237
|
+
idempotentHint: true
|
|
182
238
|
when_to_use: "When a buyer requests a refund or the seller needs to reverse a charge. Only works on paid or fulfilled orders."
|
|
183
239
|
description: >
|
|
184
|
-
Issue a full refund for an order.
|
|
185
|
-
|
|
240
|
+
Issue a full refund for an order. This is irreversible and cannot be undone.
|
|
241
|
+
Refund is processed through Stripe on the seller's connected account.
|
|
242
|
+
Idempotent — already-refunded orders return as-is.
|
|
186
243
|
Order state (refund_amount, refunded_at) updates asynchronously via Stripe webhook.
|
|
187
244
|
hints:
|
|
188
245
|
- "Only works on orders in PAID or FULFILLED status"
|
|
@@ -198,6 +255,10 @@ tools:
|
|
|
198
255
|
category: customers
|
|
199
256
|
priority: 7
|
|
200
257
|
status: active
|
|
258
|
+
annotations:
|
|
259
|
+
readOnlyHint: true
|
|
260
|
+
destructiveHint: false
|
|
261
|
+
idempotentHint: true
|
|
201
262
|
when_to_use: "When the agent needs buyer email addresses for marketing, wants to analyze purchasing patterns, or needs to identify repeat customers."
|
|
202
263
|
description: >
|
|
203
264
|
List all customers (buyers) who have purchased from the seller. Auto-populated
|
|
@@ -214,6 +275,10 @@ tools:
|
|
|
214
275
|
category: customers
|
|
215
276
|
priority: 6
|
|
216
277
|
status: active
|
|
278
|
+
annotations:
|
|
279
|
+
readOnlyHint: true
|
|
280
|
+
destructiveHint: false
|
|
281
|
+
idempotentHint: true
|
|
217
282
|
when_to_use: "When the agent needs purchase history details for a specific buyer."
|
|
218
283
|
description: >
|
|
219
284
|
Get a customer by ID. Shows total orders, total spent, currency, and purchase dates.
|
|
@@ -228,6 +293,10 @@ tools:
|
|
|
228
293
|
category: account
|
|
229
294
|
priority: 8
|
|
230
295
|
status: active
|
|
296
|
+
annotations:
|
|
297
|
+
readOnlyHint: true
|
|
298
|
+
destructiveHint: false
|
|
299
|
+
idempotentHint: true
|
|
231
300
|
when_to_use: "Use to check account status, readiness, billing, Stripe connection, and profile details."
|
|
232
301
|
description: >
|
|
233
302
|
Get the authenticated account's full state including readiness and billing status.
|
|
@@ -243,10 +312,13 @@ tools:
|
|
|
243
312
|
category: account
|
|
244
313
|
priority: 5
|
|
245
314
|
status: active
|
|
315
|
+
annotations:
|
|
316
|
+
readOnlyHint: false
|
|
317
|
+
destructiveHint: false
|
|
318
|
+
idempotentHint: true
|
|
246
319
|
when_to_use: "Use to update account-level settings (GA tracking, notification preferences)."
|
|
247
320
|
description: >
|
|
248
|
-
Update account settings
|
|
249
|
-
not the Account. Use update_store for branding.
|
|
321
|
+
Update account settings (GA tracking, notification preferences).
|
|
250
322
|
|
|
251
323
|
- type: operation
|
|
252
324
|
operation_id: delete_account
|
|
@@ -254,41 +326,15 @@ tools:
|
|
|
254
326
|
category: account
|
|
255
327
|
priority: 1
|
|
256
328
|
status: active
|
|
329
|
+
annotations:
|
|
330
|
+
readOnlyHint: false
|
|
331
|
+
destructiveHint: true
|
|
257
332
|
when_to_use: "Use only when the user explicitly wants to permanently delete their account."
|
|
258
333
|
description: >
|
|
259
334
|
Permanently delete the account and all associated data. This is irreversible.
|
|
260
335
|
hints:
|
|
261
336
|
- "This is destructive and irreversible — confirm with the user first"
|
|
262
337
|
|
|
263
|
-
# --- Store ---
|
|
264
|
-
- type: operation
|
|
265
|
-
operation_id: get_store
|
|
266
|
-
name: get_store
|
|
267
|
-
category: store
|
|
268
|
-
priority: 9
|
|
269
|
-
status: active
|
|
270
|
-
when_to_use: "Use to check your store's brand info and sellability status."
|
|
271
|
-
description: >
|
|
272
|
-
Get the current store's brand info (display_name, bio, avatar, slug) and
|
|
273
|
-
readiness. Store is determined by your API key — each key belongs to one store.
|
|
274
|
-
hints:
|
|
275
|
-
- "readiness.sellable tells you if listings can accept payment"
|
|
276
|
-
- "If not sellable, readiness.actions tells you what's needed (usually Stripe)"
|
|
277
|
-
- "store.url is the store landing page where all your listings appear"
|
|
278
|
-
|
|
279
|
-
- type: operation
|
|
280
|
-
operation_id: update_store
|
|
281
|
-
name: update_store
|
|
282
|
-
category: store
|
|
283
|
-
priority: 5
|
|
284
|
-
status: active
|
|
285
|
-
when_to_use: "Use to update your store's brand — display name, bio, avatar, or slug."
|
|
286
|
-
description: >
|
|
287
|
-
Update store brand info. These appear on product pages and the store landing page.
|
|
288
|
-
input_example:
|
|
289
|
-
display_name: "AI Guides"
|
|
290
|
-
bio: "Premium guides for modern marketing"
|
|
291
|
-
|
|
292
338
|
# --- Stripe ---
|
|
293
339
|
- type: operation
|
|
294
340
|
operation_id: start_stripe_connect
|
|
@@ -296,6 +342,9 @@ tools:
|
|
|
296
342
|
category: stripe
|
|
297
343
|
priority: 10
|
|
298
344
|
status: active
|
|
345
|
+
annotations:
|
|
346
|
+
readOnlyHint: false
|
|
347
|
+
destructiveHint: false
|
|
299
348
|
requires_human: true
|
|
300
349
|
when_to_use: "Use when readiness says Stripe is not connected. Returns a URL the human must visit."
|
|
301
350
|
description: >
|
|
@@ -311,10 +360,14 @@ tools:
|
|
|
311
360
|
category: stripe
|
|
312
361
|
priority: 2
|
|
313
362
|
status: active
|
|
363
|
+
annotations:
|
|
364
|
+
readOnlyHint: false
|
|
365
|
+
destructiveHint: true
|
|
314
366
|
when_to_use: "Use when the user wants to disconnect their Stripe account."
|
|
315
367
|
description: >
|
|
316
|
-
Disconnect the Stripe account from ListBee.
|
|
317
|
-
|
|
368
|
+
Disconnect the Stripe account from ListBee. This cannot be undone —
|
|
369
|
+
you will need to re-onboard through Stripe Connect. Existing listings
|
|
370
|
+
retain their payment snapshot but new checkouts will fail.
|
|
318
371
|
hints:
|
|
319
372
|
- "This doesn't delete the Stripe account — just disconnects it from ListBee"
|
|
320
373
|
|
|
@@ -325,6 +378,10 @@ tools:
|
|
|
325
378
|
category: webhooks
|
|
326
379
|
priority: 7
|
|
327
380
|
status: active
|
|
381
|
+
annotations:
|
|
382
|
+
readOnlyHint: true
|
|
383
|
+
destructiveHint: false
|
|
384
|
+
idempotentHint: true
|
|
328
385
|
when_to_use: "Use to see configured webhooks and their delivery status."
|
|
329
386
|
description: >
|
|
330
387
|
List all webhooks for the account. Shows URL, events filter, and enabled status.
|
|
@@ -335,6 +392,9 @@ tools:
|
|
|
335
392
|
category: webhooks
|
|
336
393
|
priority: 8
|
|
337
394
|
status: active
|
|
395
|
+
annotations:
|
|
396
|
+
readOnlyHint: false
|
|
397
|
+
destructiveHint: false
|
|
338
398
|
when_to_use: "Use when the user needs to receive order notifications at a URL."
|
|
339
399
|
description: >
|
|
340
400
|
Create a webhook endpoint. Specify the URL and which events to receive.
|
|
@@ -353,6 +413,10 @@ tools:
|
|
|
353
413
|
category: webhooks
|
|
354
414
|
priority: 5
|
|
355
415
|
status: active
|
|
416
|
+
annotations:
|
|
417
|
+
readOnlyHint: false
|
|
418
|
+
destructiveHint: false
|
|
419
|
+
idempotentHint: true
|
|
356
420
|
when_to_use: "Use to change a webhook's URL, events filter, or enabled status."
|
|
357
421
|
|
|
358
422
|
- type: operation
|
|
@@ -361,7 +425,13 @@ tools:
|
|
|
361
425
|
category: webhooks
|
|
362
426
|
priority: 3
|
|
363
427
|
status: active
|
|
428
|
+
annotations:
|
|
429
|
+
readOnlyHint: false
|
|
430
|
+
destructiveHint: true
|
|
364
431
|
when_to_use: "Use to remove a webhook endpoint."
|
|
432
|
+
description: >
|
|
433
|
+
Permanently delete a webhook endpoint. This is irreversible — the webhook
|
|
434
|
+
and its delivery history cannot be recovered.
|
|
365
435
|
|
|
366
436
|
- type: operation
|
|
367
437
|
operation_id: list_webhook_events
|
|
@@ -369,6 +439,10 @@ tools:
|
|
|
369
439
|
category: webhooks
|
|
370
440
|
priority: 5
|
|
371
441
|
status: active
|
|
442
|
+
annotations:
|
|
443
|
+
readOnlyHint: true
|
|
444
|
+
destructiveHint: false
|
|
445
|
+
idempotentHint: true
|
|
372
446
|
when_to_use: "Use to check webhook delivery history — see which events were sent and whether they succeeded."
|
|
373
447
|
description: >
|
|
374
448
|
List recent events for a webhook. Shows delivery status, attempts, and errors.
|
|
@@ -380,6 +454,10 @@ tools:
|
|
|
380
454
|
category: webhooks
|
|
381
455
|
priority: 4
|
|
382
456
|
status: active
|
|
457
|
+
annotations:
|
|
458
|
+
readOnlyHint: false
|
|
459
|
+
destructiveHint: false
|
|
460
|
+
openWorldHint: true
|
|
383
461
|
when_to_use: "Use when a webhook delivery failed and needs to be retried."
|
|
384
462
|
description: >
|
|
385
463
|
Retry delivery of a failed webhook event. Resets attempt counter.
|
|
@@ -390,6 +468,10 @@ tools:
|
|
|
390
468
|
category: webhooks
|
|
391
469
|
priority: 5
|
|
392
470
|
status: active
|
|
471
|
+
annotations:
|
|
472
|
+
readOnlyHint: false
|
|
473
|
+
destructiveHint: false
|
|
474
|
+
openWorldHint: true
|
|
393
475
|
when_to_use: "Use to send a test event to a webhook URL to verify it's working."
|
|
394
476
|
description: >
|
|
395
477
|
Send a test event to the webhook URL. Returns the delivery result.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "listbee-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "MCP server for ListBee — commerce API for AI agents",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -19,12 +19,13 @@
|
|
|
19
19
|
"generate:check": "tsx scripts/generate.ts --check",
|
|
20
20
|
"build": "npm run generate && tsc && chmod +x dist/index.js",
|
|
21
21
|
"dev": "tsx src/index.ts",
|
|
22
|
+
"validate:annotations": "tsx scripts/validate-annotations.ts",
|
|
22
23
|
"lint": "npm run generate:check && tsc --noEmit",
|
|
23
24
|
"prepublishOnly": "npm run build"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
27
|
-
"listbee": "^0.
|
|
28
|
+
"listbee": "^0.18.0",
|
|
28
29
|
"yaml": "2.8.3",
|
|
29
30
|
"zod": "4.3.6"
|
|
30
31
|
},
|