High-risk tools in TradingView MCP Bridge
26 of the 78 tools in TradingView MCP Bridge are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
batch_runExecuteRun an action across multiple symbols and/or timeframes
-
pine_compileExecuteCompile / add the current Pine Script to the chart
-
pine_smart_compileExecuteIntelligent compile: detects button, compiles, checks errors, reports study changes
-
replay_startExecuteStart bar replay mode, optionally at a specific date
-
replay_stopExecuteStop replay and return to realtime
-
replay_tradeExecuteExecute a trade action in replay mode (buy, sell, or close position)
-
tab_newExecuteOpen a new chart tab
-
tv_launchExecuteLaunch TradingView Desktop with Chrome DevTools Protocol (remote debugging) enabled. Auto-detects install location on Mac, Windows, and Linux.
-
ui_evaluateExecuteExecute JavaScript code in the TradingView page context for advanced automation
-
pane_focusExecuteFocus a specific chart pane by index (0-based)
-
pine_analyzeExecuteRun static analysis on Pine Script code WITHOUT compiling — catches array out-of-bounds, unguarded array.first()/last(), bad loop bounds, and implicit bool casts. Works offline,...
-
pine_checkExecuteCompile Pine Script via TradingView\
-
replay_stepExecuteAdvance one bar in replay mode
-
ui_fullscreenExecuteToggle TradingView fullscreen mode
-
ui_hoverExecuteHover over a UI element by aria-label, data-name, or text content
-
ui_keyboardExecutePress keyboard keys or shortcuts (e.g., Enter, Escape, Alt+S, Ctrl+Z)
-
chart_scroll_to_dateExecuteJump the chart view to center on a specific date
-
chart_set_visible_rangeExecuteZoom the chart to a specific date range (unix timestamps)
-
layout_switchExecuteSwitch to a saved chart layout by name or ID
-
replay_autoplayExecuteToggle autoplay in replay mode, optionally set speed
-
tab_switchExecuteSwitch to a chart tab by index
-
ui_clickExecuteClick a UI element by aria-label, data-name, text content, or class substring
-
ui_mouse_clickExecuteClick at specific x,y coordinates on the TradingView window
-
ui_open_panelExecuteOpen, close, or toggle TradingView panels (pine-editor, strategy-tester, watchlist, alerts, trading)
-
ui_scrollExecuteScroll the chart or page up/down/left/right
-
ui_type_textExecuteType text into the currently focused input/textarea element
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.