CP

cklose2000/pinescript-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

106 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 시작 (한 가지 방법 선택):

  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

유틸리티 스크립트

저장소에는 개발과 문제 해결을 돕는 여러 유틸리티 스크립트가 포함되어 있습니다:

필수 서버 스크립트 (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 가이드부터 시작하세요 →