@toon-protocol/client-mcp 0.10.8 → 0.11.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 CHANGED
@@ -9,7 +9,7 @@ with the host under the server name **`toon-client`** (this is the name that
9
9
  appears in Claude's MCP server list and in the `initialize` handshake;
10
10
  `mcpServers.toon` in config is just your local alias). The two long-lived
11
11
  connections that can't live in an ephemeral agent session — a **BTP** session
12
- (paid writes via the connector/apex) and a **town-relay Nostr-WS** subscription
12
+ (paid writes via the connector/apex) and a **relay Nostr-WS** subscription
13
13
  (free reads) — live in
14
14
  an **always-on detached daemon** (`toon-clientd`). The MCP server is a thin
15
15
  stdio proxy that auto-spawns the daemon and never holds chain keys.
@@ -27,14 +27,14 @@ Claude (Desktop / Code)
27
27
 
28
28
  toon-mcp ──HTTP──▶ toon-clientd (detached, always-on)
29
29
  ├─ ToonClient: BTP session + payment channels + signer
30
- └─ RelaySubscription: persistent town-relay Nostr-WS
30
+ └─ RelaySubscription: persistent relay Nostr-WS
31
31
  ```
32
32
 
33
33
  ## Architecture
34
34
 
35
35
  | Layer | Bin / module | Responsibility |
36
36
  |---|---|---|
37
- | **Daemon** | `toon-clientd` | Owns one `ToonClient` (BTP + channels + mnemonic keystore + network targeting) **plus** a persistent town-relay subscription. Loopback HTTP control API, single-instance PID lock, channel nonce-watermark persistence, graceful shutdown. |
37
+ | **Daemon** | `toon-clientd` | Owns one `ToonClient` (BTP + channels + mnemonic keystore + network targeting) **plus** a persistent relay subscription. Loopback HTTP control API, single-instance PID lock, channel nonce-watermark persistence, graceful shutdown. |
38
38
  | **MCP server** | `toon-mcp` | `@modelcontextprotocol/sdk` stdio server. Maps tools → daemon HTTP; auto-spawns the daemon detached if down; reports "bootstrapping — retry" while the BTP session comes up; holds no keys. |
39
39
  | **Skill** | `.claude/skills/toon-client/` | Teaches the agent pay-to-write / free-read / settlement semantics. |
40
40