Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SEGNALS_API_KEYYesYour Segnals API key, obtained from the dashboard (sk_live_... or sk_test_...).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Segnals runs automated trading bots on the person's exchange and MT5 accounts. Some of them trade real money.

Accounts. This program may hold keys for several Segnals accounts, each under a label; segnals_list_accounts shows them, and which of them read a fleet. Every tool takes account. Name the account the person means, and never act on one they did not name. Nothing crosses accounts: read and plan each account on its own.

Before you change any bot setting:

  1. Read the settings catalog first: segnals_get_settings_catalog, or the resource segnals://settings/{engine}, for the bot's engine. Use only the paths it lists, inside their range, and never one whose key_may_change is false. Never guess a setting name. Its version tells you when your copy is still current.

  2. If the account's key is a master key (it reads a fleet), read the fleet with segnals_get_fleet and how it is doing with segnals_fleet_report. A change must fit the fleet's policy and the account's bot limit. A key from Settings → API Keys has no fleet; skip this step for it.

  3. Plan per account. With a master key, check the plan with segnals_plan_fleet: it changes nothing and answers the diff, the risk and every refusal. Show the person the diff before anything is applied: every bot, every setting before and after, the risk per bot and in total, and whether it is demo or real money.

  4. Apply only what the person approved, exactly as approved: segnals_apply_fleet_plan with the plan_id they saw, first without confirm to preview, then with confirm: true. Anything else is a new plan they see first.

  5. Never say a real-money bot started until the plan says applied (segnals_get_fleet_plan), or, for a single bot, until its status says it runs.

A master key changes its fleet only through plans; the other write tools answer it use_fleet_plans. When the person asks to stop everything, or something goes wrong, segnals_stop_all_fleet stops every bot of the fleet at once; only the account holder can resume it.

In a report, a KPI that is null was not measured: say so, and never report it as 0. Errors say what to do next; when only the account holder can act (Settings → Bot manager), tell the person.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
segnals_list_accountsA

