tradingview-mcp-codex
Provides tools to control TradingView Desktop via Chrome DevTools Protocol, allowing symbol and timeframe changes, chart state queries, and launch management.
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-mcp-codexSet symbol to BTCUSD on 15-minute chart"
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-codex
Codex-first TradingView MCP bridge for TradingView Desktop via Chrome DevTools Protocol.
This project adapts ideas and workflows from tradesdontlie/tradingview-mcp for Codex:
same local TradingView Desktop CDP model
Codex-friendly MCP setup
thin shared core for CLI and MCP tools
clearer Codex install and workflow docs
Status
Current scaffold ships working base pieces:
CLI:
tvx launchtvx statustvx symbol <SYMBOL>tvx timeframe <TF>
MCP tools:
tvx_launchtvx_health_checktvx_set_symboltvx_set_timeframetvx_chart_state
It does not yet expose full upstream feature parity. Use vendor/tradingview-mcp as feature reference while growing this Codex-first server.
Goals
keep MCP server small and readable
share logic across CLI and MCP tools
document Codex setup better than Claude-only examples
make feature parity work incremental and explicit
Prerequisites
Node.js 18+
TradingView Desktop installed
valid TradingView subscription for your own local app usage
Codex CLI with MCP support
Install
npm installRun locally
Start MCP server:
npm startUse CLI:
npm run launch
npm run health
node src/cli/index.js symbol BBCA
node src/cli/index.js timeframe 1Add to Codex
Register global MCP entry:
codex mcp add tradingview-codex -- node /Users/you/Projects/tradingview-mcp-codex/src/server.jsCheck config:
codex mcp list
codex mcp get tradingview-codexRestart Codex session after adding server so tool list refreshes.
Quick verification
Launch TradingView with CDP:
npm run launch
Check CLI connection:
npm run health
In fresh Codex session, call MCP tool:
tvx_health_check
Documentation
Codex setup:
docs/CODEX_SETUP.mdFeature mapping from upstream reference:
docs/FEATURE_PARITY.mdSkill port plan:
docs/SKILLS.md
Reference source
Primary reference used while shaping this project:
upstream repo:
vendor/tradingview-mcp/README.mdupstream setup:
vendor/tradingview-mcp/SETUP_GUIDE.mdupstream Claude workflows:
vendor/tradingview-mcp/CLAUDE.md
Upstream project:
https://github.com/tradesdontlie/tradingview-mcp
Design notes
keep shared TradingView logic in
src/corekeep CLI wrappers thin in
src/clikeep MCP wrappers thin in
src/toolsprefer explicit, JSON-friendly outputs
port upstream features one workflow at time instead of blind copy
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/gagahkharismanuary/tradingview-mcp-codex'
If you have feedback or need assistance with the MCP directory API, please join our Discord server