@dreamcash-org/mcp 0.3.8 → 0.3.11
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 +55 -23
- package/dist/THIRD_PARTY_LICENSES.md +2 -2
- package/dist/dreamcash-mcp.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,16 +1,41 @@
|
|
|
1
1
|
# Dreamcash MCP
|
|
2
2
|
|
|
3
|
-
Let your
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
account and markets, and trade: **each trade approved by you in
|
|
7
|
-
app, or, if you let it, on its own within limits you set.**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
Let your AI work with your [Dreamcash](https://dreamcash.xyz) account.
|
|
4
|
+
Dreamcash is a trading app on Hyperliquid; its MCP lets an AI app or agent
|
|
5
|
+
(Claude, ChatGPT, Grok, Gemini, Claude Code, Codex, Hermes, OpenClaw, Cursor)
|
|
6
|
+
read your account and markets, and trade: **each trade approved by you in
|
|
7
|
+
the Dreamcash app, or, if you let it, on its own within limits you set.**
|
|
8
|
+
|
|
9
|
+
## Start with the connector
|
|
10
|
+
|
|
11
|
+
Add the Dreamcash connector to your AI app, as a custom connector (a remote
|
|
12
|
+
MCP server):
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
https://api.dreamcash.xyz/mcp
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
When it asks you to sign in, enter the 6-character code the Dreamcash app
|
|
19
|
+
shows under **Settings › Connected AI**. Your AI can then read your account
|
|
20
|
+
and markets and ask for trades, each one approved by you in the app. You need
|
|
21
|
+
a Dreamcash account, made in the Dreamcash app for
|
|
22
|
+
[iPhone](https://apps.apple.com/app/id6748916424) or
|
|
23
|
+
[Android](https://play.google.com/store/apps/details?id=xyz.dreamcash.app).
|
|
24
|
+
|
|
25
|
+
## Trading on its own
|
|
26
|
+
|
|
27
|
+
This package is how an agent trades on its own. You don't install it
|
|
28
|
+
yourself: once the connector is added, ask your agent to trade on its own.
|
|
29
|
+
If it can run commands on a computer of its own (Grok Bot, Claude Code,
|
|
30
|
+
Codex, Hermes, OpenClaw), the connector hands it a one-time code, and it
|
|
31
|
+
starts this package (`npx -y @dreamcash-org/mcp@latest`) and pairs it with
|
|
32
|
+
that code. There is nothing for you to type.
|
|
33
|
+
|
|
34
|
+
Then open the Dreamcash app: the new connection says which of your
|
|
35
|
+
connections set it up. Pick its limits (they start at $50 per order, 3x
|
|
36
|
+
leverage and $250 a day, or at the budget and leverage you gave your agent)
|
|
37
|
+
and how many days its key lasts, and approve its key with your main wallet.
|
|
38
|
+
Until you do, each trade still waits for you.
|
|
14
39
|
|
|
15
40
|
## What your agent can do
|
|
16
41
|
|
|
@@ -23,7 +48,8 @@ app, or, if you let it, on its own within limits you set.**
|
|
|
23
48
|
USDC between spot and perps, and withdrawing to one of your own wallets.
|
|
24
49
|
Each request sends a push to the Dreamcash app, where you review exactly
|
|
25
50
|
what will be signed and approve or refuse it. Requests you don't answer
|
|
26
|
-
expire after 15 minutes. Trades pay
|
|
51
|
+
expire after 15 minutes. Trades pay Hyperliquid's fees only: Dreamcash
|
|
52
|
+
charges no fee on them.
|
|
27
53
|
- **Trade on its own**, if you turn it on in the app: your main wallet
|
|
28
54
|
approves the agent's key on Hyperliquid once, for the days you pick (up to
|
|
29
55
|
180), and its orders, position changes and HLP moves on your main wallet go
|
|
@@ -36,11 +62,10 @@ Try asking it:
|
|
|
36
62
|
- "Buy $50 of HYPE at 3x with a stop loss 5% below."
|
|
37
63
|
- "Close everything I have open on BTC."
|
|
38
64
|
|
|
39
|
-
##
|
|
65
|
+
## Adding the package yourself
|
|
40
66
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
[Android](https://play.google.com/store/apps/details?id=xyz.dreamcash.app)).
|
|
67
|
+
For an agent that doesn't use the connector, or to set it up by hand. You
|
|
68
|
+
need Node.js 20 or newer.
|
|
44
69
|
|
|
45
70
|
Add a local (stdio) MCP server that runs:
|
|
46
71
|
|
|
@@ -78,23 +103,25 @@ args = ["-y", "@dreamcash-org/mcp@latest"]
|
|
|
78
103
|
**Gemini for Mac**: Customize › Connectors › Add custom app › Local MCP, with
|
|
79
104
|
the command `npx -y @dreamcash-org/mcp@latest`.
|
|
80
105
|
|
|
81
|
-
**Agents that set up their own tools** (Grok Bot, Hermes, OpenClaw):
|
|
82
|
-
the
|
|
106
|
+
**Agents that set up their own tools** (Grok Bot, Hermes, OpenClaw): with
|
|
107
|
+
the connector added, they do it themselves when you ask them to trade on
|
|
108
|
+
their own. Without it, ask the agent to add a local MCP server that runs
|
|
109
|
+
`npx -y @dreamcash-org/mcp@latest`.
|
|
83
110
|
|
|
84
111
|
Desktop apps often start servers without your terminal's `PATH`: if `npx`
|
|
85
112
|
isn't found, use its full path, which `which npx` prints in your terminal
|
|
86
113
|
(e.g. `/opt/homebrew/bin/npx`).
|
|
87
114
|
|
|
88
|
-
## Connect your account
|
|
115
|
+
## Connect the package to your account
|
|
116
|
+
|
|
117
|
+
An agent the connector set up is connected already. Otherwise:
|
|
89
118
|
|
|
90
119
|
1. In the Dreamcash app, open **Settings › Connected AI**. It shows a
|
|
91
120
|
6-character code, valid for 10 minutes.
|
|
92
121
|
2. Tell your agent to connect to Dreamcash with that code. It's connected
|
|
93
122
|
at once, and the app lists it under Connected AI.
|
|
94
|
-
3. To let it trade on its own, open it in Connected AI
|
|
95
|
-
|
|
96
|
-
leverage you gave your agent) and how many days its key lasts, and approve
|
|
97
|
-
its key with your main wallet.
|
|
123
|
+
3. To let it trade on its own, open it in Connected AI and approve its key
|
|
124
|
+
with your main wallet, as above.
|
|
98
125
|
|
|
99
126
|
Or, without a code: ask your agent to connect to Dreamcash. It answers with an
|
|
100
127
|
approval link (or your agent app opens it for you). Open it on the phone with
|
|
@@ -166,6 +193,11 @@ error to retry.
|
|
|
166
193
|
to your account, and anyone can send you an approval link: approve one only
|
|
167
194
|
right after you asked your agent to connect. The app tells you each time an
|
|
168
195
|
AI connects.
|
|
196
|
+
- **An agent your connector set up says so in the app** ("set up by your
|
|
197
|
+
Grok connection"). The code the connector hands it pairs once, within 10
|
|
198
|
+
minutes, and gives the package no more than the connector has: it asks
|
|
199
|
+
you for each trade. Approve trading on its own only for an agent you asked
|
|
200
|
+
to trade on its own.
|
|
169
201
|
- **What the agent sees**: the balances, positions and history of every
|
|
170
202
|
wallet in your Dreamcash account.
|
|
171
203
|
- **To disconnect** it, swipe it away in Connected AI: the app also revokes
|
|
@@ -731,7 +731,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
731
731
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
732
732
|
THE SOFTWARE.
|
|
733
733
|
|
|
734
|
-
## @noble/hashes
|
|
734
|
+
## @noble/hashes 2.4.0 (MIT)
|
|
735
735
|
|
|
736
736
|
The MIT License (MIT)
|
|
737
737
|
|
|
@@ -755,7 +755,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
755
755
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
756
756
|
THE SOFTWARE.
|
|
757
757
|
|
|
758
|
-
## @noble/hashes
|
|
758
|
+
## @noble/hashes 1.8.0 (MIT)
|
|
759
759
|
|
|
760
760
|
The MIT License (MIT)
|
|
761
761
|
|
package/dist/dreamcash-mcp.js
CHANGED
|
@@ -21115,7 +21115,7 @@ import { createHash } from "node:crypto";
|
|
|
21115
21115
|
// package.json
|
|
21116
21116
|
var package_default = {
|
|
21117
21117
|
name: "@dreamcash-org/mcp",
|
|
21118
|
-
version: "0.3.
|
|
21118
|
+
version: "0.3.11",
|
|
21119
21119
|
description: "Connect your own AI agent to your Dreamcash account: it reads your account and trades, each trade confirmed by you or on its own within your limits.",
|
|
21120
21120
|
keywords: [
|
|
21121
21121
|
"mcp",
|
|
@@ -50355,7 +50355,7 @@ var toolDefinitions_default = [
|
|
|
50355
50355
|
{
|
|
50356
50356
|
name: "request_autonomous_trading",
|
|
50357
50357
|
title: "Trade without asking each time",
|
|
50358
|
-
description: "Ask the user to let you trade their main wallet on your own: they approve your key (the one your Dreamcash MCP keeps on your machine; Dreamcash never sees it) once in their Dreamcash app, and your request_* calls then place trades at once. The key trades until the expiry the user approves (days from now); it can't withdraw or move funds out of Hyperliquid, but on Hyperliquid itself, outside Dreamcash and its limits, it can trade any market and deposit into HLP.
|
|
50358
|
+
description: "Ask the user to let you trade their main wallet on your own: they approve your key (the one your Dreamcash MCP keeps on your machine; Dreamcash never sees it) once in their Dreamcash app, and your request_* calls then place trades at once. The key trades until the expiry the user approves (days from now); it can't withdraw or move funds out of Hyperliquid, but on Hyperliquid itself, outside Dreamcash and its limits, it can trade any market and deposit into HLP. Up to two AIs trade on their own on the main wallet: your key takes a free place, and when two other AIs hold both, the user picks one to replace in the app. It's the same approval the app already offers after pairing, with the limits you passed when you connected filled in: call it only if the user asks you to send it to their app, or names limits after you connected and before approving (pass them here and the app's setup starts from them). Never call it after they approved to send limits: the limits are part of the one approval, and after it they're the user's to change in the app.",
|
|
50359
50359
|
inputSchema: {
|
|
50360
50360
|
type: "object",
|
|
50361
50361
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dreamcash-org/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
4
4
|
"description": "Connect your own AI agent to your Dreamcash account: it reads your account and trades, each trade confirmed by you or on its own within your limits.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|