A Model Context Protocol (MCP) server for working with TradingView PineScript
A comprehensive tool for creation, optimization, and management of PineScript trading strategies.
โโโ 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
Install dependencies:
npm install
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
Access the web interface at:
http://localhost:3001
(Not required for the desktop app option)
The project includes multiple ways to access the UI:
# 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
# Simple Express server (more stable alternative)
npm run ui:express
# Basic HTML test page server
npm run ui:test
For environments where web servers have connectivity issues:
# Electron desktop application (no web server required)
npm run ui:electron
If you experience connection issues with the UI server:
npm run firewall:allowscripts/docs/ui-connect-guide.md for detailed connection troubleshootingnpm run ui:electronThe repository includes several utility scripts to help with development and troubleshooting:
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 privilegesserve-test-page.bat - Serves a simple HTML test page on port 8000 to test connectivityrun-express-server.bat - Starts an Express server as an alternative to Next.jsrun-electron-app.bat - Starts the Electron desktop application (no web server required)check-connectivity.bat - Comprehensive network connectivity diagnosticscheck-windows-firewall.bat - Check firewall status and rulesallow-node-firewall.bat - Add Node.js to Windows Firewall exceptionstest-network-connection.bat - Test specific network connectionstest-port-3000.bat - Test if port 3000 is availablekill-port-3000.bat - Kill any process using port 3000ui-connect-guide.md - Comprehensive guide to UI connectivity troubleshootingREADME-UI.md - UI-specific documentationnpm run build
npm test
See the docs/ directory for detailed documentation on:
This project is proprietary and confidential.
Copyright ยฉ 2025. All rights reserved.
No configuration available
Related projects feature coming soon
Will recommend related projects based on sub-categories