List the Segnals accounts this program holds keys for: each account's label, its key's mode ("live" or "test", read from the key's prefix; the key itself is never shown), and what GET /fleet answers for it (tier, bot limit, fleet status), or why it cannot. Every other tool takes one of these labels as its account argument; with several accounts it is required. Use this first when you do not know the labels. Requires: no scope for the labels and modes (they are read locally); the fleet answer needs a master key. Example: segnals_list_accounts()

segnals_whoamiA

Verify your API key and check your Segnals identity. Returns your username, account tier, and connection status. Use this as the FIRST call to confirm the API key is working. Requires: any valid API key. Example: segnals_whoami()

segnals_get_capabilitiesA

List all available Segnals MCP tools and their required scopes. Use this to understand what actions you can perform with the current API key. Requires: any valid API key. Example: segnals_get_capabilities()

segnals_get_safety_disclaimerA

Returns the Segnals risk and safety disclaimer. This explains that Segnals is a software tool (not financial advice), outlines trading risks, and clarifies what the MCP server can and cannot do. Present this to users before creating strategies or starting bots. Requires: any valid API key. Example: segnals_get_safety_disclaimer()

segnals_get_accountA

Get your Segnals account details: tier, subscription status, bot limits, and usage. Use this to check account standing or before creating bots. Requires scope: read:account. Example: segnals_get_account()

segnals_get_subscriptionA

Get your current subscription plan, billing status, and payment history. Use this to check if the user's subscription is active, when it renews, or what plan they're on. Requires scope: read:account. Example: segnals_get_subscription()

segnals_list_connectionsA

Check which exchanges and services are connected to the user's account. Returns boolean flags only (true/false for each exchange) — never returns credentials or secrets. Use this to verify exchange connectivity before creating bots. Requires scope: read:account. Example: segnals_list_connections()

segnals_get_dashboardA

Get the trading dashboard overview for a period: total PnL, win rate and trade count of that period, the equity curve, plus the current bot counts and the 10 latest trades (those two are not limited to the period). Period: timeframe "24h", "7d" (default), "30d" or "all"; or start_date and end_date together (ISO 8601), which take precedence over timeframe. A bare date means 00:00 of that day, so an end_date of 2026-10-31 leaves the 31st out: pass 2026-11-01 to include it. Requires scope: read:stats. Example: segnals_get_dashboard({ timeframe: "30d" })

segnals_get_pnl_summaryA

Get the PnL (profit and loss) summary for a period: total PnL, win rate and trade count of that period, plus the current bot counts. Period: timeframe "24h", "7d" (default), "30d" or "all"; or start_date and end_date together (ISO 8601), which take precedence over timeframe. A bare date means 00:00 of that day, so an end_date of 2026-10-31 leaves the 31st out: pass 2026-11-01 to include it. Requires scope: read:stats. Example: segnals_get_pnl_summary({ timeframe: "30d" })

segnals_get_bot_performanceA

Get detailed performance metrics for a specific bot: net PnL, win rate, total trades, drawdown, and more. Use this to analyze how well a particular bot is performing. Requires scope: read:stats. Example: segnals_get_bot_performance({ bot_id: 42 })

segnals_get_tradesB

Get recent trade history across all bots, with optional filtering by bot ID, symbol, or date range. Use this to review individual trades. Requires scope: read:stats. Example: segnals_get_trades({ limit: 20 })

segnals_list_botsA

List all trading bots on the user's account with their ID, name, exchange, status, and symbol. Use this to get an overview of all configured bots. Requires scope: read:bots. Example: segnals_list_bots()

segnals_get_botA

Get the full configuration and status of a specific bot by its ID. Returns the bot's name, exchange, symbol, status, and complete config object. Use this to inspect a bot's settings in detail. Requires scope: read:bots. Example: segnals_get_bot({ bot_id: 42 })

segnals_get_bot_logsA

Get execution logs for a specific bot. Shows recent trading activity, errors, and system events including cold-start status. Use this to debug bot behavior or check recent activity. Requires scope: read:bots. Example: segnals_get_bot_logs({ bot_id: 42 })

segnals_get_strategy_schemaA

Get the configuration schema for a bot, showing all available settings, their types, defaults, and valid ranges. Use this to understand what parameters can be configured before creating or updating a bot. Requires scope: read:bots. Example: segnals_get_strategy_schema({ bot_id: 42 })

segnals_explain_configA

Review a bot's current configuration for risk. Returns the config together with warnings for three settings: martingale enabled (MARTINGALE.ENABLED), leverage above 10x (TRADING_PARAMS.LEVERAGE), and a stop-loss that is missing or 0 (STOP_LOSS.VALUE_PCT). Use this to review a bot's setup before starting it. Requires scope: read:bots. Example: segnals_explain_config({ bot_id: 42 })

segnals_browse_marketplaceA

Browse the Segnals strategy marketplace. Returns available strategy listings with performance data (clearly labeled as live or backtest). Results are neutrally sorted. Use this to discover strategies the user can copy. Requires scope: read:marketplace. Example: segnals_browse_marketplace({ page: 1 })

segnals_get_listingA

Get details for a specific marketplace listing, including the strategy configuration preview and performance report. Use this to evaluate a strategy before copying it. Requires scope: read:marketplace. Example: segnals_get_listing({ listing_id: "abc123" })

segnals_my_listingsA

View your own marketplace listings and sales data (VIP sellers). Shows your published strategies, sale counts, and earnings. Use this to manage your marketplace presence. Requires scope: read:marketplace. Example: segnals_my_listings()

segnals_get_newsB

Get the latest market news and events from the Segnals newsfeed. Use this to stay informed about market-moving events that may affect trading strategies. Requires scope: read:news. Example: segnals_get_news()

segnals_get_copy_tradingA

Get your copy trading configuration and status. Shows which exchanges have copy trading enabled, the current settings, and operational status. Copy trading is a VIP feature. Requires scope: read:account. Example: segnals_get_copy_trading()

segnals_control_copy_tradingA

Start or stop copy trading for an exchange. Requires scope: control:bots. VIP tier required.

TWO-STEP CONFIRMATION: Call without confirm to preview. Call with confirm: true to execute. Copy trading mirrors trades from source accounts to destination accounts on the same exchange.

segnals_get_notificationsA

Get your notification preferences: daily reports, performance alerts, weekly summaries, and system reminders. Use this to review current notification settings before updating them. Requires scope: manage:notifications. Example: segnals_get_notifications()

segnals_set_notificationsA

Update notification preferences. Requires scope: manage:notifications.

Non-destructive — no confirmation needed. Updates are deep-merged with existing preferences. Valid keys: system_reminders, daily_report, performance_alerts, weekly_summary, custom_alerts.

segnals_create_botA

Create a new trading bot on Segnals. Requires scope: write:bots.

TWO-STEP CONFIRMATION: Call without confirm (or confirm: false) to preview. Call with confirm: true to execute. The new bot starts in 'stopped' state — it will NOT start trading automatically. IMPORTANT: Never ask for or accept exchange API keys/secrets — users enter those in the Segnals dashboard (Settings → Connections).

segnals_update_botA

Update a bot's configuration. Requires scope: write:bots.

TWO-STEP CONFIRMATION: Call without confirm to preview changes and see risk warnings. Call with confirm: true to apply. The config is merged into the stored one, so send only the keys you change, nested as segnals_get_bot shows them, e.g. { TRADING_PARAMS: { LEVERAGE: 5 } }. The preview reads the bot (scope read:bots) to warn about the config it would hold after the update: martingale enabled, leverage above 10x, stop-loss missing or 0. IMPORTANT: Never include exchange API keys/secrets in the config — users enter those in the dashboard.

segnals_start_botA

Start a trading bot. Requires scope: control:bots.

TWO-STEP CONFIRMATION: Call without confirm to preview. Call with confirm: true to start. COLD-START NOTE: Starting a bot takes a few minutes. The status will show 'starting' → 'warming_up' → 'running'. This is normal behavior. IMPORTANT: The bot must have exchange credentials configured in the dashboard before starting.

segnals_stop_botA

Stop a running trading bot. Requires scope: control:bots.

This is a safe action — no confirmation required. The bot will stop trading but its configuration is preserved.

segnals_restart_botA

Restart a trading bot. Requires scope: control:bots.

TWO-STEP CONFIRMATION: Call without confirm to preview. Call with confirm: true to restart. NOTE: Restarting resets the bot's loss streaks and goes through the cold-start cycle.

segnals_delete_botA

Permanently delete a trading bot. Requires scope: write:bots.

TWO-STEP CONFIRMATION: Call without confirm to preview. Call with confirm: true to delete. WARNING: This action is PERMANENT and cannot be undone. The bot must be stopped first.

segnals_create_strategyA

Create a fully configured trading strategy (bot + config). Requires scope: write:strategies.

TWO-STEP CONFIRMATION: Call without confirm to preview and validate. Call with confirm: true to create. This orchestrates: create bot → apply full config. The bot starts in 'stopped' state. IMPORTANT: Never include exchange API keys/secrets in the config.

segnals_set_indicator_filterA

Switch one gate of a bot's indicator filter (ADX, RSI, EMA or ATR) on or off and set its parameters. Requires scope: write:bots.

Writes INDICATOR_FILTER..ENABLED and the given params into the bot's config; no confirmation required. Enabling a gate also sets the master switch INDICATOR_FILTER.ENABLED, which the engine needs before it runs any gate, so a gate already stored as enabled becomes active too. Disabling leaves the master switch alone. Params per gate (others are refused, nothing is written): adx: period, min, max. rsi: period, mode ("filter_extremes" | "require_band"), overbought, oversold. ema: fast, slow. atr: period, min_pct, max_pct. All gates share INDICATOR_FILTER.TIMEFRAME (default "D"); change it with segnals_update_bot. If the bot is running, restart it to be sure the change is applied.

segnals_copy_strategyA

Copy a strategy from the marketplace to your bots. Requires scope: write:marketplace.

TWO-STEP CONFIRMATION: Call without confirm to preview the listing and cost. Call with confirm: true to copy. FREE strategies: copied immediately. PAID strategies: initiates a crypto payment flow. The buyer risk disclaimer is required — the agent must present the disclaimer to the user before confirming.

segnals_publish_listingA

Publish a bot as a marketplace listing. Requires scope: write:marketplace. VIP tier required.

TWO-STEP CONFIRMATION: Call without confirm to preview. Call with confirm: true to publish. The listing goes to 'pending_review' — an admin must approve it before it becomes active. Seller terms acceptance is required.

segnals_get_settings_catalogA

Every setting of one engine (mt5, bybit, phemex or grid): its path, type, unit, range, default, meaning in English and German (meaning_en, meaning_de), the settings it depends on (depends_on), whether it changes how much is risked (money), and whether a key may change it (key_may_change). Read this FIRST, before you plan or change any bot setting: use only the paths it lists, inside their range, and never one whose key_may_change is false. count is the number of settings. version is a hash of the catalog: when it equals the version you read before, nothing changed and you need not read it again. Narrow the answer with paths, each a full path (TRADING_PARAMS.LEVERAGE) or a block (MARTINGALE, every setting under it); not_found lists those that matched nothing. The resource segnals://settings/{engine} holds the same catalog. Requires: any valid key. Example: segnals_get_settings_catalog({ engine: "bybit", paths: ["TRADING_PARAMS", "MARTINGALE.ENABLED"] })

segnals_get_fleetA

This account's fleet, as its master key sees it. account: the tier, the bot limit and how many bots the account has. fleets (one, the key's own): its id; status (active; stopped_all, which still reads but starts nothing; disabled); its policy, the caps every plan must fit (max_bots, max_risk_per_bot_pct, max_total_risk_pct, the USD caps, allowed_connection_ids, allowed_exchanges, allow_real_money, confirm_every_start, max_items_per_plan, max_new_running_per_plan); bot_ids and how many run; and per allowed connection its exchange, whether it is demo, its currency and equity. Read it before you plan anything for this account, together with segnals_get_settings_catalog. It holds no email, username or billing. Requires: a master key (manage:fleet), while the server's bot manager is on. Example: segnals_get_fleet()

