TradingView MCP
Provides dedicated tools for Pine Script development within TradingView, including code injection into the editor, smart compilation with automatic error detection, reading console output (log.info), saving scripts to TradingView cloud, and offline static analysis. Enables AI-assisted writing, debugging, and management of custom indicators and strategies.
Provides 78 tools to read, control, and automate TradingView Desktop charts via Chrome DevTools Protocol. Enables chart navigation (symbols, timeframes, scrolling), indicator management, drawing tools (trend lines, levels, shapes), alerts, replay mode for historical backtesting, multi-pane layouts, and comprehensive chart state reading including OHLCV data, quote data, and study values.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TradingView MCPrun my morning brief and generate today's session bias"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TradingView MCP
Español · Release v1.0.2 · Repository history
Local TradingView Desktop MCP bridge for chart automation, Pine workflows, Codex support, and consent-gated trading actions.
This repository follows the same product-line layout used by Kerebrom: stable implementation lines live under versions/vN/, while the repository root stays as the product landing page and operational guide.
Current Stable Line
Line | Status | Product root | Purpose |
| current |
| TradingView Desktop MCP bridge, 100+ tools, offline/remote/live test split, hardened launcher. |
Install
git clone https://github.com/ulianbass/tradingview-mcp.git
cd tradingview-mcp/versions/v1
npm installUse this MCP server path in AI clients:
/absolute/path/to/tradingview-mcp/versions/v1/src/server.jsFor this machine, the current path is:
/Users/ulianbass/Documents/TradingView MCP/versions/v1/src/server.jsWork With The Repo
From the repository root:
npm test
npm run test:remote
npm run test:e2eThose commands delegate to versions/v1.
For direct version-line work:
cd versions/v1
npm test
npm run test:remotenpm run test:e2e requires TradingView Desktop running with Chrome DevTools Protocol enabled on port 9222.
Branch Policy
Active branch:
v1.Default GitHub branch:
v1.mainis not used in this fork.Historical or upstream references should be tags or external remotes only when intentionally needed; they should not appear as active product branches.
See docs/BRANCHES.md.
Version Docs
License
Source-available proprietary software. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ulianbass/tradingview-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server