# ClearFills: Agent Operational Contract (agents.txt) > ClearFills is an open-core Agentic Wealth & Execution OS and code-enforced Ed25519 pre-trade risk firewall. Never pass raw brokerage or banking credentials to an LLM. Route every order proposal through ClearFills first, respect per-sleeve limits and human-approval thresholds, and never bypass a kill-switch halt or replay a spent attestation. Site overview: https://clearfills.com/llms.txt Hosted Remote MCP: https://clearfills-api.fly.dev/mcp MCP Discovery: https://clearfills-api.fly.dev/.well-known/oauth-protected-resource Live API base URL: https://clearfills-api.fly.dev ## Connect via MCP ### 1) Hosted Remote Streamable-HTTP MCP (Recommended, Zero Install) POST `https://clearfills-api.fly.dev/mcp` with `Authorization: Bearer cf_sk_...` Tools (18): `get_net_worth`, `sync_account_snapshot`, `propose_trade`, `submit_for_approval`, `list_approvals`, `decide_approval`, `list_mandates`, `create_mandate`, `evaluate_mandates`, `get_track_record`, `get_kill_switch_status`, `verify_audit_chain`, `manage_watchlist`, `save_research_note`, `list_research_notes`, `log_trade_journal`, `list_trade_journal`, `run_backtest`. ### 2) Local Broker Execution MCP (`clearfills-desk-mcp`: IBKR Paper & Live) ```bash CLEARFILLS_DESK_CONFIG=/path/to/desk.yaml clearfills-desk-mcp ``` Tools: `get_portfolio`, `get_quote`, `preview_order`, `execute_attested_order`, `execute_approved_order`, `list_open_orders`, `cancel_order`. ### 3) Offline Local Firewall MCP (`clearfills==0.8.0`) ```bash claude mcp add clearfills -- uvx clearfills mcp ``` ## Safety Rules for Agents (Blocks by Default) - Always call `get_net_worth` / `get_portfolio` before sizing an order. - Never submit a live order without first running `preview_order` (or `propose_trade`). - For orders at or above `human_confirm_above_usd` (default `$25,000`), queue to the ClearFills Cloud `Inbox` (`preview_order` does this automatically when `CLEARFILLS_API_KEY` is set) and wait for human 1-tap approval. - Never retry `NONCE_ALREADY_SPENT` or `KILL_SWITCH_TRIPPED`. Escalate immediately to the human operator. - Never cancel a protective stop-loss (`is_protective_stop: true`) unless explicitly instructed by the human operator. - Mask all bank/broker account numbers to the last 3 digits (`***123`) when calling `sync_account_snapshot`.