segnals_fleet_reportA

The fleet's performance for a period ("24h", "7d" by default, "30d") and the period of the same length before it (previous). KPIs per bot, for the fleet, and in totals over every fleet the key reads: net_pnl and net_pnl_pct_of_capital, return_pct, win_rate_pct, profit_factor, expectancy, trades, max_drawdown_pct, current_drawdown_pct, margin_used_pct; and what is held now: open_positions and unrealised_pnl. trades and net_pnl count closed trades only, so a bot can show trades 0 while it holds a position: read open_positions and unrealised_pnl before saying a bot is idle or flat. Exposure is a reading of now, so previous has it null. Each bot also has its exchange, every symbol it trades, whether it is demo, its status, and its health: seconds since its last sign of life (last_sign_of_life_s, with its source) and errors_24h. A KPI that is not measured is null, never 0: report it as "not measured", not as zero. With fewer than 20 trades, the win rate, profit factor and expectancy say little; say so. Fleet amounts are in the account's currency (account_currency); totals are in USD. Use it to tell the person how the fleet is doing, and before planning a change to it. Requires: a master key (read:stats), while the server's bot manager is on. Example: segnals_fleet_report({ period: "30d" })

segnals_plan_fleetA

Check a plan of changes to this account's fleet. It changes no bot: the server judges every item against the settings catalog, the fleet's policy and caps, the account's bot limit and every key rule, stores the plan for 24 hours, and answers plan_id, status ("checked" or "refused"), expires_at, the counts per action, per item the diff (before → after for each changed setting), its risk and whether it is real money, the totals per account against the caps, needs_confirmation, refusals (each with the item's position, the path and a code) and warnings. Read segnals_get_settings_catalog and segnals_get_fleet first. Each item is one of: { action: "create", exchange, connection_id, name?, from?: "default" | { bot_id }, config?, start? }, { action: "update", bot_id, config }, { action: "start" | "stop" | "delete", bot_id }. Items are judged in order, so a start after an update is judged on the updated config. Plan one account per call; the plan acts only on the fleet of the key of the account you name. Then show the person the diff, and apply only a plan they approved with segnals_apply_fleet_plan. A fleet may check 30 plans an hour. Requires: a master key (manage:fleet). Example: segnals_plan_fleet({ items: [{ action: "create", exchange: "bybit", connection_id: "", name: "BTC grid 1", config: { TRADING_PARAMS: { LEVERAGE: 3 } }, start: true }] })

