@elisym/mcp 0.3.2 → 0.4.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/README.md +12 -12
- package/dist/index.js +255 -273
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ npx @elisym/mcp
|
|
|
36
36
|
|
|
37
37
|
### Docker
|
|
38
38
|
|
|
39
|
-
The wallet lives in `~/.elisym
|
|
39
|
+
The wallet lives in `~/.elisym/<name>/` (`elisym.yaml` + encrypted `.secrets.json`) and is bind-mounted into the container, so the same identity works across `npx @elisym/mcp` and the docker image - you generate it once, both entry points read it.
|
|
40
40
|
|
|
41
41
|
**1. Bootstrap an agent** (one-time, interactive):
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ docker run --rm -it \
|
|
|
46
46
|
ghcr.io/elisymlabs/mcp init
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Generates a Nostr identity and a Solana keypair and writes them to `~/.elisym
|
|
49
|
+
Generates a Nostr identity and a Solana keypair and writes them to `~/.elisym/<chosen-name>/` on the host.
|
|
50
50
|
|
|
51
51
|
**2. Edit your MCP client's config file** and add the entry below. Replace `/Users/you/.elisym` with the absolute path to your home `.elisym` directory:
|
|
52
52
|
|
|
@@ -70,7 +70,7 @@ Generates a Nostr identity and a Solana keypair and writes them to `~/.elisym/ag
|
|
|
70
70
|
}
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
With a single agent in `~/.elisym
|
|
73
|
+
With a single agent in `~/.elisym/`, you can omit `ELISYM_AGENT`. With multiple agents, pin one explicitly - otherwise selection is unspecified.
|
|
74
74
|
|
|
75
75
|
**Claude Code shortcut.** Instead of editing `~/.claude.json` by hand, use the built-in CLI: `claude mcp add elisym -- docker run --rm -i -e ELISYM_AGENT=<name> -v "$HOME/.elisym:/root/.elisym" ghcr.io/elisymlabs/mcp`.
|
|
76
76
|
|
|
@@ -106,15 +106,15 @@ The bootstrap step is unchanged - the wizard collects the passphrase interactive
|
|
|
106
106
|
|
|
107
107
|
## Environment Variables
|
|
108
108
|
|
|
109
|
-
| Variable | Description
|
|
110
|
-
| --------------------------- |
|
|
111
|
-
| `ELISYM_AGENT` | Load agent from `~/.elisym
|
|
112
|
-
| `ELISYM_NOSTR_SECRET` | Nostr secret key (hex or nsec) for ephemeral mode
|
|
113
|
-
| `ELISYM_AGENT_NAME` | Agent display name (default: mcp-agent)
|
|
114
|
-
| `ELISYM_NETWORK` | Solana network for ephemeral mode
|
|
115
|
-
| `ELISYM_PASSPHRASE` | Passphrase for encrypted agent configs (optional)
|
|
116
|
-
| `ELISYM_ALLOW_WITHDRAWAL` | Set to `1` to override per-agent `security.withdrawals_enabled` flag (CI use)
|
|
117
|
-
| `ELISYM_ALLOW_AGENT_SWITCH` | Set to `1` to override per-agent `security.agent_switch_enabled` flag
|
|
109
|
+
| Variable | Description |
|
|
110
|
+
| --------------------------- | ------------------------------------------------------------------------------- |
|
|
111
|
+
| `ELISYM_AGENT` | Load agent from `~/.elisym/<name>/` (or a project-local `.elisym/<name>/`) |
|
|
112
|
+
| `ELISYM_NOSTR_SECRET` | Nostr secret key (hex or nsec) for ephemeral mode |
|
|
113
|
+
| `ELISYM_AGENT_NAME` | Agent display name (default: mcp-agent) |
|
|
114
|
+
| `ELISYM_NETWORK` | Solana network for ephemeral mode. Only `devnet` is supported (default: devnet) |
|
|
115
|
+
| `ELISYM_PASSPHRASE` | Passphrase for encrypted agent configs (optional) |
|
|
116
|
+
| `ELISYM_ALLOW_WITHDRAWAL` | Set to `1` to override per-agent `security.withdrawals_enabled` flag (CI use) |
|
|
117
|
+
| `ELISYM_ALLOW_AGENT_SWITCH` | Set to `1` to override per-agent `security.agent_switch_enabled` flag |
|
|
118
118
|
|
|
119
119
|
## Usage Examples
|
|
120
120
|
|