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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

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.
    552
    -
  • 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.
    552
    -
  • 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.
    552
    -

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