segnals_get_fleet_planA

Read one plan of this account's fleet: its status (checked, refused, applying, applied, applied_with_errors, awaiting_confirmation, failed, cancelled, declined, expired), expires_at, the counts, every item with its diff, risk and present status, the totals against the caps and the refusals. Use it to show the person a plan again, and after segnals_apply_fleet_plan to follow it: starts are released in batches, so read it until it says applied. Never say a real-money bot started until the plan says applied. Requires: a master key (manage:fleet). Example: segnals_get_fleet_plan({ plan_id: "<plan_id>" })

segnals_apply_fleet_planA

Apply a checked plan of this account's fleet, exactly as it was checked. This changes bots: it creates, updates, starts, stops and deletes them as the plan says.

TWO-STEP CONFIRMATION: call without confirm to preview: it reads the stored plan and changes nothing. Show the person that plan (every diff, the risk, real money, the caps) and wait for their approval. Then call again with confirm: true. Apply only a plan the person approved; for any other change, check a new plan with segnals_plan_fleet. The apply is sent once and carries an Idempotency-Key made from the plan id, so applying the same plan twice does nothing more; if Segnals does not answer, read the plan with segnals_get_fleet_plan before applying again. A plan whose bots changed since the check is refused (plan_stale) and nothing is applied. Starts are released in batches (25 a minute by default): follow them with segnals_get_fleet_plan, and never say a real-money bot started until the plan says applied. Items that need the account holder's confirmation wait for it in Settings → Bot manager; you cannot confirm them. A fleet may apply 10 plans an hour. Requires: a master key (manage:fleet). Example: segnals_apply_fleet_plan({ plan_id: "<plan_id>", confirm: true })

