felix-mcp 2.0.110 → 2.0.128

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
@@ -7,46 +7,135 @@
7
7
  Non-custodial trading tools for AI agents across Hyperliquid, Polymarket, and
8
8
  Derive. Live execution is the default; paper mode must be selected explicitly.
9
9
 
10
+ Package version: `felix-mcp@2.0.128`. For prepublication review, use the local
11
+ tarball below. Packaging checks do not certify live money workflows.
12
+
13
+ ## Hosted (no install)
14
+
15
+ Connect any MCP client that can send a header to the hosted endpoint:
16
+
17
+ ```sh
18
+ claude mcp add --transport http felix https://mcp.felix.trade/mcp \
19
+ --header "Authorization: Bearer fk_YOUR_KEY"
20
+ ```
21
+
22
+ 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
24
+ npm install below.
25
+
26
+ ## Chain RPCs (never public)
27
+
28
+ This client never uses a public RPC. Funding and fee top-ups go through Felix's
29
+ authenticated, intent-bound RPC relay. Optionally set `FELIX_POLYGON_RPC_URL`
30
+ (and `FELIX_ARBITRUM_RPC_URL`, `FELIX_ARC_RPC_URL`) to your own private endpoint:
31
+ the client then also re-reads your Safe's on-chain state before signing
32
+ onboarding, policy and withdrawal transactions (without one it trusts Felix's
33
+ verified state, as the app does). The legacy Safe V3 migration and owner-paid
34
+ broadcasts outside the relay require your own endpoint; a public host is refused.
35
+
10
36
  ## Install
11
37
 
12
- Let the AI agent run one guided command. It registers the local custody
13
- identity, creates an encrypted backup, pins the same reviewed package in Claude
14
- Code, and verifies the result:
38
+ ### 1. Install
39
+
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.
43
+
44
+ From a checkout of this candidate, build and install the local package:
15
45
 
16
46
  ```bash
17
- npx -y --package felix-mcp@2.0.110 felix-keys onboard --accept-terms --client claude
47
+ 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.128.tgz"
52
+ felix-keys --help
18
53
  ```
19
54
 
20
- Requires Node.js 20.10 or newer. The command checks the active runtime before
21
- writing any credential. If it is too old, it stops with the detected version
22
- and leaves local state unchanged.
55
+ After the operator publishes this version, the registry installation is:
23
56
 
