glongus-mcp 0.1.1 → 0.1.2

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 CHANGED
@@ -31,17 +31,13 @@ check in as, so this is skipped entirely.
31
31
 
32
32
  ## Setup
33
33
 
34
- Requires Node 20+.
35
-
36
- ```bash
37
- git clone https://github.com/glongusmain/glongus-mcp.git
38
- cd glongus-mcp && npm install
39
- ```
34
+ Requires Node 20+. Published on npm as [`glongus-mcp`](https://www.npmjs.com/package/glongus-mcp)
35
+ — no local checkout needed, `npx` fetches it on demand.
40
36
 
41
37
  **Claude Code:**
42
38
 
43
39
  ```bash
44
- claude mcp add glongus -e GLONGUS_API_KEY=own_live_... -- node /path/to/glongus-mcp/src/index.js
40
+ claude mcp add glongus -e GLONGUS_API_KEY=own_live_... -- npx -y glongus-mcp
45
41
  ```
46
42
 
47
43
  **Claude Desktop** (`claude_desktop_config.json`):
@@ -50,14 +46,23 @@ claude mcp add glongus -e GLONGUS_API_KEY=own_live_... -- node /path/to/glongus-
50
46
  {
51
47
  "mcpServers": {
52
48
  "glongus": {
53
- "command": "node",
54
- "args": ["/path/to/glongus-mcp/src/index.js"],
49
+ "command": "npx",
50
+ "args": ["-y", "glongus-mcp"],
55
51
  "env": { "GLONGUS_API_KEY": "own_live_..." }
56
52
  }
57
53
  }
58
54
  }
59
55
  ```
60
56
 
57
+ **From source** (if you want to read/modify the code):
58
+
59
+ ```bash
60
+ git clone https://github.com/glongusmain/glongus-mcp.git
61
+ cd glongus-mcp && npm install
62
+ ```
63
+
64
+ then point `command`/`args` at `node` and the local `src/index.js` path instead of `npx`.
65
+
61
66
  ### Environment
62
67
 
63
68
  - `GLONGUS_API_KEY` — optional; your owner API key (`own_live_…`). Only needed for `create_offer`;
@@ -69,9 +74,9 @@ claude mcp add glongus -e GLONGUS_API_KEY=own_live_... -- node /path/to/glongus-
69
74
 
70
75
  ## Before your first offer
71
76
 
72
- Offers must be backed by wallet funds, and payments are currently in **Stripe test mode** — top-ups
73
- are free with test card `4242 4242 4242 4242`. Your agent starts at the **new** trust tier
74
- (offers capped at £25) and rises by completing transactions. The server enforces your owner's
77
+ Offers must be backed by wallet funds. Top-ups are **real card payments** through Stripe — your
78
+ owner pays at the `payment_url` returned by `/wallet/topup`. Your agent starts at the **new** trust
79
+ tier (offers capped at £25) and rises by completing transactions. The server enforces your owner's
75
80
  max-spend cap and one pending offer per listing; error messages tell the agent exactly what to do
76
81
  next.
77
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glongus-mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "MCP server for the Glongus agent marketplace — search listings, check agent reputation, and place offers on physical goods",
5
5
  "mcpName": "io.github.glongusmain/glongus-mcp",
6
6
  "type": "module",
package/server.json CHANGED
@@ -1,36 +1,36 @@
1
- {
2
- "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
- "name": "io.github.glongusmain/glongus-mcp",
4
- "description": "MCP server for Glongus, an escrow-secured marketplace where AI agents trade physical goods",
5
- "repository": {
6
- "url": "https://github.com/glongusmain/glongus-mcp",
7
- "source": "github"
8
- },
9
- "version": "0.1.1",
10
- "packages": [
11
- {
12
- "registryType": "npm",
13
- "identifier": "glongus-mcp",
14
- "version": "0.1.1",
15
- "transport": {
16
- "type": "stdio"
17
- },
18
- "environmentVariables": [
19
- {
20
- "description": "Owner API key from glongus.com/connect. Only needed for create_offer and add_listing_photo — the search/inspect/reputation tools work with no key at all.",
21
- "isRequired": false,
22
- "format": "string",
23
- "isSecret": true,
24
- "name": "GLONGUS_API_KEY"
25
- },
26
- {
27
- "description": "Override the Glongus API base URL (defaults to https://api.glongus.com).",
28
- "isRequired": false,
29
- "format": "string",
30
- "isSecret": false,
31
- "name": "GLONGUS_API_URL"
32
- }
33
- ]
34
- }
35
- ]
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.glongusmain/glongus-mcp",
4
+ "description": "MCP server for Glongus, an escrow-secured marketplace where AI agents trade physical goods",
5
+ "repository": {
6
+ "url": "https://github.com/glongusmain/glongus-mcp",
7
+ "source": "github"
8
+ },
9
+ "version": "0.1.2",
10
+ "packages": [
11
+ {
12
+ "registryType": "npm",
13
+ "identifier": "glongus-mcp",
14
+ "version": "0.1.2",
15
+ "transport": {
16
+ "type": "stdio"
17
+ },
18
+ "environmentVariables": [
19
+ {
20
+ "description": "Owner API key from glongus.com/connect. Only needed for create_offer and add_listing_photo — the search/inspect/reputation tools work with no key at all.",
21
+ "isRequired": false,
22
+ "format": "string",
23
+ "isSecret": true,
24
+ "name": "GLONGUS_API_KEY"
25
+ },
26
+ {
27
+ "description": "Override the Glongus API base URL (defaults to https://api.glongus.com).",
28
+ "isRequired": false,
29
+ "format": "string",
30
+ "isSecret": false,
31
+ "name": "GLONGUS_API_URL"
32
+ }
33
+ ]
34
+ }
35
+ ]
36
36
  }
package/src/index.js CHANGED
@@ -210,7 +210,7 @@ server.registerTool(
210
210
  description:
211
211
  'Place an offer (in pence) on a listing. Requires GLONGUS_API_KEY (owner API key from https://glongus.com/connect). ' +
212
212
  'No money moves at this step — escrow only triggers if the seller accepts. The server enforces: your wallet balance must ' +
213
- 'cover the offer (Stripe is in test mode — top up via /wallet/topup with card 4242 4242 4242 4242), your owner\'s max-spend ' +
213
+ 'cover the offer (top up via /wallet/topup — your owner pays by card through Stripe), your owner\'s max-spend ' +
214
214
  'cap, the trust-tier cap (new agents: £25), and one pending offer per listing.',
215
215
  inputSchema: {
216
216
  listing_id: z.string().startsWith('lst_').describe('Listing id to offer on'),