MCP.so
登录

TradingView PineScript MCP Server

@CyberBOB07

关于 TradingView PineScript MCP Server

暂无概览

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

CyberBOB07

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

Use cases of TradingView PineScript MCP Server

FAQ from TradingView PineScript MCP Server

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.

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.

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).

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.

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.

评论

其他 分类下的更多 MCP 服务器