@0xmonaco/mcp-server 1.0.82 → 1.0.85

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 (3) hide show
  1. package/README.md +6 -5
  2. package/dist/bin.js +48 -48
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -17,7 +17,7 @@ supplying a key does **not** blindly unlock the entire tool set.
17
17
  | `MONACO_TOOL_ALLOWLIST`| No | Comma-separated tool names to enable on top of the profile (explicit per-tool opt-in, e.g. a single fund-movement tool). |
18
18
  | `MONACO_TOOL_DENYLIST` | No | Comma-separated tool names to disable. Wins over the profile and the allowlist. |
19
19
  | `MONACO_RPC_URL` | No | Sei RPC URL (defaults per network) |
20
- | `MONACO_DELEGATED_OWNER_USER_ID` | No | Run on behalf of a delegated **owner** account. The `MONACO_PRIVATE_KEY` wallet is the agent; on startup it authenticates as itself, then adopts an owner-scoped session so every tool call acts on the owner (agent preserved as the audit actor). Requires `MONACO_PRIVATE_KEY` + `MONACO_CLIENT_ID`. See [delegated owner mode](#delegated-owner-mode). |
20
+ | `MONACO_DELEGATED_OWNER_USER_ID` | No | Run on behalf of a delegated **owner** account. The `MONACO_PRIVATE_KEY` wallet is the agent; on startup it authenticates as itself, then adopts an owner-scoped session so every tool call acts on the owner (the agent wallet stays the session's actor for policy enforcement; orders carry the owner's wallet). Requires `MONACO_PRIVATE_KEY` + `MONACO_CLIENT_ID`. See [delegated owner mode](#delegated-owner-mode). |
21
21
 
22
22
  ## Capability profiles
23
23
 
@@ -44,9 +44,10 @@ Set `MONACO_DELEGATED_OWNER_USER_ID` to act on behalf of a delegated owner accou
44
44
  the configured wallet's own account. The wallet in `MONACO_PRIVATE_KEY` is the **agent**: on
45
45
  startup it authenticates as itself, then adopts an owner-scoped delegated session
46
46
  (`loginAsDelegatedOwner`). Every subsequent tool call — reads and trades — acts on the owner
47
- account, with the agent wallet preserved as the actor for audit. The owner must have registered
48
- this agent wallet with an active delegation policy; the server cannot self-assert ownership, and
49
- adoption fails if the agent is not authorized for that owner.
47
+ account, with the agent wallet kept as the session's actor for policy enforcement. Orders placed
48
+ this way carry the owner's wallet, not the agent's, so order history does not record the agent.
49
+ The owner must have registered this agent wallet with an active delegation policy; the server
50
+ cannot self-assert ownership, and adoption fails if the agent is not authorized for that owner.
50
51
 
51
52
  This is fail-closed: `MONACO_DELEGATED_OWNER_USER_ID` requires `MONACO_PRIVATE_KEY` and
52
53
  `MONACO_CLIENT_ID`, a blank value is rejected, and if owner adoption fails the server does not
@@ -61,7 +62,7 @@ For public endpoints, set `MONACO_NETWORK` to one of the following documented va
61
62
 
62
63
  | Network | API URL | Default RPC URL |
63
64
  |---------------------|---------------------------------|----------------------------------------|
64
- | `mainnet` (default) | `https://api.monaco.xyz` | `https://evm-rpc.sei-apis.com` |
65
+ | `mainnet` (default) | `https://apimonaco.xyz` | `https://evm-rpc.sei-apis.com` |
65
66
  | `staging` | `https://staging.apimonaco.xyz` | `https://evm-rpc-testnet.sei-apis.com` |
66
67
 
67
68
  ## Installation