version
(string, optional): Expected PineScript version (e.g., 'v5', 'v4')
How to use it
version is exposed by the Pinescript MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the version tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL PINESCRIPT MCP SERVER LISTINGOther tools in Pinescript MCP Server (11)
(string[]): List of changes made
(string[]): List of syntax errors
(boolean): Whether any fixes were applied
(string): The fixed script
(string): Confirmation message
(string): Template name
(string): The PineScript code to validate
(string): The template code
(string): Type of template ('strategy' or 'indicator')
(boolean): Whether the script is valid
(string[]): List of warnings