felix-mcp 2.0.134 → 2.0.136

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
@@ -4,11 +4,25 @@
4
4
 
5
5
  <h1 align="center">Felix MCP</h1>
6
6
 
7
- Non-custodial trading tools for AI agents across Hyperliquid, Polymarket, and
8
- Derive. Live execution is the default; paper mode must be selected explicitly.
9
-
10
- Package version: `felix-mcp@2.0.134`. For prepublication review, use the local
11
- tarball below. Packaging checks do not certify live money workflows.
7
+ Agentic trading infrastructure for everyone. Your AI agent researches,
8
+ previews, places and manages orders across crypto perpetuals, prediction
9
+ markets and options, runs strategies, and moves money between venues, with
10
+ your keys on your own computer. Orders are live by default.
11
+
12
+ Package version: `felix-mcp@2.0.136`. Install with `felix-mcp@latest` so you
13
+ always run the newest build; `get_status` tells you when an update is out.
14
+
15
+ ## Quick start
16
+
17
+ 1. **Hosted, no install.** Add the hosted server with a Felix API key:
18
+ `claude mcp add --transport http felix https://mcp.felix.trade/mcp --header "Authorization: Bearer fk_YOUR_KEY"`.
19
+ 2. **Local, keys on your computer.** `npm install --global felix-mcp@latest`,
20
+ then `felix-keys onboard --accept-terms` (free; creates your owner key, a
21
+ launcher key and an encrypted backup), then connect your client (see Install).
22
+ 3. **Create your account.** `create_account` sets up your account and its Arc
23
+ home wallet.
24
+ 4. **Go live.** Fund it with `create_deposit`, then trade or deploy an agent.
25
+ You can rehearse in simulation mode first.
12
26
 
13
27
  ## Hosted (no install)
14
28
 
@@ -20,7 +34,7 @@ claude mcp add --transport http felix https://mcp.felix.trade/mcp \
20
34
  ```
21
35
 
22
36
  Every request is checked against your API key; revoking the key cuts access on
23
- the next request. Local signing, key switching and Keychain storage need the
37
+ the next request. Local signing, key switching and secure key storage need the
24
38
  npm install below.
25
39
 
26
40
  ## Chain RPCs (never public)
@@ -37,26 +51,26 @@ broadcasts outside the relay require your own endpoint; a public host is refused
37
51
 
38
52
  ### 1. Install
39
53
 
40
- Requires Node.js 20.10 or newer and npm. Guided key setup currently requires
41
- macOS with an accessible Keychain. Other operating systems can run the server,
42
- but the guided local custody quickstart below is macOS-only.
54
+ Requires Node.js 20.10 or newer and npm. Works on macOS, Windows and Linux.
55
+ Keys are stored in the operating system's own secure store:
56
+
57
+ | System | Where keys live |
58
+ | --- | --- |
59
+ | macOS | Keychain |
60
+ | Windows | Windows protected storage (DPAPI, your user account only) |
61
+ | Linux desktop | The system keyring (GNOME Keyring, KWallet) via `secret-tool` |
62
+ | Linux without a keyring | An encrypted file only your user can read; keep the off-device backup |
43
63
 
44
- From a checkout of this candidate, build and install the local package:
64
+ The `get_status` tool shows which store is in use.
45
65
 
46
66
  ```bash
47
67
  node --version
48
- npm ci
49
- candidate_dir="$(mktemp -d)"
50
- npm pack --pack-destination "$candidate_dir"
51
- npm install --global "$candidate_dir/felix-mcp-2.0.134.tgz"
68
+ npm install --global felix-mcp@latest
52
69
  felix-keys --help
