A Model Context Protocol (MCP) server for working with TradingView PineScript
PineScript MCP Project MCP server exists for a simple reason — assistants are far more useful when they can act on PineScript MCP Project directly instead of describing what you should do. A Model Context Protocol (MCP) server for working with TradingView PineScript.
A comprehensive tool for creation, optimization, and management of PineScript trading strategies.
The server ships on npm as pinescript-mcp-server, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Once PineScript MCP Project is connected, these are the calls the assistant has available:
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 troubleshootingThis sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. PineScript MCP Project's toolset — run-ui-clean.bat, run-ui-admin.bat, serve-test-page.bat and 11 more — is a fair guide to whether it matches your workflow. It is maintained by cklose2000; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against PineScript MCP Project's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| 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) |
| check-connectivity.bat | Comprehensive network connectivity diagnostics |
| check-windows-firewall.bat | Check firewall status and rules |
| allow-node-firewall.bat | Add Node.js to Windows Firewall exceptions |
| test-network-connection.bat | Test specific network connections |
| test-port-3000.bat | Test if port 3000 is available |
| kill-port-3000.bat | Kill any process using port 3000 |
| ui-connect-guide.md | Comprehensive guide to UI connectivity troubleshooting |
| README-UI.md | UI-specific documentation |
| Prerequisites | The Prerequisites tool exposed by this server. |
{
"mcpServers": {
"pinescript": {
"command": "npx",
"args": ["-y", "pinescript-mcp-server"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.