TradeCanvas — Claude Code MCP server: features and setup
This MCP server for Claude Code looks up TradeCanvas chart settings and drawing tools. It can validate option objects and map settings from TradingView libraries.
MIT ★ 93 updated 2026-11-16
claude mcp add tradecanvas -- npx -y @tradecanvas/mcpWhat TradeCanvas does
TradeCanvas gives an agent a way to find indicator details, chart options, style keys and drawing-tool requirements. Its validation tool flags unknown names and values, including problems in nested settings, and can suggest a likely correction.
For migrations from Advanced Charts, Trading Platform or Lightweight Charts, the server can map API names, outline migration steps and convert widget settings. Its tools only read data; they do not change files. The npm package requires Node 20.19 or later.
What it helps with
- look up an indicator’s default parameters
- catch invalid chart options before using them
- map TradingView API names to TradeCanvas equivalents
- convert a
createChartoptions object
Example prompts for the agent
- Find the RSI indicator and list its default parameters.
- Check these
ChartWidgetoptions and identify invalid entries. - Map this Lightweight Charts
createChartconfiguration to TradeCanvas.
How to install TradeCanvas
Platform CLI
claude mcp add tradecanvas -- npx -y @tradecanvas/mcpPlatform CLI
codex mcp add mcp -- npx -y @tradecanvas/mcpConfig file
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@tradecanvas/mcp"
]
}
}
}Config file
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tradecanvas/mcp"
]
}
}
}Platform CLI
gemini mcp add mcp npx -y @tradecanvas/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about TradeCanvas
How do I install TradeCanvas in Claude Code?
Run claude mcp add tradecanvas -- npx -y @tradecanvas/mcp.
What does TradeCanvas do?
It lets an agent inspect TradeCanvas indicators, chart options and drawing tools, validate option objects, and map settings from TradingView libraries.
What does TradeCanvas require?
Node 20.19 or later is required. The server runs through npx -y @tradecanvas/mcp.