53
70
  ```
54
71
 
55
- After the operator publishes this version, the registry installation is:
56
-
57
- ```bash
58
- npm install --global felix-mcp@2.0.134
59
- ```
72
+ To build from a checkout instead: `npm ci`, `npm pack`, then
73
+ `npm install --global ./felix-mcp-2.0.136.tgz`.
60
74
 
61
75
  ### 2. Set up keys locally
62
76
 
@@ -68,12 +82,12 @@ felix-keys onboard --accept-terms --client none
68
82
 
69
83
  This registers a launcher identity and creates an authenticated encrypted backup;
70
84
  it does not fund an account or place an order. `--client none` leaves client
71
- configuration to step 3, so the local candidate never needs an npm download.
85
+ configuration to step 3.
72
86
  The command checks the active Node runtime before writing credentials and can
73
87
  be rerun after interruption to reuse a matching identity and backup.
74
88
 
75
89
  The owner key, launcher key, and a generated high-entropy backup recovery
76
- code are stored directly in macOS Keychain and are never printed or returned to
90
+ code are stored directly in your system's secure store and are never printed or returned to
77
91
  the MCP client. The encrypted backup is created and authenticated automatically.
78
92
 
79
93
  If restoring an existing funded identity, use
@@ -118,8 +132,8 @@ Replace both example paths with the values from `command -v`:
118
132
  ```
119
133
 
120
134
  Using an absolute Node path also works when a desktop app does not inherit
121
- your terminal's Node version manager. Run the client as the same macOS user
122
- who completed key setup; the server loads credentials directly from Keychain.
135
+ your terminal's Node version manager. Run the client as the same user
136
+ who completed key setup; the server loads credentials directly from the secure store.
123
137
  No credential belongs in the client JSON.
124
138
 
125
139
  ### 4. Verify the connection without moving money
@@ -136,6 +150,49 @@ credential or recovery material is returned.
136
150
  Claude Code requires one human action: open `/permissions` and allow the
137
151
  `mcp__felix` tool namespace. Felix cannot grant that permission itself.
138
152
 
153
+ ### Updating
154
+
155
+ `get_status` reports `mcp.compatibility.update`: your version, the latest
156
+ published one, and the exact command. Any failed tool call also carries an
157
+ `mcp_update` block while you are behind. To update:
158
+
159
+ ```bash
160
+ npm install --global felix-mcp@latest
161
+ ```
162
+
163
+ then restart or reconnect your MCP client. If your client starts Felix with
164
+ `npx`, use `npx -y felix-mcp@latest`. Updating never changes your keys,
165
+ accounts or money. Felix refuses an outdated build with
166
+ `client_upgrade_required` before any money moves. The startup check reads only
167
+ npm's public `latest` record; set `FELIX_MCP_UPDATE_CHECK=0` to turn it off.
168
+
169
+ ### If Felix stops accepting your key
170
+
171
+ Felix answers `key_rejected: true` when a key was revoked (for example from the
172
+ Keys page in the Felix app) or replaced. Nothing is sent, and your money is
173
+ unchanged. For the launcher key, run:
174
+
175
+ ```bash
176
+ felix-keys renew-key
177
+ ```
178
+
179
+ It first checks that Felix really rejects the saved key, asks you to confirm on
180
+ screen, then signs with your owner key and stores a replacement launcher
181
+ key for the same account in the secure store. It also writes a refreshed encrypted
182
+ backup and keeps the old one. Then call `reload_launcher_key`. For an account
183
+ key, call `use_child_account` with `force_remint:true`.
184
+
185
+ ### Unfinished money steps
186
+
187
+ `list_recent_operations` shows every money workflow on this computer that has
188
+ not finished: create_account, withdrawals, Arc home moves, deploys and orders.
189
+ Each entry includes its `idempotency_key`, what already happened, and the next
190
+ step. A workflow that moved nothing resumes when you repeat the same call with
191
+ the same key. One that may have moved money says to check `get_money_map` first.
192
+ Repeating it with the same key never repeats a finished step. A request that
193
+ Felix refused outright does not use up its key: fix the argument and retry with
194
+ the same key.
195
+
139
196
  Never put an API key, owner key, seed phrase, signature, or signed transaction
140
197
  in a prompt, tool argument, URL, source file, log, or committed configuration.
141
198
 
@@ -287,7 +344,7 @@ standard local documents folder automatically. The agent does not copy a key,
287
344
  choose a password, or ask the user to run another terminal command. Verify it
288
345
  with `get_custody_recovery_status`; require `ready: true` before funding.
