tradingview-desktop-mcp (Unjoselo/tradingview-desktop-mcp) is an MCP server listed on the M8ven Trust Index. It scores 73 out of 100, grade C. It declares 22 tools. No publisher has claimed this listing.

C
Caution
73/100

tradingview-desktop-mcp

Controls the TradingView Desktop app via MCP, allowing AI agents to manage charts, indicators, Pine Script strategies, and optionally mirrors signals to MetaTrader 5 for automated trading.

Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.

How we verified

⚡ Live Monitored: not connected

Verified is a snapshot. Live keeps it current, and builds your track record.

⚡ Connect GitHub → continuous verification on every pushwhy connect →

Who stands behind it

Unjoselo

Source: Glama

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →

Install from

The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.

// key findings
⚠️
Tool descriptions don’t match what handlers do
1 tool describes read intent but its handler mutates — tv_list_studies (line 274: return _ok(client.eval("TradingViewApi.activeChart().getAllStudies()")))
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
// tools this server exposes22 tools

These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.

tv_status

TradingView status: app running, CDP connected, current symbol and timeframe.

tv_launch

Launch TradingView Desktop with the CDP debugging port. No-op if already running with CDP.

tv_screenshot

Capture the current TradingView chart. Returns the PNG image plus the path of a copy saved to the temp dir (for clients that don't render MCP images).

tv_get_chart

Active chart info: symbol, resolution, type, visible range, timezone and studies.

tv_set_symbol

Change the active chart symbol. E.g. 'OANDA:XAUUSD', 'BINANCE:BTCUSDT', 'NASDAQ:AAPL'.

tv_set_resolution

Change the chart timeframe. Values: '1','5','15','30','60','240','1D','1W','1M'.

tv_list_studies

List the indicators/strategies loaded on the active chart (id + name).

tv_add_study

Add an indicator to the chart by name. E.g. 'RSI', 'MACD', 'Bollinger Bands'.

tv_remove_study

Remove a study from the chart by its id (see tv_list_studies).

tv_strategy_report

Strategy Tester report for the active strategy (performance, trades, etc.). Requires a strategy to be selected in the Strategy Tester panel.

tv_pine_open_editor

Open the Pine Editor panel.

tv_pine_set_script

Write Pine Script code into the editor (replaces current content). Then use tv_pine_add_to_chart to compile and add it to the chart.

tv_pine_add_to_chart

Compile the Pine Editor script and add it to the chart. update_existing=True updates the already-added script instead of duplicating it. NOTE: TradingView's free (Basic) plan limits indicators per chart; when the limit is hit a 'gopro' popup appears and the script is NOT added (reported by this tool

tv_close_popups

Close open TradingView dialogs/popups (e.g. 'gopro' plan-limit promos).

tv_eval_js

Evaluate arbitrary JavaScript in the TradingView chart page (escape hatch). Useful objects: TradingViewApi, TradingViewApi.activeChart(), TradingViewApi.activeChart().chartModel().dataSources(). Use await_promise=true if the expression returns a Promise.

mt5_status

MT5 terminal and account status: server, login, demo/real, balance, equity, margin.

mt5_symbol_info

Quote and contract details for a symbol (bid/ask, spread, contract size, lot limits).

mt5_candles

Last N OHLCV candles for a symbol. timeframe: M1,M5,M15,M30,H1,H4,D1,W1,MN1. The LAST candle is still forming — do not treat it as closed.

mt5_positions

Open positions, optionally filtered by symbol and/or magic number (0 = no filter).

mt5_order_open

Open a market position. direction: 'LONG' or 'SHORT'. sl/tp are absolute prices (0 = none). DEMO-ONLY unless the server was started with MT5_ALLOW_REAL=1.

mt5_close

Close positions: a specific ticket, or all matching symbol and/or magic filters. At least one filter is required (refuses to blindly close everything). DEMO-ONLY unless the server was started with MT5_ALLOW_REAL=1.

mt5_history

Closed deals from the last N days, optionally filtered by symbol/magic. Returns entry/exit pairs with realized P&L.

// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configTV_CDP_PORTEnvironment variables: (default 9222), TV_EXE_PATH (default: auto-discover Store/installer paths).
configTV_EXE_PATHEnvironment variables: TV_CDP_PORT (default 9222), (default: auto-discover Store/installer paths).
configMT5_TERMINAL_PATHEnvironment variables: (default: auto-detect), MT5_ALLOW_REAL=1 to enable trading tools on real accounts (off by default, on purpose).
configMT5_ALLOW_REALEnvironment variables: MT5_TERMINAL_PATH (default: auto-detect), =1 to enable trading tools on real accounts (off by default, on purpose).
// quality suggestions

Tool annotations

No tools have read-only/destructive annotations

Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.

All four hints declared on every tool

22/22 tools missing one or more hints — tv_status (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); tv_launch (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); tv_screenshot (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +19 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.

For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.

Descriptions match behaviour

1 tool describes read intent but its handler mutates — tv_list_studies (line 274: return _ok(client.eval("TradingViewApi.activeChart().getAllStudies()")))

Rename the tool, rewrite the description, or move the side-effect into a separate clearly-named tool.

Tool test coverage

Only 5/22 tools referenced in tests (23%)

Write tests that reference each tool by name so every tool has at least one test.

Tool description accuracy

tv_list_studies: description implies read-only but handler writes/deletes/executes

Update tool descriptions to accurately reflect all capabilities — especially write, delete, or execute operations.

Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Verified](https://m8ven.ai/badge/mcp/unjoselo/tradingview-desktop-mcp?variant=verified)](https://m8ven.ai/mcp/unjoselo/tradingview-desktop-mcp)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: 9ff6aa4bc9ff39732ee5b17b4afa5572aeda5537
code hash: 11870d991465bfaab896cbe68d3333230469b45eeae28243f38ec9373874cce7
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.

https://m8ven.ai/api/mcp/tool-check
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client