pinescript-mcp-server

pinescript-mcp-server

14

The TradingView PineScript MCP Server is designed to facilitate working with TradingView PineScript through a standardized API. It provides tools for code validation, error correction, and template generation.

TradingView PineScript MCP Server

A Model Context Protocol (MCP) server dedicated to working with TradingView PineScript. Key features include:

  • PineScript Validation: Validates code for syntax errors and warnings.
  • Error Fixing: Fixes common syntax errors in PineScript code.
  • Template Generation: Provides templates for PineScript strategies and indicators.

Getting Started

Prerequisites

  • Node.js 16.x or higher
  • npm 8.x or higher

Installation

  1. Clone the repository: [repository link]
  2. Install dependencies with npm.
  3. Build the project.

Running the Server

Start the MCP server with stdio transport to communicate with MCP clients.