Tv Pinescript Backtest Engine MCP Server

Production-ready MCP server for running TradingView Pine Script strategy backtests (Binance data) from AI agents.

Local serverstdio

What is the Tv Pinescript Backtest Engine MCP MCP server?

Production-ready MCP server for running TradingView Pine Script strategy backtests (Binance data) from AI agents. Exposed over MCP by the tv pinescript backtest engine mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

Its toolset

Everything the assistant can do here goes through one of these:

  • OpenCode — The OpenCode tool exposed by this server
  • Cursor — Note: the same MCP configuration is used by cursor-agent CLI
  • Codex — Add to ~/.codex/config.toml (or .codex/config.toml in a trusted project):

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

When to reach for it

Among the planning and project tracking options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Tv Pinescript Backtest Engine MCP's toolset — OpenCode, Cursor, Codex — is a fair guide to whether it matches your workflow. It is maintained by vtlk; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Tv Pinescript Backtest Engine MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the tv pinescript backtest engine mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
OpenCodeThe OpenCode tool exposed by this server.
CursorNote: the same MCP configuration is used by cursor-agent CLI.
CodexAdd to ~/.codex/config.toml (or .codex/config.toml in a trusted project):

How to install the Tv Pinescript Backtest Engine MCP MCP server

Project file (`.mcp.json`):

```json
{
  "mcpServers": {
    "tvmcp": {
      "type": "http",
      "url": "https://backtest-engine-mcp.click/mcp/backtest",
      "headers": {
        "Authorization": "Bearer <API_KEY>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Tv Pinescript Backtest Engine MCP to OpenCode.
  • Use Tv Pinescript Backtest Engine MCP to Cursor.
  • Use Tv Pinescript Backtest Engine MCP to Codex.

Frequently asked questions

It connects Tv Pinescript Backtest Engine MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (OpenCode, Cursor, Codex) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Tv Pinescript Backtest Engine MCP directly.