24
- After the user reviews the linked terms, the AI may run the complete onboarding
25
- flow. The owner key, launcher key, and a generated high-entropy backup recovery
57
+ ```bash
58
+ npm install --global felix-mcp@2.0.128
59
+ ```
60
+
61
+ ### 2. Set up keys locally
62
+
63
+ Review [Felix's terms](https://felix.trade/legal), then run:
64
+
65
+ ```bash
66
+ felix-keys onboard --accept-terms --client none
67
+ ```
68
+
69
+ This registers a launcher identity and creates an authenticated encrypted backup;
70
+ 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.
72
+ The command checks the active Node runtime before writing credentials and can
73
+ be rerun after interruption to reuse a matching identity and backup.
74
+
75
+ The owner key, launcher key, and a generated high-entropy backup recovery
26
76
  code are stored directly in macOS Keychain and are never printed or returned to
27
77
  the MCP client. The encrypted backup is created and authenticated automatically.
28
78
 
29
- Restart or reconnect the MCP after onboarding, then call `get_status` and
30
- confirm the client is compatible. Call `get_custody_recovery_status` and
31
- require `ready: true` before funding; no credential or recovery material is
32
- returned.
79
+ If restoring an existing funded identity, use
80
+ `felix-keys restore --input /absolute/path/to/felix-custody-backup.json` instead
81
+ of creating a new owner. For an existing matching owner/launcher pair, the
82
+ interactive `felix-keys setup` and `felix-keys set-api-key` commands accept keys
83
+ through hidden native dialogs; never pass them as command arguments. Run
84
+ onboarding afterward to verify registration and create the matching backup.
33
85
 
34
- Claude Code requires one human action: open `/permissions` and allow the
35
- `mcp__felix` tool namespace. Felix cannot grant that permission itself.
86
+ ### 3. Connect Claude or Cursor
87
+
88
+ Find the installed executable and active Node paths:
89
+
90
+ ```bash
91
+ command -v felix-mcp
92
+ command -v node
93
+ ```
94
+
95
+ For [Claude Code](https://code.claude.com/docs/en/mcp), register the absolute
96
+ executable path returned above (replace the example path):
97
+
98
+ ```bash
99
+ claude mcp add --transport stdio --scope user felix -- /absolute/path/to/felix-mcp
100
+ claude mcp get felix
101
+ ```
36
102
 
37
- For Claude Desktop:
103
+ For Claude Desktop, merge the following entry into
104
+ `~/Library/Application Support/Claude/claude_desktop_config.json`. For
105
+ [Cursor](https://cursor.com/docs/mcp), merge it into `~/.cursor/mcp.json`
106
+ (global) or `.cursor/mcp.json` (project). Preserve any existing server entries.
107
+ Replace both example paths with the values from `command -v`:
38
108
 
39
109
  ```json
40
110
  {
41
111
  "mcpServers": {
42
112
  "felix": {
43
- "command": "npx",
44
- "args": ["-y", "felix-mcp@2.0.110"]
113
+ "command": "/absolute/path/to/node",
114
+ "args": ["/absolute/path/to/felix-mcp"]
45
115
  }
46
116
  }
47
117
  }
48
118
  ```
49
119
 
120
+ 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.
123
+ No credential belongs in the client JSON.
124
+
125
+ ### 4. Verify the connection without moving money
126
+
127
+ Restart or reconnect the MCP client, then ask it to call `get_status` and
128
+ require `mcp.compatibility.compatible: true`. The same block reports
129
+ `current_mcp_version` and the API's `minimum_mcp_version`; an older client can
130
+ still read, but money and policy changes are refused until it is updated. Call
131
+ `get_custody_recovery_status` and require `ready: true`. Read
132
+ `felix://getting-started` to confirm resources are available. These checks
133
+ complete the quickstart without creating a funded trading account; no
134
+ credential or recovery material is returned.
135
+
136
+ Claude Code requires one human action: open `/permissions` and allow the
137
+ `mcp__felix` tool namespace. Felix cannot grant that permission itself.
138
+
50
139
  Never put an API key, owner key, seed phrase, signature, or signed transaction
51
140
  in a prompt, tool argument, URL, source file, log, or committed configuration.
52
141
 
@@ -57,7 +146,7 @@ Read `felix://getting-started`, review <https://felix.trade/legal>, then call:
57
146
  ```text
58
147
  create_account(
59
148
  accept_terms=true,
60
- legal_version="2026-08-30",
149
+ legal_version="2026-10-11",
61
150
  idempotency_key="primary-live-account"
62
151
  )
63
152
  ```
@@ -69,8 +158,10 @@ Account creation is funded-first:
69
158
  2. Send at least the returned minimum, currently $5, using one of the exact
70
159
  accepted stablecoins in the response.
71
160
  3. After confirmation, retry `create_account` with the same idempotency key.
72
- 4. Felix verifies the owner-controlled account, enables supported venues,
73
- stores the least-privilege child credential locally, and activates it.
161
+ 4. Felix verifies the owner-controlled Polygon wallet and Arc home Safe/module,
162
+ enables supported venues, stores the least-privilege child credential
163
+ locally, and activates it. If Arc verification is pending or unavailable,
164
+ retry the same key; no live credential is activated.
74
165
 
75
166
  Activation normally takes 60-120 seconds but can take longer when a venue is
76
167
  settling. Keep the call open. If it is interrupted, retry the exact same request
@@ -83,16 +174,95 @@ get_status()
83
174
  get_money_map()
84
175
  search_markets(q="bitcoin")
85
176
  preview_order(instrument="crypto:BTC", side="long", size_usd=25, auto_fund=true)
177
+ preview_execution_route(objective="directional", instrument="BTC", side="long", size_usd=25)
86
178
  place_order(instrument="crypto:BTC", side="long", size_usd=25, auto_fund=true)
87
179
  get_situation()
88
180
  ```
89
181
 
182
+ For combined-book controls, call `get_portfolio_risk` before
183
+ `preview_portfolio_hedge`, `preview_derive_greek_hedge`, `preview_portfolio_stress`,
184
+ `preview_historical_portfolio_risk`, `preview_covariance_risk_trim`, or
185
+ `preview_fleet_capacity` and `preview_fleet_reallocation`. The reallocation
186
+ preview requires an explicit total and exact owner-selected weights, orders
187
+ live exposure reductions before budget changes, and never derives live weights
188
+ from backtest returns. After pausing every agent whose ceiling will change, call
189
+ `apply_fleet_reallocation` with the reviewed policy version, exact weights,
190
+ target, and a stable idempotency key. The apply step updates all eligible budget
191
+ ceilings in one database transaction; it does not resume an agent, move money,
192
+ fund a venue, change a position, or place an order. Use
193
+ `get_execution_quality` for bounded agent decision/outcome and runtime-latency
194
+ evidence. These are read-only decision tools; execution still requires fresh
195
+ `preview_order` and `preview_portfolio_order` checks followed by a separately
196
+ authorized order.
197
+
90
198
  Paper is optional and explicit:
91
199
 
92
200
  ```text
93
- derive_api_key(paper=true, accept_terms=true, legal_version="2026-08-30")
201
+ derive_api_key(paper=true, accept_terms=true, legal_version="2026-10-11")
94
202
  ```
95
203
 
204
+ ## Arc settlement
205
+
206
+ Felix can settle an account on Arc in its owner-controlled Arc home Safe. Read the
207
+ account's reported home rather than assuming every account uses Arc.
208
+
209
+ - `get_deposit_address` returns `home_chain` (`arc` or `polygon`). Its top-level
210
+ `address` is the Polygon owner wallet. When Arc settlement is active, the
211
+ `arc.address` is the verified Arc home Safe; before verification it is `null`
212
+ with `onboarding_required: true`. Send Arc USDC only to that verified Safe.
213
+ If `arc.admission_frozen` is true, do not start a new Arc deposit; the address
214
+ stays visible only so existing transfers can be verified and recovered.
215
+ - `get_money_map` reports `settlement_home.home_cash_location` as
216
+ `arc_home_safe` or `owner_wallet_polygon`. Arc locations include
217
+ `arc_home_safe`, `arc_home_safe_gateway_balance`, `owner_wallet_arc`, and
218
+ `arc_settlement_in_transit`. The Arc owner wallet is not the Arc home Safe.
219
+ - A new account's first `create_account` call uses a Polygon deposit address.
220
+ The same workflow now completes owner-signed Arc-home onboarding before
221
+ issuing a live key. Fresh-account Arc activation has not yet passed a live
222
+ end-to-end canary, so this held release is not launch-certified. If
223
+ `arc.onboarding_required` is true, do not send funds on Arc; retry the same
224
+ account-creation key or contact support.
225
+ - `fund_market` spends USDC from the Polygon owner wallet, not from the Arc
226
+ home Safe; Polygon USDC deposits still count as spendable cash. Funding
227
+ Polymarket or Hyperliquid from Arc home funds has not passed a live canary on
228
+ this release, and owner-wallet venue funding on an account with an active Arc
229
+ home has not been re-certified live on it either. Derive funding and venue
230
+ returns are not supported in this release.
231
+ - Arc transfers (`prepare_arc_transfer`, `submit_arc_transfer`) are not yet
232
+ certified end to end. Do not start one just to fund a venue. For a transfer
233
+ already started, keep its operation ID and key and follow
234
+ `get_money_operation`.
235
+ - `start_arc_home_hl_return` (Hyperliquid to Arc home) is refused by the server
236
+ in this release, and the refusal moves no money. Returns that have already
237
+ started can still be recovered with their original operation ID and key.
238
+ - Arc home money tools move USDC in and out of the verified Arc home Safe. Each
239
+ is one resumable, owner-signed call with a required `idempotency_key`; the
240
+ client verifies every SafeTx, burn intent and source call against the exact
241
+ request before it signs, and refuses without a signature on any mismatch.
242
+ None of them has passed a live canary on this release.
243
+ - `arc_home_withdraw`: to the owner's own address on `arc`, `base`,
244
+ `polygon`, `arbitrum` or `ethereum`, or to an address allowlisted for
245
+ that chain (`add_withdrawal_address` allowlists Polygon). `chain=arc` has
246
+ no Circle fee; other chains pay an owner-approved Gateway fee ceiling
247
+ (`max_fee_usd`, default 0.05) plus destination mint gas.
248
+ - `arc_home_deposit`: owner USDC on another chain into the Arc home Safe.
249
+ Felix tops up only the shortfall in the owner's Gateway balance, broadcast
250
+ by the owner through your own `FELIX_<CHAIN>_RPC_URL`.
251
+ - `arc_home_fund_venue`: Polymarket only. It stages native USDC in the
252
+ owner's Polygon wallet and returns `venue_funded: false` with a
253
+ `fund_market(venue=prediction_market)` next step; it does not by itself
254
+ fund Polymarket. Hyperliquid and Derive are refused before anything is
255
+ prepared.
256
+ - Recovery: `get_arc_home_operation` (read), `reconcile_arc_home_operation`,
257
+ and `report_arc_home_mint` for a destination mint you broadcast yourself.
258
+ Retry the original tool with the same `idempotency_key`; never start a
259
+ second operation for the same intent. `arc_home_receipt_unknown` means an
260
+ owner transaction was already signed but has no confirmed receipt yet:
261
+ wait, then reconcile or retry with the same key; nothing is signed again.
262
+ - Cross-chain mints are paid by the recipient. The client broadcasts one
263
+ only into the owner's own address and only when that chain's owner RPC is
264
+ configured; otherwise it returns the `mint_call` for you to broadcast.
265
+
96
266
  ## Custody
97
267
 
98
268
  - The root owner key is created and retained in the local OS credential store.
@@ -177,6 +347,9 @@ symbol formats.
177
347
  1. Call `preview_order`. It moves no money and reports executability, venue
178
348
  minimums, collateral, leverage, liquidity, fees, funding requirements, and
179
349
  expected duration.
350
+ To compare compatible live expressions first, call `preview_execution_route`.
351
+ It fails closed on unknown costs and never equates event contracts or options
352
+ with linear spot/perpetual exposure.
180
353
  2. Correct every `constraint_violation` before execution.
181
354
  3. Call `place_order` with the same intent. Use a stable idempotency key when
182
355
  the tool accepts one.
@@ -201,15 +374,64 @@ Filled orders return `position_id`. Use it with `close_position`. Use
201
374
  freshness, unavailable sources, reserved balances, and whether the total is
202
375
  partial. Never interpret unavailable as zero.
203
376
 
377
+ **Release hold:** venue-to-owner returns are not certified end to end for this
378
+ candidate. Do not start a new `bring_home` or `start_bring_home` operation based
379
+ on a preview alone. A withdrawal can reach an intermediate owner wallet before
380
+ the final bridge fails. For an operation already started, retain its original
381
+ ID, key, and transaction hashes; inspect `get_money_operation` and follow its
382
+ recovery instructions. Never create a new-key return to work around an
383
+ uncertain result. External `withdraw` uses funds already in an owner wallet or
384
+ Safe; it does not retrieve venue balances.
385
+
386
+ | Money action | Status in this candidate |
387
+ | --- | --- |
388
+ | Fund Polymarket or Hyperliquid from the Polygon owner wallet | End-to-end live evidence on earlier builds |
389
+ | Fund Polymarket or Hyperliquid from Arc home funds | Not certified on this candidate; `arc_home_fund_venue` stages Polymarket only |
390
+ | Arc home Safe withdrawal or deposit (`arc_home_withdraw`, `arc_home_deposit`) | Not certified on this candidate |
391
+ | Fund Derive | Not certified; do not start a new operation |
392
+ | Return from any venue | Not certified; do not start a new operation |
393
+ | Withdraw owner-wallet or Safe funds to an approved address | Available; does not pull funds from a venue |
394
+ | Arc transfer between Gateway domains | Not certified; recover existing operations only |
395
+ | Direct venue-to-venue movement | Not certified |
396
+
397
+ An unsupported action is not necessarily blocked by the current API. This
398
+ table is a safety boundary for this candidate, not a claim that the server
399
+ always refuses before movement.
400
+
204
401
  Use:
205
402
 
206
- - `fund_market` or `start_fund_market`: owner wallet to a venue.
207
- - `bring_home` or `start_bring_home`: venue back to the owner wallet.
403
+ - `preview_funding_route`: read-only Polygon-to-Hyperliquid Relay quote with
404
+ expected destination credit, total cost, and duration. With `venue=options`
405
+ (or `derive`) it may describe a Derive-chain USDC, Arbitrum USDC, or Polygon
406
+ USDC.e path. A quote, including `executable=true`, does not authorize Derive
407
+ funding in this release. A quote that cannot execute includes a
408
+ `non_executable_reason`.
409
+ - `preview_return_route`: read-only Hyperliquid-to-Polygon Relay quote with
410
+ verified withdrawable balance, mandate-reserved collateral, expected owner
411
+ wallet credit, total cost, and duration.
412
+ - `fund_market` or `start_fund_market`: owner wallet to a currently certified
413
+ venue (Polymarket or Hyperliquid in this candidate; not Derive).
414
+ - `bring_home` or `start_bring_home`: venue-to-owner return tools; held pending
415
+ end-to-end certification as described above.
416
+ - `prepare_arc_transfer`, `submit_arc_transfer`, `get_arc_transfer`: owner-signed
417
+ Circle Gateway USDC transfers between Gateway domains (Arc and the venue
418
+ chains) through Felix Arc settlement. Prepare returns the exact payloads;
419
+ submit signs and broadcasts locally through the journey-scoped relay and
420
+ runs as an asynchronous money operation.
421
+ - `arc_home_withdraw`, `arc_home_deposit`, `arc_home_fund_venue`: owner-signed
422
+ Arc home Safe money paths (see Arc settlement above). Recover them with
423
+ `get_arc_home_operation`, `reconcile_arc_home_operation`, and
424
+ `report_arc_home_mint`.
208
425
  - `get_money_operation`: inspect an asynchronous money workflow.
209
426
  - `wait_for_operation`: wait without repeated polling.
210
427
  - `list_recent_operations`: recover locally journaled operations after restart.
211
428
  - `withdraw`: move funds to an owner-approved external address.
212
429
 
430
+ Preview calls do not reserve liquidity, create operations, request signatures,
431
+ or move money. Quotes expire. Review the current quote, then start the separate
432
+ owner-signed workflow; the execution path performs fresh validation and may
433
+ reject if balances, collateral, provider availability, or economics changed.
434
+
213
435
  Cross-chain movement can take several minutes. Prefer the asynchronous tools,
214
436
  persist the returned operation ID, and follow these rules:
215
437
 
@@ -274,11 +496,40 @@ Read these resources before authoring:
274
496
  The normal sequence is:
275
497
 
276
498
  ```text
277
- write strategy -> backtest -> inspect validity and costs -> deploy -> monitor
499
+ generate from plain words -> backtest by strategy_id -> inspect validity and costs -> deploy -> monitor
278
500
  ```
279
501
 
280
- `generate_strategy` is optional. Strategy authoring does not depend on a model
281
- quota. Hand-written code can go directly to `backtest` and `deploy_agent`.
502
+ `generate_strategy` returns an owned `strategy_id` for `backtest` and
503
+ `deploy_agent`. Source in its response and the bundled reference examples is
504
+ for display only. The engine refuses user-supplied code, including source copied
505
+ from a generation response. Each walk-forward variant also takes a `strategy_id`.
506
+ `walk_forward_backtest` compares two to four explicit variants with anchored
507
+ training and untouched cold-start holdouts before deployment. It requires one
508
+ stable idempotency key and explicit fee/slippage assumptions, and never moves
509
+ money.
510
+
511
+ For an existing saved agent, use `review_agent_strategy_revision` before
512
+ replacing its logic. Felix loads the current strategy without returning its
513
+ source, evaluates current and candidate code on one shared dataset with fresh
514
+ state for both development and chronological holdout phases, and returns exact
515
+ strategy hashes, costs, evidence completeness, and holdout deltas. The review
516
+ never changes or resumes the agent. Promotion always requires a later explicit
517
+ `update_agent(strategy_id=...)` call while the agent is stopped and flat.
518
+
519
+ `backtest_sensitivity` keeps strategy code fixed while varying two to eight
520
+ explicit history, capital, fee, and slippage scenarios on one shared price
521
+ dataset. Overlapping windows are diagnostics, not out-of-sample evidence. Use a
522
+ stable idempotency key. Incomplete history, live-only inputs that were not
523
+ replayed, degraded or short execution, too few trades, or any non-positive
524
+ scenario force `robust:false`.
525
+
526
+ `portfolio_backtest` replays two to six caller-owned saved agents with explicit
527
+ weights totaling 10,000 basis points. It reports combined full-period and
528
+ chronological holdout equity, costs, attribution, correlation, and covariance.
529
+ Capital remains in independent fixed sleeves: Felix does not assume shared
530
+ margin, cross-venue netting, capital reuse, market impact, or future returns.
531
+ The holdout is independently out-of-sample only when the strategies were frozen
532
+ before that window was inspected. The tool never changes agents or moves money.
282
533
 
283
534
  Backtesting never deploys an agent or moves money. Results identify data source,
284
535
  methodology, cost assumptions, and historical validity. A degraded result is not
@@ -287,7 +538,12 @@ evidence of live performance.
287
538
  `deploy_agent` requires an explicit budget and one to four authorized markets.
288
539
  Paper mode must be explicit. Use `get_situation`, `agent_status`,
289
540
  `get_agent_log`, and `wait_for_events` to operate the fleet. Stop an agent before
290
- changing it with `update_agent`; review current positions before resuming.
541
+ changing it with `update_agent`; review current positions before resuming. To
542
+ replace logic without losing the agent UUID or history, stop the agent, prove its
543
+ position book is flat, compare the generated candidate using
544
+ `review_agent_strategy_revision(candidate_strategy_id=...)`, pass the reviewed
545
+ `strategy_id` and its replay evidence (or explicit acknowledgement),
546
+ verify the returned old/new strategy hashes, and resume in a separate call.
291
547
  Stopping an agent does not close positions.
292
548
 
293
549
  Stop loss, take profit, trailing stop, break-even, and maximum-hold rules are
@@ -318,6 +574,27 @@ Polymarket and Derive live execution fees use prepaid fee credit. Read it with
318
574
  a confirmed fill, and released after a confirmed no-fill. Withdrawals do not
319
575
  collect trading fees and Felix does not create fee debt.
320
576
 
577
+ Reserved credit is still unspent, but unavailable for another order until its
578
+ reservation is released or captured. Fee credit is not withdrawable cash or
579
+ venue collateral and is excluded from the money map's wallet total. When the
580
+ response includes `exact`, use its six-decimal unit strings for accounting;
581
+ the numeric USD fields are convenient display values. Captured prepaid fees
582
+ are not a total of venue fees, gas, bridge costs or Hyperliquid builder fees.
583
+
584
+ `fund_market` network fees are also prepaid. Felix signs, submits, and confirms
585
+ the exact fee transfer to treasury before authorizing any venue funding or
586
+ bridge value transaction. If that fee cannot be confirmed, the value leg does
587
+ not start. If a later venue step is interrupted, resume with the exact original
588
+ idempotency key; the confirmed fee proof is reused and is never charged twice.
589
+ Felix does not create an outstanding funding-fee balance.
590
+
591
+ An unknown fee balance is not zero. For `fee_credit_state_unavailable`, retry
592
+ `get_fee_balance` after the returned delay. For `fee_credit_state_invalid`,
593
+ use `report_feedback`; do not send a top-up to repair missing accounting data.
594
+ The MCP honors `retryable:false` and valid retry timing in either the HTTP
595
+ header or error body. Long waits return control to the agent instead of silently
596
+ polling sooner. Preserve the original key for an in-progress money operation.
597
+
321
598
  `upgrade_subscription(plan="pro", idempotency_key="...")` prepares an exact
322
599
  owner-signed 30-day Pro payment. Auto-renew is off; every renewal requires a new
323
600
  owner-authorized workflow.
@@ -348,12 +625,33 @@ interrupted message with the same key.
348
625
  `get_funding`, research and screening tools.
349
626
  - Trading: `preview_order`, `place_order`, `place_batch_orders`, `cancel_order`,
350
627
  `close_position`, exit-plan tools, `make_market`.
351
- - Portfolio: `get_situation`, `get_positions`, `get_fills`, `get_pnl`,
628
+ - Portfolio: `get_situation`, `get_positions`, `get_fills`,
629
+ `get_account_statement`, `get_pnl`,
352
630
  `get_money_map`, `verify_custody`.
353
631
  - Money: funding, bring-home, fee-credit, withdrawal, and venue onboarding tools.
354
- - Agents: strategy guide, backtest, deploy, status, logs, events, update, stop.
632
+ - Agents: strategy guide, backtest, walk-forward validation, deploy, status,
633
+ logs, events, update, stop.
355
634
  - Account: keys, children, policy, webhooks, subscription, support, and archive.
356
635
 
636
+ Advanced portfolio mandates can also set per-underlying Derive absolute-net and
637
+ gross gamma, theta, and vega limits. Felix enforces them against exact
638
+ venue-rounded live-order projections across direct orders, autonomous agents,
639
+ and cumulative batches. Missing required Greek evidence fails closed; trades
640
+ that reduce an existing breach remain permitted.
641
+
642
+ `preview_derive_greek_hedge` ranks no more than four exact Derive buy-to-open
643
+ option previews for one net gamma, theta, or vega reduction target. It uses the
644
+ matching owner absolute-net limit unless an explicit target is supplied. The
645
+ result does not optimize gross risk, multiple Greeks, future volatility, or exit
646
+ liquidity, and it never signs, funds, bridges, or submits an order.
647
+
648
+ `preview_covariance_risk_trim` uses 20-500 complete aligned daily-return rows to
649
+ size one reduction in an existing verified linear exposure toward the owner's
650
+ annualized volatility mandate. An explicit target may tighten but cannot loosen
651
+ that mandate. The result includes an exact Hyperliquid collateral, liquidity,
652
+ fee, slippage, portfolio-limit, and key-limit preview. It cannot create new asset
653
+ exposure, cross through zero, add leverage, fund, sign, submit, or move money.
654
+
357
655
  Tool schemas are authoritative for required arguments, bounds, and enums.
358
656
 
359
657
  ## Examples
@@ -376,3 +674,13 @@ the validity and cost assumptions before asking whether to deploy it live.
376
674
  Full integration guide: <https://felix.trade/docs>
377
675
 
378
676
  Not financial advice.
677
+
678
+ ### r234 capital and withdrawal confirmation tools
679
+
680
+ MCP 2.0.123 adds the app's manual trading for API keys through `/v1/manual`: `get_trading_capabilities`, `get_trading_details`, `get_available_to_trade`, `preview_manual_order`, `place_manual_order` (market, limit, post-only, resting Polymarket GTC, reduce-only, leverage up to the venue maximum, on Hyperliquid, Lighter and Polymarket), `get_manual_order_receipt`, `list_open_orders`, `cancel_open_order`, `modify_order_price`, `close_manual_position` (full or partial), `get_close_receipt`, and `get_position_protection` / `set_position_protection` / `cancel_position_protection` (take-profit and stop-loss trigger prices with optional partial exits). Opening orders keep the key's own `max_order_usd` and `max_daily_usd` and the account's portfolio mandate. `cancel_order` now cancels live resting orders, and `panic` now also cancels and closes Lighter.
681
+
682
+ MCP 2.0.122 adds `preview_home_funding`, `start_home_funding`, `get_home_funding`, `prepare_capital_allocation`, `submit_capital_allocation`, `prepare_venue_bootstrap`, `submit_venue_bootstrap`, `get_capital_move_recovery`, and withdrawal confirmation request/verify/status tools. Derive and treasury capital moves require owner approval and are disabled via API key, including with `confirm:true`. Their read-only previews, status and recovery tools remain available. Home funding quotes cover Hyperliquid, Lighter and Polymarket, with owner-paid Arc gas and explicit `quote_execution_bound:false`. Owner signatures and email proofs stay in the trusted local client. The new submit tools accept locally produced signatures; they do not generate signatures.
683
+
684
+ The refreshed [owner canary templates](docs/OWNER_REAL_MONEY_E2E.md) preserve exact operation IDs and continuation keys. These templates have not been executed with real money. See [release verification](docs/RELEASE_VERIFICATION.md) for live read-only results and publication prerequisites.
685
+
686
+ Agent deployment requires `confirmed_budget_usd` alongside `budget_usd`: repeat the exact capital the owner reviewed. `deploy_agent` passes it to `POST /v1/agents` and refuses missing or mismatching confirmation before sending a request. A generic yes does not confirm an amount. Saved chat proposals are approved in the app with both the confirmed amount and their `review_version`; `deploy_agent` creates a new agent from a generated `strategy_id`, so it has no saved chat proposal version.
@@ -1,10 +1,15 @@
1
1
  # Third-Party Notices
2
2
 
3
3
  Felix MCP includes portions of Polymarket's `clob-client-v2` version 1.1.0.
4
+ Source: <https://github.com/Polymarket/clob-client-v2>. These files are shipped
5
+ under `dist/vendor/polymarket-clob-v2/` in the npm package.
4
6
  The vendored runtime is kept behaviorally equivalent to the upstream package;
5
7
  two legacy Ethers dependencies that are not imported by that runtime are not
6
8
  included.
7
9
 
10
+ Other runtime dependencies are installed separately by npm and retain their
11
+ own license files and notices in their respective packages.
12
+
8
13
  MIT License
9
14
 
10
15
  Copyright (c) 2026 Polymarket