Basic information
About TradingView PineScript MCP Server
# TradingView PineScript MCP Server
TradingView PineScript MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by CyberBOB07. Supported transport: stdio. Runtime: node. The repository has 47 GitHub stars. Source code is hosted on github.com. Related topics: mcp-server, pinescript, tradingview.
TradingView PineScript MCP Server config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
TradingView PineScript MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is TradingView PineScript MCP Server?
A Model Context Protocol (MCP) server for working with TradingView PineScript. It provides tools for validating, fixing, and generating PineScript code through a standardized API, intended for developers and traders who need to automate PineScript workflows.
How to use TradingView PineScript MCP Server?
Install Node.js 16.x or higher and npm 8.x or higher. Clone the repository, run npm install, then npm run build, and start the server with npm run start-server (uses stdio transport). The server exposes three tools: validate_pinescript, fix_pinescript_errors, and get_pinescript_template.
Key features of TradingView PineScript MCP Server
- Validates PineScript code for syntax errors and warnings.
- Automatically fixes common PineScript syntax errors.
- Provides validated templates for strategies and indicators.
- Supports PineScript versions v5 and v4 as parameters.
- Checks for empty scripts, parentheses balance, string quotes, and more.
Frequently asked questions
1 What are the prerequisites for running the TradingView PineScript MCP Server?
Node.js 16.x or higher and npm 8.x or higher are required.
2 How do I start the TradingView PineScript MCP Server?
After building the project, run npm run start-server to start the server with stdio transport.
3 What tools does the TradingView PineScript MCP Server provide?
Three tools: validate_pinescript (validation), fix_pinescript_errors (automatic error fixing), and get_pinescript_template (template generation).
4 What PineScript versions does the TradingView PineScript MCP Server support?
The version parameter accepts values like 'v5' and 'v4'. The fixer can handle deprecated study() function and other v5-specific issues.
5 What types of errors can the TradingView PineScript MCP Server automatically fix?
Missing version annotations, unbalanced parentheses, unclosed string literals, missing commas in function calls, deprecated study() function, and incorrect variable export syntax.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In