289
346
 
290
- The recovery code remains in macOS Keychain and never enters model context.
347
+ The recovery code remains in the secure store and never enters model context.
291
348
  Owner-controlled off-device recovery is optional and separate from normal
292
349
  onboarding. Felix cannot recover a lost owner key and will not replace an
293
350
  existing identity silently.
@@ -303,7 +360,7 @@ If the saved account and credential do not match, tools fail with
303
360
  `session_binding_recovery_required`; they do not silently show a different
304
361
  account. Use `list_accounts` and `use_child_account` to select the intended
305
362
  child. Use `reload_launcher_key` only when you intentionally want the launcher
306
- identity in that process. It rereads the current macOS Keychain identity,
363
+ identity in that process. It rereads the current identity from the secure store,
307
364
  authenticates that owner's encrypted money-workflow journal, and changes the
308
365
  session only after both checks pass.
309
366
 
@@ -377,7 +434,7 @@ freshness, unavailable sources, reserved balances, and whether the total is
377
434
  partial. Never interpret unavailable as zero.
378
435
 
379
436
  **Release hold:** venue-to-owner returns are not certified end to end for this
380
- candidate. Do not start a new `bring_home` or `start_bring_home` operation based
437
+ release. Do not start a new `bring_home` or `start_bring_home` operation based
381
438
  on a preview alone. A withdrawal can reach an intermediate owner wallet before
382
439
  the final bridge fails. For an operation already started, retain its original
383
440
  ID, key, and transaction hashes; inspect `get_money_operation` and follow its
@@ -385,12 +442,12 @@ recovery instructions. Never create a new-key return to work around an
385
442
  uncertain result. External `withdraw` uses funds already in an owner wallet or
386
443
  Safe; it does not retrieve venue balances.
387
444
 
388
- | Money action | Status in this candidate |
445
+ | Money action | Status in this release |
389
446
  | --- | --- |
390
447
  | Fund Polymarket or Hyperliquid from the Polygon owner wallet | End-to-end live evidence on earlier builds |
391
448
  | Fund Polymarket or Hyperliquid from Arc home funds | `fund_polymarket_from_arc` and `fund_hypercore_from_arc` (the app's routes) |
392
449
  | Arc home Safe withdrawal (`arc_home_withdraw`) | Available |
393
- | Arc home Safe deposit from another chain (`arc_home_deposit`) | Not certified on this candidate; new accounts use `create_deposit` |
450
+ | Arc home Safe deposit from another chain (`arc_home_deposit`) | Not certified in this release; new accounts use `create_deposit` |
394
451
  | Fund Derive | Not certified; do not start a new operation |
395
452
  | Return Hyperliquid perps to the Arc home (`arc_home_hypercore_return`) | Available (the app's route) |
396
453
  | Return from other venues to the Arc home | Not available from the MCP in this release; use Wallet in the Felix app |
@@ -399,7 +456,7 @@ Safe; it does not retrieve venue balances.
399
456
  | Move free cash between Hyperliquid, Polymarket and Lighter (`transfer_between_venues`) | Available (the app's Transfer) |
400
457
 
401
458
  An unsupported action is not necessarily blocked by the current API. This
402
- table is a safety boundary for this candidate, not a claim that the server
459
+ table is a safety boundary for this release, not a claim that the server
403
460
  always refuses before movement.
404
461
 
405
462
  ### Venue-to-venue transfers
@@ -435,7 +492,7 @@ Use:
435
492
  verified withdrawable balance, mandate-reserved collateral, expected owner
436
493
  wallet credit, total cost, and duration.
437
494
  - `fund_market` or `start_fund_market`: owner wallet to a currently certified
438
- venue (Polymarket or Hyperliquid in this candidate; not Derive).
495
+ venue (Polymarket or Hyperliquid in this release; not Derive).
439
496
  - `bring_home` or `start_bring_home`: venue-to-owner return tools; held pending
440
497
  end-to-end certification as described above.
441
498
  - `prepare_arc_transfer`, `submit_arc_transfer`, `get_arc_transfer`: owner-signed