segnals_stop_all_fleetA

Stop every running, starting or warming-up bot of this account's fleet at once, through the same stop as the dashboard's Stop, and cancel the fleet's plans not yet applied. No preview: it only reduces risk, so use it at once when the person asks to stop everything or something is going wrong. Bots outside the fleet are not touched. With this key, a protected bot, and for a test key a real-money bot, is skipped and named in the answer: tell the person those still run. Open positions are handled as the dashboard's Stop handles them. Afterwards the fleet is stopped_all: every plan that starts a bot is refused until the account holder resumes the fleet in Settings → Bot manager. You cannot resume it. A fleet may stop all 3 times an hour. If Segnals does not answer, read segnals_get_fleet; send it again only if the status is not stopped_all. Requires: a master key (manage:fleet). Example: segnals_stop_all_fleet()

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
settings-mt5Every setting of the mt5 engine: path, type, unit, range, default, meaning, money flag, key_may_change.
settings-bybitEvery setting of the bybit engine: path, type, unit, range, default, meaning, money flag, key_may_change.
settings-phemexEvery setting of the phemex engine: path, type, unit, range, default, meaning, money flag, key_may_change.
settings-gridEvery setting of the grid engine: path, type, unit, range, default, meaning, money flag, key_may_change.

TDQS

A3.6/5.0

Scored across 41 tools

Disambiguation3/5

Most tools target distinct resources, but several pairs are genuinely close: segnals_get_dashboard is a near-superset of segnals_get_pnl_summary (same PnL/win-rate/trade-count payload plus extras), and segnals_create_bot overlaps heavily with segnals_create_strategy ("create bot + apply full config"). There is also a dual path for the same operations — direct create/start/stop bot tools versus the plan_fleet/apply_fleet_plan workflow — which the descriptions mitigate with scope requirements but do not fully separate.

Naming Consistency4/5

Almost everything follows a segnals_ + verb_noun snake_case pattern (list_bots, get_bot, create_bot, delete_bot, set_notifications), which is highly predictable. Minor deviations: segnals_whoami and segnals_my_listings break the verb_noun form, and fleet tools use a slightly different vocabulary (plan_fleet, apply_fleet_plan).

Tool Count3/5

41 tools is heavy, and a handful are redundant (dashboard vs pnl summary, create_bot vs create_strategy, get_copy_trading vs control_copy_trading could arguably merge). However, the domain genuinely spans accounts, bot lifecycle, indicator config, marketplace, notifications, settings catalogs and fleet orchestration across four engines, so the breadth is largely earned rather than padding.

Completeness4/5

Coverage is strong: full bot CRUD plus start/stop/restart/logs/schema, marketplace browse-get-copy-publish, fleet plan-check-apply-report-stop-all, notifications get/set, account and subscription reads. Notable gaps: no tool to update, unpublish or delist a marketplace listing, no tool to cancel a stored fleet plan or resume a stopped_all fleet (both only reachable via the dashboard), and no single-trade detail lookup.

Maintenance

ActivityMaintained
ResponsivenessOutdated data