@capxul/mcp 4.20.0-beta.40 → 4.20.0-beta.42

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
@@ -24,7 +24,10 @@ capxul-mcp serve [--mode live|dev] [--port <port>] [--stdio]
24
24
 
25
25
  HTTP mode serves Streamable HTTP at `POST /mcp` and binds `127.0.0.1:8788` by
26
26
  default. Stdio mode reserves stdout for JSON-RPC and sends every diagnostic to
27
- stderr.
27
+ stderr. Over stdio the server exchanges `CAPXUL_MCP_ACCESS_TOKEN` when a
28
+ protected tool first needs it, and keeps a good grant for the session. It does
29
+ not keep a failed exchange: the next protected tool call exchanges again. A
30
+ public tool never calls the exchange.
28
31
 
29
32
  `--mode dev` selects a deterministic development signer and needs
30
33
  `CAPXUL_MCP_DEV_SIGNER_SEED`. It is not production custody evidence.
@@ -67,6 +70,12 @@ carries the message, the cause, a stack, or the tool payload. An expected
67
70
  outcome such as `INVALID_INPUT` goes to `capxul_mcp_expected_outcome`; any
68
71
  other failure is a `$exception`.
69
72
 
73
+ When the backend's Convex deployment gives no answer, a tool does not wait for
74
+ it. `system.health` answers `NETWORK_ERROR` with mode `timeout` after 15
75
+ seconds, the SDK's read deadline, and sends one failure row named
76
+ `system.health`. A protected tool first restores the session with a read that
77
+ has the same deadline.
78
+
70
79
  ## Connect
71
80
 
72
81
  ```bash