leantrading-mcp

OAuth MCP for LeanTrading Pro, Elite, Blueprint, Admin, and Product Tester (first 14 days of the tester grant).

От сообщества: Добавлен пользователем или импортирован; проверьте владельца перед подключениемРаботаетБез входаГлобальныйБесплатноТолько чтение

Что умеет

  • Lt System Context: Load redacted LeanTrading system context for strategy research. Read-only; webhook secrets are redacted.
  • Lt Intelligence Snapshot: Read the intelligence health snapshot for one owned LeanTrading system.
  • Lt Risk Evaluate Preview: Run a dry-run Risk Manager evaluation. It does not persist rules and does not place orders.

Какие данные видит

Нужен ли аккаунт

Не нужен: сервер работает без входа

OAuth MCP for LeanTrading Pro, Elite, Blueprint, Admin, and Product Tester (first 14 days of the tester grant). After that window, Pro is required. . Access strategy context, intelligence, risk preview, and TradingView Charting Agent tools from Cursor or Claude. Requires eligible paid account; TV chart actions need a paired ChartingBridge.

Как подключить

Как подключить leantrading-mcp к Claude

Адрес сервера, который нужно вставить в настройках Claude:

https://leantrading-mcp--info-3fh4.run.tools

  1. Откройте Claude (сайт claude.ai или приложение для компьютера).
  2. Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
  3. Нажмите Добавить пользовательский коннектор (Add custom connector).
  4. Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
  5. В чате нажмите + → Коннекторы и включите новый коннектор.

Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.

Авторизация

После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.

Как подключить leantrading-mcp к ChatGPT

Адрес сервера, который нужно вставить в настройках ChatGPT:

https://leantrading-mcp--info-3fh4.run.tools

  1. Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
  2. Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
  3. Откройте Настройки → Коннекторы и нажмите Создать (Create).
  4. Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
  5. В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
  6. В новом чате откройте + → Приложения/Коннекторы и включите коннектор.

Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.

Авторизация

При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.

Как подключить leantrading-mcp к Cursor

Адрес сервера, который нужно вставить в настройках Cursor:

https://leantrading-mcp--info-3fh4.run.tools

Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.

Вручную:

  1. В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
  2. Вставьте JSON, скопированный ниже, в открывшийся файл ~/.cursor/mcp.json (для одного проекта: .cursor/mcp.json в корне проекта).
  3. Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.

Авторизация

Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.

Список инструментов сервера (60)

Технические названия из tools/list. Нужны только разработчикам.

lt_system_contextLoad redacted LeanTrading system context for strategy research. Read-only; webhook secrets are redacted.
lt_intelligence_snapshotRead the intelligence health snapshot for one owned LeanTrading system.
lt_risk_evaluate_previewRun a dry-run Risk Manager evaluation. It does not persist rules and does not place orders.
lt_portfolio_rankingRead owned systems sorted by portfolio intelligence ranking.
lt_recent_blocked_signalsRead recent signals blocked by LeanTrading risk or intelligence gates.
lt_knowledge_searchSearch curated LeanTrading Pine, MQL5, webhook, and execution lessons.
lt_charting_agent_chatUse the LeanTrading Charting Agent for high-level strategy, Pine, backtest, and chart workflows. Live order sending remains confirmation-gated.
lt_wire_leantrading_alertPrepare LeanTrading strategy webhook wiring for owned systems and, only after explicit confirmation, create TradingView strategy alerts through the paired ChartingBridge. Raw webhook secrets are never returned.
lt_charting_job_statusRead the status, progress, and optional details of an asynchronous ChartingBridge job.
tv_backtest_summaryRead Strategy Tester metrics and recent trades from the strategy on the chart. No LeanTrading LLM is called.
tv_backtest_optimizeRun a direct ChartingBridge parameter optimization. Cursor supplies the axes; no LeanTrading LLM is called. Supports random sampling and eligibility constraints.
tv_adaptive_researchRun direct multi-context Adaptive Research through ChartingBridge. No LeanTrading LLM is called.
tv_layout_listList saved TradingView chart layouts.
tv_layout_switchSwitch to a saved chart layout by name or numeric ID.
tv_layout_newCreate a new named blank chart layout (opens in a new tab). Use when user asks for a new chart layout.
tv_tab_listList open TradingView chart tabs.
tv_tab_newOpen a new chart tab. Pass layout "new" for a blank layout, or a saved layout name.
tv_tab_closeClose the current chart tab.
tv_tab_switchSwitch to a chart tab by 0-based index from tv_tab_list.
tv_pane_listList chart panes in the current layout.
tv_pane_set_layoutChange multi-chart grid: s, 2h, 2v, 4, 6, 8 (or single/2x2/quad).
tv_pane_focusFocus a pane by 0-based index.
tv_pane_set_symbolSet symbol on a specific pane.
tv_chart_get_stateGet chart symbol, timeframe, type, and indicator entity IDs.
tv_chart_set_typeChange chart type (Candles, HeikinAshi, Renko, …).
tv_chart_manage_indicatorAdd or remove a study. For add use full names e.g. Relative Strength Index.
tv_chart_get_visible_rangeGet visible unix time range on the chart.
tv_chart_set_visible_rangeZoom chart to unix from/to.
tv_chart_scroll_to_dateCenter chart on a date (ISO or unix string).
tv_symbol_infoMetadata for the current symbol.
tv_symbol_searchSearch symbols by keyword.
tv_data_ohlcvOHLCV bars from the open chart. For S/R without user prices: call this (count≈200, summary=false); server/agent then draws swing levels via tv_draw.
tv_data_indicatorIndicator inputs by entity_id from chart state.
tv_data_strategy_resultsStrategy Tester metrics (raw). Prefer tv_backtest_summary for KPIs+trades.
tv_data_tradesStrategy Tester trade list.
tv_data_equityEquity curve from Strategy Tester.
tv_quote_getRealtime quote; optional symbol switches chart briefly.
tv_depth_getDOM / order book (open DOM panel first).
tv_data_study_valuesCurrent values of all visible studies.
tv_data_pine_linesPine line.new price levels; pass study_filter when known.
tv_data_pine_labelsPine label.new text+price.
tv_data_pine_tablesPine table.new rows.
tv_data_pine_boxesPine box.new zones.
tv_indicator_searchSearch Indicators dialog (Technicals/Community/My scripts).
tv_indicator_addSearch and add indicator/strategy/community script.
tv_indicator_set_inputsChange study inputs by entity_id.
tv_indicator_toggle_visibilityShow/hide a study.
tv_draw_removeRemove one drawing by entity_id from tv_draw_list.
tv_draw_propertiesGet properties of one drawing.
tv_pine_getRead Pine source from editor (can be large).
tv_pine_compileCompile current Pine to chart.
tv_pine_smart_compileSmart compile + error check.
tv_pine_errorsRead Monaco compile errors.
tv_pine_saveSave current Pine (Ctrl+S).
tv_pine_consoleRead Pine console/log output.
tv_pine_newCreate blank Pine script.
tv_pine_openOpen saved Pine by name.
tv_pine_listList saved Pine scripts.
tv_pine_analyzeStatic Pine analysis offline (no CDP).
tv_pine_checkServer-side Pine compile check without chart inject.