← Back to MCP list
TradingView Desktop Bridge
v1.0.0Feature DerivationLocalFinance
Connects to a locally running TradingView Desktop app via Chrome DevTools Protocol. Provides 78 tools enabling AI to read charts, prices, indicators, manage pane layouts, and automatically write, compile, and debug Pine Script.
§ Quickstart
Add the following to your MCP client configuration (Cursor, Claude Desktop, etc.):
Run the server.js file from the locally cloned tradingview-mcp repository.
MCP Client Configuration
{
"mcpServers": {
"tradingview": {
"command": "node",
"args": [
"<请替换为你的tradingview-mcp源码目录绝对路径>/src/server.js"
]
}
}
}Config file locations
- Cursor: Settings → MCP, or edit ~/.cursor/mcp.json
- Claude Desktop: edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\)
§ Tools Reference
3 tools
chart_get_state
Get current chart state and indicators
quote_get
Get latest quote, OHLC, volume
pine_smart_compile
Compile and inject Pine Script
LadleAgent