@gvnrdao/dh-mcp 0.5.17 → 0.5.19
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 +24 -32
- package/dist/boundary.js +577 -203
- package/dist/connector-embed.js +603 -349
- package/dist/connector.js +603 -349
- package/dist/index.js +586 -212
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,49 +6,41 @@ lending on a user's behalf, with a human approving every fund-moving step.
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
so there is **nothing to install first** (no Node, no npm):
|
|
9
|
+
Two paths, and **neither downloads a file**:
|
|
11
10
|
|
|
12
|
-
| You
|
|
11
|
+
| You want | How |
|
|
13
12
|
|---|---|
|
|
14
|
-
| **
|
|
15
|
-
| **
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
whether it is publicly served, and on which networks, is the operator's rollout decision
|
|
26
|
-
(security audit first) and is stated by the running deployment itself — its `guide
|
|
27
|
-
connector` topic and `boundary://info` capabilities. This file cannot know: if you have
|
|
28
|
-
not been given a URL, use the install paths above.
|
|
29
|
-
|
|
30
|
-
Unsigned-binary honesty: the macOS and Windows binaries are **not yet code-signed** —
|
|
31
|
-
macOS Gatekeeper may quarantine the download (right-click → Open, or
|
|
32
|
-
`xattr -d com.apple.quarantine <file>`) and Windows SmartScreen will warn. Verify the
|
|
33
|
-
`SHA256SUMS` file from the same release if in doubt. On macOS/Windows the `.mcpb` path
|
|
34
|
-
avoids this entirely.
|
|
13
|
+
| **The hosted connector** — nothing to install, no Node | Paste `https://mcp.diamondhands.credit/mcp` into any host that accepts a remote MCP server URL: claude.ai and Claude Desktop (Settings → Connectors → Add custom connector), Cursor, VS Code, Codex, Gemini CLI, OpenCode, Grok. Sign in with your wallet — OAuth 2.1 + Sign-In-with-Ethereum, dynamic client registration, so there is no client ID or secret to configure. **External-wallet signing only: that build has no keystore mode.** Serves **mainnet**. |
|
|
14
|
+
| **Run it yourself** — requires **Node ≥ 18 on PATH** | Claude Code: `claude mcp add diamond-hands -- npx -y @gvnrdao/dh-mcp` · any host JSON: `{ "mcpServers": { "diamond-hands": { "command": "npx", "args": ["-y", "@gvnrdao/dh-mcp"] } } }`. Defaults to **mainnet**, read-only until you configure a signer; keystore signing is available here, and `network_switch` (or `DH_NETWORK=sepolia`) moves you to the test network. |
|
|
15
|
+
|
|
16
|
+
Per-client setup instructions: <https://app.diamondhands.credit/connect>
|
|
17
|
+
|
|
18
|
+
> **There are no downloadable builds.** The self-contained binaries, the Claude Desktop
|
|
19
|
+
> `.mcpb` bundle, `install.sh` and `SHA256SUMS` under `assets.gvnr.xyz/dh-mcp` were
|
|
20
|
+
> **withdrawn on 2026-09-18** and every path there now returns 404. The hosted connector
|
|
21
|
+
> replaces them for machines without Node — including Claude Desktop, which takes a
|
|
22
|
+
> remote server URL directly — and `npx` replaces them everywhere else. Treat any
|
|
23
|
+
> surviving link to that host, anywhere, as stale.
|
|
35
24
|
|
|
36
25
|
**Troubleshooting `spawn npx ENOENT`:** your MCP host searched the system PATH and found
|
|
37
26
|
no `npx` — the machine has no Node.js (or the host, e.g. an Electron app, cannot see
|
|
38
27
|
your shell's version manager). That is the npx path's stated precondition, not a bug in
|
|
39
|
-
the server.
|
|
40
|
-
|
|
41
|
-
|
|
28
|
+
the server. Use the hosted connector instead: it needs no local runtime at all.
|
|
29
|
+
|
|
30
|
+
**Zero configuration boots the real protocol on ETHEREUM MAINNET** with public endpoints
|
|
31
|
+
— the same network the hosted connector serves, so a local install and a hosted one agree
|
|
32
|
+
about where your money is. It starts **read-only**: with no signer configured every write
|
|
33
|
+
answers with a setup invitation instead of acting, and moving value always needs a signer,
|
|
34
|
+
an explicit confirmation, and a fresh signature from your own wallet.
|
|
42
35
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
overridable by environment variables:
|
|
36
|
+
To rehearse on the test network, say so — `network_switch` takes you to sepolia in one
|
|
37
|
+
sentence, or set `DH_NETWORK=sepolia`. Everything is overridable by environment variable:
|
|
46
38
|
|
|
47
39
|
| Variable | Default | Meaning |
|
|
48
40
|
|---|---|---|
|
|
49
41
|
| `DH_ADAPTER` | `real` | `real` protocol, or `mock` (offline practice sandbox; needs `DH_MOCK_DB` + `DH_MOCK_LATENCY`) |
|
|
50
|
-
| `DH_NETWORK` | `
|
|
51
|
-
| `ETH_RPC_URL` |
|
|
42
|
+
| `DH_NETWORK` | `mainnet` | `mainnet` (REAL money — reads and writes both work out of the box) or `sepolia` (practice) |
|
|
43
|
+
| `ETH_RPC_URL` | our RPC proxy per network (`api.gvnr.xyz/v1/proxy/rpc/<chainId>` — dRPC upstream, keys held server-side, no credential needed here) | your own RPC if preferred |
|
|
52
44
|
| `DH_SERVICE_ENDPOINT` | per network | Diamond Hands ops service |
|
|
53
45
|
| `DH_KEYSTORE_PATH` + `DH_KEYSTORE_PASSWORD` | unset | optional: encrypted keystore for automatic signing (both or neither) |
|
|
54
46
|
|