The steps to configure mcp-echarts to integrate with AI applications (e.g. Claude, VSCode plug-ins, etc.) on Windows are as follows:
- Modify the configuration file: Add MCP service configuration to the configuration file of the AI application, specifying mcp-echarts as an available tool
- Configuration example::
{ "mcpServers": { "mcp-echarts": { "command": "cmd", "args": [ "/c", "npx", "-y", "mcp-echarts" ] } } } - Auto-run mechanism: Once configured, when the user issues a drawing command, the AI will automatically invoke the
cmd /c npx -y mcp-echartscommand - Zero Installation Features: Use
npx -yAutomatically downloads and runs the latest version, no need to install it manually.
This integration makes chart generation completely transparent to the user. The user simply describes the requirements in natural language, and the AI automatically handles the configuration details, ultimately returning a complete visualization. The whole process does not require the user to get involved in the technical details, which greatly reduces the threshold of use.
This answer comes from the articleMCP ECharts: MCP tool for generating ECharts visualization chartsThe
































