@mysten-incubation/memwal-mcp 0.0.1-dev.0 → 0.0.1-dev.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.
Files changed (2) hide show
  1. package/README.md +103 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,103 @@
1
+ # MemWal MCP
2
+
3
+ MemWal MCP is a stdio Model Context Protocol server for MemWal. It lets MCP clients such as Cursor, Claude Desktop, Antigravity, and Claude Code connect to the MemWal relayer without manually configuring remote headers or auth tokens.
4
+
5
+ On first use, the CLI opens a browser-based wallet login flow and stores local credentials at `~/.memwal/credentials.json`.
6
+
7
+ ## Quick Start
8
+
9
+ Add MemWal MCP to your MCP client config:
10
+
11
+ ```json
12
+ {
13
+ "mcpServers": {
14
+ "memwal": {
15
+ "command": "npx",
16
+ "args": ["-y", "@mysten-incubation/memwal-mcp"]
17
+ }
18
+ }
19
+ }
20
+ ```
21
+
22
+ For the dev npm tag:
23
+
24
+ ```json
25
+ {
26
+ "mcpServers": {
27
+ "memwal": {
28
+ "command": "npx",
29
+ "args": ["-y", "@mysten-incubation/memwal-mcp@dev"]
30
+ }
31
+ }
32
+ }
33
+ ```
34
+
35
+ ## Login
36
+
37
+ Run the login flow manually:
38
+
39
+ ```sh
40
+ npx -y @mysten-incubation/memwal-mcp login
41
+ ```
42
+
43
+ The command opens your browser, asks you to connect your Sui wallet, and saves credentials locally.
44
+
45
+ ## Commands
46
+
47
+ ```sh
48
+ memwal-mcp
49
+ memwal-mcp login
50
+ memwal-mcp --logout
51
+ memwal-mcp --help
52
+ ```
53
+
54
+ ## Options
55
+
56
+ Use CLI flags or environment variables to override the default MemWal endpoints.
57
+
58
+ | CLI flag | Environment variable | Description |
59
+ | --- | --- | --- |
60
+ | `--relayer <url>` | `MEMWAL_SERVER_URL` | Override the relayer base URL. |
61
+ | `--web-url <url>` | `MEMWAL_WEB_URL` | Override the web app URL used during login. |
62
+ | `--label <text>` | `MEMWAL_CLIENT_LABEL` | Friendly delegate-key label shown in MemWal. |
63
+
64
+ Enable verbose stderr logging with `MEMWAL_MCP_DEBUG=1`.
65
+
66
+ ## Environment Presets
67
+
68
+ ```sh
69
+ memwal-mcp --prod
70
+ memwal-mcp --dev
71
+ memwal-mcp --staging
72
+ memwal-mcp --local
73
+ ```
74
+
75
+ You can also pass explicit URLs:
76
+
77
+ ```json
78
+ {
79
+ "mcpServers": {
80
+ "memwal": {
81
+ "command": "npx",
82
+ "args": [
83
+ "-y",
84
+ "@mysten-incubation/memwal-mcp@dev",
85
+ "--relayer",
86
+ "https://relayer.dev.memwal.ai"
87
+ ]
88
+ }
89
+ }
90
+ }
91
+ ```
92
+
93
+ ## Credential Storage
94
+
95
+ Credentials are stored locally in `~/.memwal/credentials.json`. To remove them:
96
+
97
+ ```sh
98
+ npx -y @mysten-incubation/memwal-mcp --logout
99
+ ```
100
+
101
+ ## License
102
+
103
+ Apache-2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysten-incubation/memwal-mcp",
3
- "version": "0.0.1-dev.0",
3
+ "version": "0.0.1-dev.1",
4
4
  "description": "MemWal MCP client — single-binary stdio MCP server that bridges Cursor / Claude Desktop / Antigravity / Claude Code to the MemWal relayer. Handles browser-based wallet login on first run.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",