TradingView MCP

102 tools. 56 can modify or destroy data without limits.

6 destructive tools with no built-in limits. Policy required.

Last updated:

56 can modify or destroy data
46 read-only
102 tools total

Community server · catalogue entry verified 30/06/2026

How to control TradingView MCP ↓

What TradingView MCP exposes to your agents

Read (46) Write / Execute (50) Destructive / Financial (6)
Critical Risk

The most dangerous TradingView MCP tools

56 of TradingView MCP's 102 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control TradingView MCP

PolicyLayer is an MCP gateway — it sits between your AI agents and TradingView MCP, and nothing reaches the server without passing your rules. These are the rules we recommend:

Block financial tools by default
{
  "trading_close_position": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Requires human approval."
      }
    ]
  }
}

Financial tools should be explicitly enabled per use case, not open by default.

Deny destructive operations
{
  "alert_delete": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "alert_create": {
    "limits": [
      {
        "counter": "alert_create_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "alert_list": {
    "limits": [
      {
        "counter": "alert_list_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register TradingView MCP — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON TRADINGVIEW →

Instant setup, no code required.

All 102 TradingView MCP tools

EXECUTE 26 tools
Execute batch_run Run an action across multiple symbols and/or timeframes Execute chart_pan Pan the chart by N bars. Positive bars = right (newer), negative = left (older). Use for Execute chart_zoom Zoom in/out by a factor. factor > 1 = zoom in (fewer bars visible), factor < 1 = zoom out (more bars). Use Execute pane_focus Focus a specific chart pane by index (0-based) Execute pine_check Compile Pine Script via TradingView\ Execute pine_compile Compile / add the current Pine Script to the chart Execute pine_smart_compile Intelligent compile: detects button, compiles, checks errors, reports study changes Execute replay_autoplay Toggle autoplay in replay mode, optionally set speed. WARNING: speed must be one of 100, 143, 200, 300, 1000, Execute replay_start Start bar replay mode, optionally at a specific date Execute replay_step Advance one bar in replay mode Execute replay_stop Stop replay and return to realtime Execute replay_trade Execute a trade action in replay mode (buy, sell, or close position) Execute stream_start Start a live streaming buffer for quote/bars/values. Returns a stream_id. Claude then calls stream_read to dra Execute stream_stop Stop a stream and release its buffer. Always call this when done to free resources. Execute tab_new Open a new chart tab Execute tab_switch Switch to a chart tab by index Execute tv_launch Launch TradingView Desktop with Chrome DevTools Protocol (remote debugging) enabled. Auto-detects install loca Execute ui_click Click a UI element by aria-label, data-name, text content, or class substring Execute ui_evaluate Execute JavaScript code in the TradingView page context for advanced automation Execute ui_fullscreen Toggle TradingView fullscreen mode Execute ui_hover Hover over a UI element by aria-label, data-name, or text content Execute ui_keyboard Press keyboard keys or shortcuts (e.g., Enter, Escape, Alt+S, Ctrl+Z) Execute ui_mouse_click Click at specific x,y coordinates on the TradingView window Execute ui_open_panel Open, close, or toggle TradingView panels (pine-editor, strategy-tester, watchlist, alerts, trading) Execute ui_scroll Scroll the chart or page up/down/left/right Execute ui_type_text Type text into the currently focused input/textarea element
WRITE 24 tools
Write alert_create Create a price alert via the TradingView alert dialog Write chart_compare_symbol Add a compare symbol overlay on the current chart (TradingView native Compare feature). The secondary symbol s Write chart_manage_indicator Add or remove an indicator/study on the chart Write chart_scroll_to_date Jump the chart view to center on a specific date Write chart_scroll_to_realtime Scroll the chart to the latest (rightmost) bar. Write chart_set_symbol Change the chart symbol Write chart_set_timeframe Change the chart timeframe/resolution Write chart_set_type Change chart type Write chart_set_visible_range Zoom the chart to a specific date range (unix timestamps) Write draw_change_point Move a single point of a drawing by index (0-based). Useful for dragging one endpoint of a trend line or one h Write draw_move Translate a drawing by a relative delta in time and/or price. Works for any multi-point shape — offsets every Write draw_position Draw a Risk/Reward LONG or SHORT position tool natively at the current bar, with entry, stop-loss and take-pro Write draw_shape Draw a shape/line on the chart Write draw_update_points Replace ALL points of an existing drawing at once. Point count must match what the shape type expects (1 for h Write indicator_set_inputs Change indicator/study input values (e.g., length, source, period) Write layout_switch Switch to a saved chart layout by name or ID Write pane_set_layout Change the chart grid layout (e.g., single, 2x2, 2h, 3v) Write pane_set_symbol Set the symbol on a specific pane by index Write pine_new Create a new blank Pine Script Write pine_save Save the current Pine Script (Ctrl+S) Write pine_set_source Set Pine Script source code in the editor Write session_save Save today Write tab_close Close the current chart tab Write watchlist_add Add a symbol to the TradingView watchlist
READ 46 tools
Read alert_list List active alerts Read capture_screenshot Take a screenshot of the TradingView chart Read chart_get_state Get current chart state (symbol, timeframe, chart type, indicators) Read chart_get_visible_range Get the visible date range (unix timestamps) and bars range on the chart Read chart_observe Unified chart observation — returns state, quote, price action, indicator values, and pine drawings in a singl Read data_get_equity Get equity curve data from Strategy Tester Read data_get_indicator Get indicator/study info and input values Read data_get_ohlcv Get OHLCV bar data from the chart. Use summary=true for compact stats instead of all bars (saves context). Read data_get_pine_boxes Read box/zone boundaries drawn by Pine Script indicators (box.new). Returns deduplicated {high, low} price zon Read data_get_pine_labels Read text labels drawn by Pine Script indicators (label.new). Returns text and price pairs. Use study_filter t Read data_get_pine_lines Read horizontal price levels drawn by Pine Script indicators (line.new). Returns deduplicated price levels per Read data_get_pine_tables Read table data drawn by Pine Script indicators (table.new). Returns formatted text rows per table. Use study_ Read data_get_strategy_results Get strategy performance metrics from Strategy Tester Read data_get_study_values Get current indicator values from the data window for all visible studies (RSI, MACD, Bollinger Bands, EMAs, c Read data_get_trades Get trade list from Strategy Tester Read depth_get Get order book / DOM (Depth of Market) data from the chart Read draw_get_properties Get properties and points of a specific drawing Read draw_list List all shapes/drawings on the chart Read draw_multipoint Draw multi-point shapes: Fibonacci retracement/extension/channel, parallel channels, pitchforks, triangles, Ga Read indicator_toggle_visibility Show or hide an indicator/study on the chart Read layout_list List saved chart layouts Read morning_brief Scan your watchlist, read all indicator values, and return structured data for a session brief. Reads rules.js Read pane_list List all chart panes in the current layout with their symbols and active state Read pine_analyze Run static analysis on Pine Script code WITHOUT compiling — catches array out-of-bounds, unguarded array.first Read pine_get_console Read Pine Script console/log output (compile messages, log.info(), errors) Read pine_get_errors Get Pine Script compilation errors from Monaco markers Read pine_get_source Get current Pine Script source code from the editor Read pine_list_scripts List saved Pine Scripts Read pine_open Open a saved Pine Script by name Read quote_get Get real-time quote data for a symbol (price, OHLC, volume) Read replay_status Get current replay mode status Read session_get Retrieve a saved session brief. Returns today Read stream_list List all active streams with their stream_ids, kinds, and buffer sizes. Read stream_read Drain accumulated events from a stream. Returns all changes since last read, then clears the buffer. Safe to c Read symbol_info Get detailed metadata about the current symbol (name, exchange, type, description) Read symbol_search Search for symbols by name or keyword Read tab_list List all open TradingView chart tabs Read trade_snapshot FAST PATH for scalping / market-order setups. Returns quote, OHLCV summary, indicator values, chart context (i Read trading_detect_mode Detect whether the Trading Panel is in paper-trading mode, connected to a live broker, or not connected at all Read trading_get_orders READ-ONLY. Get pending/working orders from the Trading Panel (if visible). Does NOT execute, modify, or cancel Read trading_get_positions READ-ONLY. Get currently open positions from the Trading Panel (if visible). Does NOT execute trades — only ob Read tv_discover Report which known TradingView API paths are available and their methods Read tv_health_check Check CDP connection to TradingView and return current chart state Read tv_ui_state Get current UI state: which panels are open, what buttons are visible/enabled/disabled Read ui_find_element Find UI elements by text, aria-label, or CSS selector and return their positions Read watchlist_get Get all symbols from the current TradingView watchlist with last price, change, and change%

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about TradingView MCP

Can an AI agent move money through the TradingView MCP server? +

Yes. The TradingView MCP server exposes 2 financial tools including trading_close_position, trading_submit_order. Without a policy, an autonomous agent can call these with no spend caps, no rate limits, and no approval flow. PolicyLayer lets you block financial tools by default, require human approval, or set per-tool rate limits — enforced on every call.

Can an AI agent delete data through the TradingView MCP server? +

Yes. The TradingView MCP server exposes 4 destructive tools including alert_delete, draw_clear, draw_remove_one. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through TradingView MCP? +

The TradingView MCP server has 24 write tools including alert_create, chart_compare_symbol, chart_manage_indicator. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach TradingView MCP.

How many tools does the TradingView MCP server expose? +

102 tools across 4 categories: Destructive, Execute, Read, Write. 46 are read-only. 56 can modify, create, or delete data.

How do I enforce a policy on TradingView MCP? +

Register the TradingView MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every TradingView MCP tool call.

Deterministic rules across all 102 TradingView MCP tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

102 TradingView MCP tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.