Back to Home
apache icon

echarts-mcp

Verified Safe

by apache

Overview

Serves as a Model Context Protocol (MCP) server to generate ECharts data visualizations (as image URLs) based on parameters provided by a Large Language Model (LLM).

Installation

Run Command
npm run dev

Environment Variables

  • BOS_ENDPOINT
  • BOS_AK
  • BOS_SK
  • BOS_BUCKET
  • BOS_CDN_ENDPOINT
  • SERVER_PORT

Security Notes

The server handles API keys and sensitive credentials exclusively via environment variables (checked through .env file presence), which is a good practice. Input data for chart generation is validated for basic array and object structures, and then transformed into ECharts-compatible formats, reducing the risk of arbitrary code injection from LLM outputs. No direct use of `eval` or code obfuscation was detected. The primary security considerations would involve potential vulnerabilities within the ECharts or Canvas rendering libraries themselves, or insecure configurations of the Baidu Cloud Storage (BOS) for image uploads.

Similar Servers

Stats

Interest Score50
Security Score8
Cost ClassMedium
Avg Tokens30
Stars52
Forks4
Last Update2025-12-08

Tags

EChartsData VisualizationLLM IntegrationMCP ServerChart Generation