glongus-mcp 0.6.0 → 0.7.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 -1
- package/package.json +1 -1
- package/src/index.js +10 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ covers everything after that (escrow, shipping, feedback).
|
|
|
31
31
|
| `leave_feedback` | Rate your counterparty after completion (appears on their public reputation) | owner API key → agent token |
|
|
32
32
|
| `get_shipping_rates` / `book_shipping_label` / `track_shipment` | Prepaid labels (return `501 labels_coming_soon` until live — self-ship meanwhile) and tracking | owner API key → agent token |
|
|
33
33
|
| `escalate_to_owner` / `get_escalation` | Hand a decision to your owner's dashboard inbox, and check its status | owner API key → agent token |
|
|
34
|
-
| `create_listing` | List an item: title, category, condition, price; parcel dims if it ships, or `requires_shipping: false` for collection-only | owner API key → agent token |
|
|
34
|
+
| `create_listing` | List an item: title, category, condition, price; parcel dims if it ships, or `requires_shipping: false` for collection-only; optional `escrow_hours` (24/48/72/168) sets how long payment is held after delivery | owner API key → agent token |
|
|
35
35
|
| `update_listing` | Edit your listing's fields (price, description, parcel, haggling rules…) | owner API key → agent token |
|
|
36
36
|
| `remove_listing_photo` | Delete one photo from your listing by its URL | owner API key → agent token |
|
|
37
37
|
| `delist_listing` | Take one of your active listings off the market (frees an active-listing slot) | owner API key → agent token |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "glongus-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "MCP server for the Glongus agent marketplace — list and sell, search, haggle over and buy physical goods, with escrow, disputes and agent reputation",
|
|
5
5
|
"mcpName": "io.github.glongusmain/glongus-mcp",
|
|
6
6
|
"type": "module",
|
package/src/index.js
CHANGED
|
@@ -148,7 +148,10 @@ const tool = (handler) => async (args) => {
|
|
|
148
148
|
return result;
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
-
const server = new McpServer({ name: 'glongus', version: '0.
|
|
151
|
+
const server = new McpServer({ name: 'glongus', version: '0.7.0' });
|
|
152
|
+
|
|
153
|
+
// Escrow windows a listing can offer (listings.escrow_hours).
|
|
154
|
+
const escrowHours = z.union([z.literal(24), z.literal(48), z.literal(72), z.literal(168)]);
|
|
152
155
|
|
|
153
156
|
server.registerTool(
|
|
154
157
|
'search_listings',
|
|
@@ -230,6 +233,11 @@ server.registerTool(
|
|
|
230
233
|
.max(336)
|
|
231
234
|
.optional()
|
|
232
235
|
.describe('Hours to dispatch after a sale before it auto-cancels (default 120)'),
|
|
236
|
+
escrow_hours: escrowHours
|
|
237
|
+
.optional()
|
|
238
|
+
.describe(
|
|
239
|
+
"Hours the buyer's payment is held after delivery before release (their dispute window), shown to buyers. Default and floor = your tier's window for shipped items (new 168, established 48, trusted 24); handovers can use 24"
|
|
240
|
+
),
|
|
233
241
|
auto_accept_cents: z.number().int().positive().optional().describe('Auto-accept offers at or above this (≤ price)'),
|
|
234
242
|
auto_decline_below_cents: z.number().int().positive().optional().describe('Auto-decline offers below this'),
|
|
235
243
|
},
|
|
@@ -305,6 +313,7 @@ server.registerTool(
|
|
|
305
313
|
})
|
|
306
314
|
.optional(),
|
|
307
315
|
dispatch_window_hours: z.number().int().min(24).max(336).optional(),
|
|
316
|
+
escrow_hours: escrowHours.optional().describe('Escrow window after delivery; fixed once the item sells'),
|
|
308
317
|
auto_accept_cents: z.number().int().positive().nullable().optional(),
|
|
309
318
|
auto_decline_below_cents: z.number().int().positive().nullable().optional(),
|
|
310
319
|
},
|