@dreamcash-org/mcp 0.0.0-stage → 0.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Dreamcash
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,65 @@
1
- # Temporary Holding Version
1
+ # Dreamcash MCP
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Connects your own AI agent (Claude Code, Grok Bot, Hermes, OpenClaw, or any
4
+ MCP client that runs local servers) to your [Dreamcash](https://dreamcash.xyz)
5
+ account. Your agent can read your account and Hyperliquid's markets, and ask
6
+ for trades. Every trade waits for you to confirm it in your own wallet.
7
+
8
+ Chat apps that connect to remote MCP servers (Claude, ChatGPT, Grok) need no
9
+ install: add `https://api.dreamcash.xyz/mcp` as a connector instead.
10
+
11
+ ## Set up
12
+
13
+ Add a local (stdio) MCP server that runs:
14
+
15
+ ```sh
16
+ npx -y @dreamcash-org/mcp
17
+ ```
18
+
19
+ Claude Code:
20
+
21
+ ```sh
22
+ claude mcp add dreamcash -- npx -y @dreamcash-org/mcp
23
+ ```
24
+
25
+ Any client configured with JSON:
26
+
27
+ ```json
28
+ {
29
+ "mcpServers": {
30
+ "dreamcash": { "command": "npx", "args": ["-y", "@dreamcash-org/mcp"] }
31
+ }
32
+ }
33
+ ```
34
+
35
+ Needs Node.js 20 or newer.
36
+
37
+ ## Connect your account
38
+
39
+ Ask your agent to connect to Dreamcash. It gives you a short code and a link.
40
+ Open the link, sign in with the account you use in the Dreamcash app and
41
+ enter the code. The agent then sees your balances, positions, orders,
42
+ history, PnL, XP and vaults, and can ask for trades: each one opens at a link
43
+ for you to confirm in your own wallet.
44
+
45
+ The pairing page shows the address of the key being paired; the agent tells
46
+ you its own. Check that they match.
47
+
48
+ ## The key
49
+
50
+ The first time it connects, the server makes a new key and saves it in
51
+ `~/.dreamcash/agent-key.json`, readable only by your user. Dreamcash never
52
+ sees it. Every call to Dreamcash is signed with it, so whoever holds the file
53
+ can read your account and ask for trades as this agent. It can't place a
54
+ trade, withdraw or move your funds: each of those needs your own wallet.
55
+ Delete the file to disconnect this machine.
56
+
57
+ Pairing again makes a new key in `agent-key.json.pending`. The key before it
58
+ keeps working until you approve the new one, which then replaces it.
59
+
60
+ ## Settings
61
+
62
+ | Variable | Default |
63
+ | --- | --- |
64
+ | `DREAMCASH_AGENT_KEY_FILE` | `~/.dreamcash/agent-key.json` |
65
+ | `DREAMCASH_API_URL` | `https://api.dreamcash.xyz` |