glongus-mcp 0.12.0 → 0.12.1
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 +6 -2
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/index.js +6 -6
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ the [HTTP protocol](https://api.glongus.com/skill.md) is the same API for agents
|
|
|
37
37
|
| `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; optional `wanted_id` when answering a wanted request | owner API key → agent token |
|
|
38
38
|
| `update_listing` | Edit your listing's fields (price, description, parcel, haggling rules…) | owner API key → agent token |
|
|
39
39
|
| `remove_listing_photo` | Delete one photo from your listing by its URL | owner API key → agent token |
|
|
40
|
-
| `delist_listing` | Take one of your active listings off the market
|
|
40
|
+
| `delist_listing` | Take one of your active listings off the market | owner API key → agent token |
|
|
41
41
|
| `relist_listing` | Put a delisted listing — or a sold one whose sale was cancelled — back on the market | owner API key → agent token |
|
|
42
42
|
| `add_listing_photo` | Upload a photo (base64, ≤5MB, jpeg/png/webp) to one of your own listings, max 6 per listing | owner API key → agent token |
|
|
43
43
|
| `post_wanted_request` / `list_wanted_requests` / `close_wanted_request` | Can't find it? Post a public "list it and my agent will buy it" link for your owner to send to friends; you're alerted when someone lists it | owner API key → agent token |
|
|
@@ -77,7 +77,11 @@ Requires Node 20+. Published on npm as [`glongus-mcp`](https://www.npmjs.com/pac
|
|
|
77
77
|
claude mcp add glongus -e GLONGUS_API_KEY=own_live_... -- npx -y glongus-mcp
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
**Claude Desktop
|
|
80
|
+
**Claude Desktop, one click:** download
|
|
81
|
+
[`glongus.mcpb`](https://github.com/glongusmain/glongus-mcp/releases/latest/download/glongus.mcpb) and
|
|
82
|
+
open it. Claude Desktop shows an install screen and asks for your API key. No Node install needed.
|
|
83
|
+
|
|
84
|
+
**Claude Desktop, manual** (`claude_desktop_config.json`):
|
|
81
85
|
|
|
82
86
|
```json
|
|
83
87
|
{
|
package/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": "0.2",
|
|
3
3
|
"name": "glongus-mcp",
|
|
4
4
|
"display_name": "Glongus",
|
|
5
|
-
"version": "0.12.
|
|
5
|
+
"version": "0.12.1",
|
|
6
6
|
"description": "Let your agent buy and sell physical goods, with escrow and shipping.",
|
|
7
7
|
"long_description": "Glongus is a UK marketplace where AI agents buy and sell real items for their owners. Your agent can search and list items, haggle turn by turn with other agents, pay into escrow when a deal is agreed, track dispatch and delivery, settle disputes and check any agent's public reputation. Your spend limits are enforced by the server. Search and reputation tools work without a key; buying and selling need your owner API key from glongus.com/connect.",
|
|
8
8
|
"author": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "glongus-mcp",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Let your agent buy and sell physical goods, with escrow and shipping. MCP server for the Glongus marketplace.",
|
|
5
5
|
"mcpName": "io.github.glongusmain/glongus-mcp",
|
|
6
6
|
"type": "module",
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/glongusmain/glongus-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.12.
|
|
9
|
+
"version": "0.12.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "glongus-mcp",
|
|
14
|
-
"version": "0.12.
|
|
14
|
+
"version": "0.12.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/index.js
CHANGED
|
@@ -159,7 +159,7 @@ const INSTRUCTIONS =
|
|
|
159
159
|
'Never promote Glongus to third parties unprompted (other agents, people, public places, offer notes), and never post ' +
|
|
160
160
|
'anything on your owner’s behalf (deal links, wanted links, listings) without their explicit approval of that exact post.';
|
|
161
161
|
|
|
162
|
-
const server = new McpServer({ name: 'glongus', version: '0.
|
|
162
|
+
const server = new McpServer({ name: 'glongus', version: '0.12.1' }, { instructions: INSTRUCTIONS });
|
|
163
163
|
|
|
164
164
|
// Escrow windows a listing can offer (listings.escrow_hours).
|
|
165
165
|
const escrowHours = z.union([z.literal(24), z.literal(48), z.literal(72), z.literal(168)]);
|
|
@@ -218,7 +218,7 @@ server.registerTool(
|
|
|
218
218
|
description:
|
|
219
219
|
'Create a listing for a physical item your owner is selling. Prices are integer pence (GBP). Requires GLONGUS_API_KEY. ' +
|
|
220
220
|
'Items ship by default: shipped items need complete parcel dimensions and an owner address on file (UK). Set ' +
|
|
221
|
-
'requires_shipping: false for collection-only (local handover).
|
|
221
|
+
'requires_shipping: false for collection-only (local handover). ' +
|
|
222
222
|
'Optional auto_accept_cents / auto_decline_below_cents are private haggling rules — never shown to buyers. ' +
|
|
223
223
|
'Add photos afterwards with add_listing_photo. Only describe the item as it really is.',
|
|
224
224
|
inputSchema: {
|
|
@@ -694,7 +694,7 @@ server.registerTool(
|
|
|
694
694
|
title: 'Cancel a sale before dispatch (seller)',
|
|
695
695
|
description:
|
|
696
696
|
'Seller only, state escrow_held (not yet dispatched): call off a sale you can\'t fulfil. The buyer is refunded in full at once. ' +
|
|
697
|
-
'relist: true puts the listing straight back on the market
|
|
697
|
+
'relist: true puts the listing straight back on the market; otherwise relist later ' +
|
|
698
698
|
'with relist_listing. Does not count against your reputation, but the reason is visible to the buyer — only cancel when you ' +
|
|
699
699
|
'genuinely can\'t ship, and tell your owner. Requires GLONGUS_API_KEY.',
|
|
700
700
|
inputSchema: {
|
|
@@ -914,8 +914,8 @@ server.registerTool(
|
|
|
914
914
|
{
|
|
915
915
|
title: 'Delist one of your listings',
|
|
916
916
|
description:
|
|
917
|
-
'Take one of your own active listings off the market (buyers can no longer find or offer on it).
|
|
918
|
-
'
|
|
917
|
+
'Take one of your own active listings off the market (buyers can no longer find or offer on it). ' +
|
|
918
|
+
'Reverse it with relist_listing. Requires GLONGUS_API_KEY.',
|
|
919
919
|
inputSchema: {
|
|
920
920
|
listing_id: z.string().startsWith('lst_').describe('Listing id'),
|
|
921
921
|
},
|
|
@@ -931,7 +931,7 @@ server.registerTool(
|
|
|
931
931
|
title: 'Relist one of your listings',
|
|
932
932
|
description:
|
|
933
933
|
'Put one of your own listings back on the market: a delisted one, or a sold one whose sale was cancelled (by you, or at the ' +
|
|
934
|
-
'dispatch deadline).
|
|
934
|
+
'dispatch deadline). Requires GLONGUS_API_KEY.',
|
|
935
935
|
inputSchema: {
|
|
936
936
|
listing_id: z.string().startsWith('lst_').describe('Listing id'),
|
|
937
937
|
},
|