CP

cklose2000/pinescript-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

105 stars 25 forks 品質 50 トレンド 15

cklose2000/pinescript-mcp-server は、https://github.com/cklose2000/pinescript-mcp-server. からインポートされた MCP サーバー候補です。

概要

cklose2000/pinescript-mcp-server は、https://github.com/cklose2000/pinescript-mcp-server. からインポートされた MCP サーバー候補です。

概要(AI 翻訳)

PineScript取引戦略の作成、最適化、管理のための包括的なツールです。

プロジェクト構成

クイックスタート

  1. 依存関係のインストール:

  2. UIを起動(1つの方法を選択):

  3. ウェブインターフェースへのアクセスは以下の場所で:

(デスクトップアプリのオプションでは必須ではありません)

UIオプション

このプロジェクトにはUIにアクセスするための複数の方法が含まれています:

1.Next.js開発サーバー

2.代替サーバーオプション

3.デスクトップアプリケーション

ウェブサーバーに接続の問題がある環境:

UI サーバーのトラブルシューティング

UIサーバーで接続問題が発生した場合:

  1. ファイアウォールの設定を確認する
  2. ファイアウォール例外スクリプトを実行する: npm run firewall:allow
  3. 接続の詳細なトラブルシューティングについてはscripts/docs/ui-connect-guide.mdを参照してください
  4. デスクトップアプリオプションを試してください:npm run ui:electron

ユーティリティスクリプト

リポジトリには、開発やトラブルシューティングを支援する複数のユーティリティスクリプトが含まれています。

Essential Server Scripts(scripts/server/で表記)

  • run-ui-clean.bat - UIサーバー起動用のメインスクリプト(既存プロセスのクリーンアップ)
  • run-ui-admin.bat - 管理者権限を持つUIサーバーを起動します
  • 『ページを送り出せ。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

PineScript MCP Project

A comprehensive tool for creation, optimization, and management of PineScript trading strategies.

Project Structure

├── src/             # Core application code
├── ui/              # Next.js web interface
├── dist/            # Compiled JavaScript
├── docs/            # Documentation
├── scripts/         # Utility scripts
│   ├── server/      # Server management scripts
│   ├── network/     # Network diagnostics scripts
│   └── docs/        # Documentation
├── data/            # Data files
├── tests/           # Application tests
├── examples/        # Example scripts and strategies
└── memory-bank/     # Project context and information

Quick Start

  1. Install dependencies:

    npm install
    
  2. Start the UI (choose one method):

    # Standard Next.js development server
    npm run ui
    
    # Clean start with port cleanup
    npm run ui:clean
    
    # Alternative Express server (if Next.js has issues)
    npm run ui:express
    
    # Desktop app (no web server required)
    npm run ui:electron
    
  3. Access the web interface at:

    http://localhost:3001
    

    (Not required for the desktop app option)

UI Options

The project includes multiple ways to access the UI:

1. Next.js Development Server

# Standard Next.js dev server
npm run ui

# Clean start (kills any existing processes using the ports)
npm run ui:clean

# Start with administrator privileges (for stubborn processes)
npm run ui:admin

2. Alternative Server Options

# Simple Express server (more stable alternative)
npm run ui:express

# Basic HTML test page server
npm run ui:test

3. Desktop Application

For environments where web servers have connectivity issues:

# Electron desktop application (no web server required)
npm run ui:electron

Troubleshooting UI Server

If you experience connection issues with the UI server:

  1. Check your firewall settings
  2. Run the firewall exception script: npm run firewall:allow
  3. See the scripts/docs/ui-connect-guide.md for detailed connection troubleshooting
  4. Try the desktop app option: npm run ui:electron

Utility Scripts

The repository includes several utility scripts to help with development and troubleshooting:

Essential Server Scripts (in scripts/server/)

  • run-ui-clean.bat - Main script to start the UI server (cleans up existing processes)
  • run-ui-admin.bat - Starts the UI server with administrator privileges
  • serve-test-page.bat - Serves a simple HTML test page on port 8000 to test connectivity
  • run-express-server.bat - Starts an Express server as an alternative to Next.js
  • run-electron-app.bat - Starts the Electron desktop application (no web server required)

Network Troubleshooting (in scripts/network/)

  • check-connectivity.bat - Comprehensive network connectivity diagnostics
  • check-windows-firewall.bat - Check firewall status and rules
GitHub で README 全文を見る

インストール

npx pinescript-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →