Tvcontrol
MCP server by FerroxLabs Verified · npm:@ferroxlabs
Lets an AI assistant read and control the TradingView Desktop chart on your machine over the Chrome DevTools Protocol. It is aimed at traders and developers who want to run Pine Script, sweeps, snapshots and replay by prompt.
Install Tvcontrol
Built from the published package, never by AI.
claude mcp add tvcontrol -- npx -y @ferroxlabs/tvcontrolRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"tvcontrol": {
"args": [
"-y",
"@ferroxlabs/tvcontrol"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"tvcontrol": {
"args": [
"-y",
"@ferroxlabs/tvcontrol"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"tvcontrol": {
"args": [
"-y",
"@ferroxlabs/tvcontrol"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add tvcontrol -- npx -y @ferroxlabs/tvcontrol{
"mcpServers": {
"tvcontrol": {
"args": [
"-y",
"@ferroxlabs/tvcontrol"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add tvcontrol npx -y @ferroxlabs/tvcontrolGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the tvcontrol block.
About
TVControl is an MCP server that connects an AI assistant to TradingView Desktop. It uses the debugging interface built into Chromium apps, so the assistant can read symbols and indicators, edit and compile Pine Script, take screenshots, run parameter sweeps, step through replay and set alerts. The source says it exposes 113 chart-control and diagnostic tools and works with any client that can launch an MCP server over stdio.
The project is published by Ferrox Labs and installs from npm as @ferroxlabs/tvcontrol. The source states that it has no TVControl cloud backend and that actions run inside the TradingView app on the user's machine. It is intended for people who want to talk to their chart and automate routine chart work.
Written from the project's README and checked against it.
Tools it gives your assistant
chart_vision_readReturns symbol, timeframe, indicator values, Pine drawings, an OHLCV summary and a screenshot in one call.strategy_sweepTests a strategy across a grid of symbols, timeframes and inputs, with a cap of 500 combinations.pine_openOpens a saved Pine Script in the editor and checks the editor title before reporting success.pine_get_script_sourceReads a saved Pine script over the REST API without touching the editor.capture_screenshotTakes a chart screenshot, and only from a visible tab so the image is not stale.replay_startStarts replay at a chosen date and refuses dates outside the symbol's replay depth.chart_set_symbolChanges the chart symbol and reports chart_ready so a timed-out call is not retried by mistake.indicator_add_from_searchAdds an indicator by name and polls until the study appears.alert_create_bulkCreates alerts across a watchlist, priced from each symbol's last trade, and checks the batch afterwards.tv_health_checkConfirms the connection between the assistant and the running TradingView Desktop app.
What you need
- TradingView Desktop running with the remote debugging port enabled
- Node.js, with the package installed through npm
- Windows, macOS or Linux
- An MCP-compatible AI client that can launch a server over stdio
Try asking
- Use chart_vision_read to summarise my chart and its indicator values.
- Use strategy_sweep to test my strategy on SPY, QQQ and IWM across 5 and 15 minute bars.
- Snapshot my current chart as morning-prep, then restore it later.
Good to know
- Depends on TradingView Desktop's internal debugging interface, which the source says may change between versions.
- Screenshots are refused when the chart tab is not visible.
- Strategy sweeps are capped at 500 combinations.
- On Windows Store installs, CDP access may be blocked and a local copy is launched instead.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Tvcontrol
All alternatives →Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.
Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.
Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.
SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.
Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.
Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.
Compare with browser-use, Pomerado or Selenide
Tvcontrol: common questions
Does TVControl send my chart data to a cloud service?
The source says there is no TVControl cloud backend and that actions run inside TradingView Desktop on your machine. Explicitly selected public-API helpers still communicate with TradingView as documented.
What happens if a chart change times out?
The source says a thrown error means nothing changed. Where a readiness wait expires after a change is applied, the tool returns chart_ready: false and says not to retry.
Can TVControl save over the wrong Pine script?
The source says pine_open now reads the editor title back and refuses on a mismatch. It also says Save and close is never clicked for the user.
How do I install Tvcontrol?
In Claude Code run claude mcp add tvcontrol -- npx -y @ferroxlabs/tvcontrol. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Tvcontrol the official server?
Tvcontrol is published by npm:@ferroxlabs from its verified domain in the official MCP Registry.
Is Tvcontrol free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is Tvcontrol safe to use?
It scores 52 of 100. Grades: licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Tvcontrol?
Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.
Does Tvcontrol work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
