Skip to main content
Glama

pinetop

MCP server for TradingView Desktop — control charts, Pine Script, indicators, and backtesting via CDP (Chrome DevTools Protocol).

pip install pinetop

Quick Start

# 1. Launch TradingView with CDP flags
pinetop-launch

# 2. Register with Hermes
hermes mcp add pinetop --command pinetop

# 3. Use it (in a new session after /reset)

Related MCP server: TradingView MCP Bridge

Tools (14)

Category

Tools

Chart Control

tv_get_state, tv_set_symbol, tv_set_timeframe, tv_get_ohlcv, tv_get_quote, tv_get_studies, tv_get_symbol_info, tv_screenshot

Pine Script

tv_pine_open, tv_pine_get_source, tv_pine_compile, tv_pine_get_errors

Strategy Tester

tv_open_strategy_tester, tv_get_strategy_results

Architecture

Hermes ↔ MCP stdio ↔ pinetop (FastMCP) ↔ CDP WebSocket ↔ TradingView Desktop
                                              ↓
                            window.TradingViewApi.activeChart()

Requirements

  • TradingView Desktop 3.3.x (standalone, NOT Microsoft Store)

  • Python 3.11+

  • websocket-client

License

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to interact with TradingView Desktop charts for analysis, Pine Script development, and workflow automation via Chrome DevTools Protocol.
    281
  • F
    license
    Not graded
    quality
    C
    maintenance
    Connects AI assistants to TradingView Desktop for chart analysis, Pine Script development, and workflow automation via Chrome DevTools Protocol.
    281
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to interact with locally running TradingView Desktop for chart analysis, Pine Script development, and workflow automation via Chrome DevTools Protocol.
    281

View all related MCP servers

Related MCP Connectors

  • Real-time market data, screeners, technical analysis & backtesting for stocks, crypto and forex.

  • TradeOS MCP: ticker search, My Agent, chart TA, macro news. npm stdio or HTTP.

  • [TEST] TradeOS MCP bridge: ticker search, My Agent, chart TA, macro news. npm or HTTP.

View all MCP Connectors

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/jsarmiento-dev/pinetop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server