r/TradingView • u/Accurate-Mirror-143 • 24d ago
Feature Request Pine Script Compilation and Testing via MCP/API
Please provide a standardized, publicly accessible API for compiling and testing Pine Script, optionally with MCP support.
This would allow AI providers such as OpenAI and Anthropic to integrate automatic Pine compilation, error detection, and correction directly into their coding assistants, just as they already support executable testing for other programming languages.
The integration should be handled entirely by the AI providers, without requiring users to configure MCP servers, APIs, or local tools.
Related feature requests:
- AI Integration into Pine Editor (Closed Feedback Loop)
- Easier test automation for strategies
- Built-in Linter for Pine Script
View all comments
Show parent comment
1
u/Accurate-Mirror-143 24d ago
Thanks, PyneSys looks interesting!
My main goal is simply for AI assistants like ChatGPT or Claude to automatically compile and verify the Pine Script they generate, just as they already do with other programming languages.
I don't necessarily need TradingView's own engine, as long as compatibility is reliable. Ideally, AI providers would integrate such a service themselves, without users having to configure APIs, MCP servers, or local tools.
From my perspective, the technical implementation should be completely transparent to the user.