MCP tools reference
Every tool the Coinrule MCP exposes to AI assistants — strategies, portfolio and balances, backtests, strategy creation, templates, and baskets — grouped by capability.
The Coinrule MCP exposes a set of tools that your AI assistant calls on your behalf. You never call these directly — you ask in plain language and the assistant picks the right tool — but this reference explains everything it can do. Tools are grouped by capability below; each is marked Read (available with coinrule:read) or Write (requires coinrule:write). See scopes and permissions.
Strategies: inspect
Read what your bots are doing.
| Tool | Access | What it does |
|---|---|---|
list_strategies | Read | List all your trading bots / strategies. |
get_strategy | Read | Full configuration and metadata for one strategy, including a dashboard link. |
get_strategy_status | Read | Live snapshot: open positions, PnL, paper balance, trigger proximity. |
get_strategy_activity | Read | Event log for one strategy (signals, lifecycle, evaluations). |
get_strategy_trades | Read | Filled trades and closed positions for one strategy. |
get_strategy_pnl | Read | PnL time series for charting. |
get_strategy_feed | Read | Combined activity feed across all strategies. |
Portfolio and accounts
Read balances, holdings, and which venues you have connected.
| Tool | Access | What it does |
|---|---|---|
get_portfolio_balances | Read | Cash / quote balances on connected exchanges plus strategy allocations. |
get_portfolio_holdings | Read | Asset holdings, total portfolio value, and allocation. |
get_recent_signals | Read | Recent buy / sell signals across your bots. |
list_exchange_accounts | Read | Connected exchange and broker accounts, with the venue and account IDs needed to launch live. |
Create and control strategies
Build new bots and manage running ones. All Write.
| Tool | Access | What it does |
|---|---|---|
validate_strategy | Write | Step 1 of the two-step launch: parse a prompt or script and generate tests. |
create_strategy | Write | Step 2: launch a validated strategy on a chosen venue. |
create_strategy_from_prompt | Write | One-shot: turn plain English into a validated, tested, launched strategy. |
update_strategy | Write | Change a strategy's configuration and redeploy it. |
start_strategy | Write | Resume a stopped strategy. |
stop_strategy | Write | Stop or pause a strategy, optionally closing open positions. |
Templates (Script Library)
| Tool | Access | What it does |
|---|---|---|
list_strategy_templates | Read | Browse pre-built scripts (RSI, DCA, TradingView, baskets, and more), filterable by level. Each template includes the full script to launch with the creation tools. |
Baskets (marketplace)
Diversified, multi-asset strategies. See what are baskets.
| Tool | Access | What it does |
|---|---|---|
list_baskets | Read | Curated basket catalog plus your custom baskets, filterable by category. |
list_basket_assets | Read | Search the asset universe when building a custom basket. |
create_basket | Write | Define a custom basket (2–20 assets, target weights). |
launch_basket | Write | Launch a curated or custom basket as a strategy, on one venue or across multiple. |
Multi-venue baskets
A custom basket whose legs live on different exchanges launches across all of them at once. When you ask your assistant to launch such a basket, it maps each exchange to the matching connected account rather than guessing a single venue.
Backtests
Test on historical data before going live. See backtesting overview.
| Tool | Access | What it does |
|---|---|---|
list_backtests | Read | List your saved backtest runs. |
get_backtest | Read | Summary for one backtest run. |
get_backtest_export | Read | Raw trades / export data for one run. |
run_backtest | Write | Run a single historical simulation. |
run_backtest_scenarios | Write | Compare multiple parameter sets in one pass. |
Supported venues and asset types
Through these tools your assistant can trade on any venue you have connected — including Binance, Coinbase, Kraken (spot and perps), Hyperliquid, KuCoin, and Trading 212 — across spot, perpetuals, and stocks, plus paper-trading equivalents. See connecting an exchange and paper vs live.
Next steps
- Example prompts — how to ask for each of these.
- Scopes and permissions — read vs write.