TradingView MCP
Provides tools for interacting with TradingView charts and platform, including chart navigation, market data and indicators, Pine Script management, drawing, screenshots, alerts, watchlists, replay, batch, panes, tabs, and UI. Launches headless Chromium to control TradingView charts remotely.
Click on "Deploy 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 MCPadd RSI to the BTCUSD 1h chart and screenshot it"
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 on Botkeep (Full 84 Tools + Headless Chromium + HTTP/SSE)
Bản triển khai đầy đủ 84 công cụ của tradesdontlie/tradingview-mcp được tích hợp sẵn:
Headless Chromium tự chứa (
@sparticuz/chromium): Tự giải nén và khởi chạy biểu đồhttps://www.tradingview.com/chart/ngay trong container Linux của Botkeep (2GB RAM / 1.5 CPU) mà không cần quyềnroot, không cầnapt/snap, không cầnXvfb.Remote MCP Server (
Streamable HTTP&SSE): Mở sẵn cổng HTTP để bạn chỉ việc dán URL MCP vào Claude / Cursor / Bot / Agent và gọi toàn bộ 84 tool từ xa.
1. Triển khai trên Botkeep (botkeep.cloud)
Tạo server Node.js (khuyến nghị cấu hình 2GB RAM / 1.5 vCPU).
Chọn Import from GitHub → chọn repo:
Repository:
vantuanhappy04-web/botkeep-tradingview-mcpBranch:
mainStart command:
npm start
(Tùy chọn) Cài đặt biến môi trường (Environment) trên Botkeep:
MCP_API_KEY: Mật khẩu bảo vệ endpoint MCP (nếu để trống thì mở tự do không cần token).TV_SESSIONIDvàTV_SESSIONID_SIGN: Cookie đăng nhập tài khoản TradingView của bạn (lấy trong DevTools → Application → Cookies →https://www.tradingview.com) nếu bạn muốn dùng tài khoản trả phí, lưu layout hoặc Pine Script cá nhân. Không điền vẫn dùng được bình thường ở chế độ khách (xem giá, nến OHLCV, thêm/bớt chỉ báo RSI/MACD/EMA, vẽ chart, chụp ảnh chart...).
Bấm Start và đợi khoảng 15–20 giây để Chromium khởi động biểu đồ TradingView.
Related MCP server: tradingview-mcp
2. Các đường dẫn (Endpoints) sau khi chạy
Giả sử URL Botkeep cấp cho bạn là https://your-app.botkeep.cloud:
Endpoint | Mục đích |
| Kiểm tra trạng thái Chromium + biểu đồ TradingView ( |
| Streamable HTTP MCP (chuẩn MCP mới nhất — hỗ trợ cả có session và stateless) |
| SSE MCP (cho các client MCP dùng giao thức SSE) |
| Truyền JSON |
| Khởi động lại Headless Chromium |
3. Cách kết nối từ MCP Client (Claude, Cursor, Bot...)
Cách A — Kết nối trực tiếp qua Streamable HTTP / SSE
Nếu client hỗ trợ URL MCP trực tiếp:
{
"mcpServers": {
"tradingview": {
"url": "https://your-app.botkeep.cloud/mcp"
}
}
}(Hoặc đổi /mcp thành /sse nếu client dùng SSE).
Cách B — Kết nối từ Claude Desktop / Claude Code qua mcp-remote
{
"mcpServers": {
"tradingview": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://your-app.botkeep.cloud/mcp"
]
}
}
}Nếu bạn có đặt MCP_API_KEY=mat-khau-cua-ban, thêm ?apiKey=mat-khau-cua-ban vào cuối URL hoặc truyền header Authorization: Bearer mat-khau-cua-ban.
4. Danh sách 14 nhóm công cụ (84 Tools)
Health & Launch:
tv_health_check,tv_discover,tv_ui_state,tv_launch,tv_updateChart Navigation:
chart_get_state,chart_set_symbol,chart_set_timeframe,chart_set_type,chart_manage_indicator,chart_scroll_to_date,chart_zoom,chart_reset_view, ...Market Data & Indicators:
quote_get,data_get_ohlcv,data_get_study_values,data_get_pine_lines,data_get_pine_labels,data_get_pine_tables,data_get_pine_boxes,data_get_strategy_results, ...Indicators Config:
indicator_list,indicator_add,indicator_remove,indicator_toggle,indicator_get_inputs,indicator_set_inputsPine Script:
pine_get_source,pine_set_source,pine_smart_compile,pine_get_errors,pine_get_console,pine_analyze, ...Drawing:
draw_shape,draw_list,draw_get,draw_remove,draw_clearScreenshots:
capture_screenshotAlerts, Watchlist, Replay, Batch, Panes, Tabs, UI: Đầy đủ từ
tradesdontlie/tradingview-mcp.
This server cannot be deployed
Maintenance
Related MCP Connectors
Live LinReg fan charts, 64-setup playbook, 11-section MTF TA. Remote MCP, no API key.
> TradingMCP puts a market analyst inside your AI assistant. Paste one URL into Claude, ChatGPT, Cursor, VS Code or any MCP client and ask in plain language: screen for breakouts, run a multi-timeframe analysis, backtest a strategy with walk-forward validation, scan for smart-money and volume signals, or get a one-prompt morning market brief. In clients that support MCP Apps, price charts and the Markets panel are drawn right in the chat. > 40+ tools covering crypto (real-time), stocks, ETFs, FX, futures and commodities across major global exchanges. > Hosted, nothing to install: Pro $9/month (2,500 tool calls) or Pro+ $29/month (10,000). Paid upfront with a 14-day money-back guarantee; your API key arrives right after checkout. > Built on the open-source tradingview-mcp core (MIT, ~5k GitHub stars): self-host it free, or use the hosted version with zero ops. > For research and education, not financial advice. Not affiliated with TradingView
- FensoryOAuthcom.fensory
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Related MCP Servers
- AlicenseBqualityAmaintenanceMCP server that lets AI agents directly control and interact with the TradingView desktop app via 88 chart-control tools, enabling automated chart reading, Pine Script compilation, strategy optimization, and replay control.411349 npm47MIT
- AlicenseAqualityCmaintenanceA type-safe MCP server that enables AI agents to control TradingView Desktop via Chrome DevTools Protocol, allowing chart state reading, symbol/timeframe changes, and OHLCV data fetching.1147 npm1MIT
- FlicenseNot gradedqualityBmaintenanceMCP server that connects AI assistants to TradingView Desktop via Chrome DevTools Protocol, enabling chart analysis, Pine Script development, and workflow automation through natural language.47 npm-
- FlicenseNot gradedqualityCmaintenanceMCP server for controlling TradingView Desktop via CDP, enabling chart navigation, Pine Script development, replay trading, and a morning brief workflow with customizable rules.47 npm-