MCP.so
ログイン

TradingView PineScript MCP Server

@CyberBOB07

基本情報

カテゴリ

その他

トランスポート

stdio

作者

CyberBOB07

TradingView PineScript MCP Server について

概要はまだありません

#pinescript#tradingview#mcp-server

TradingView PineScript MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

TradingView PineScript MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

—

よくある質問

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.

コメント

「その他」の他のコンテンツ