EChart Server
About
A Go service that dynamically generates ECharts chart pages from JSON configurations.
Details
- Author
- cnkanwei
- Categories
- Developer Tools, Other
Jump to
Setup
Install EChart Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/cnkanwei/mcp-server-echart
Follow the installation instructions in the repository README, then restart your MCP client.
一个基于mcp-go框架构建的 Go 服务,它提供了一个能动态生成 ECharts 图表页面的工具。
- 动态图表生成:通过调用工具,传入 ECharts 的 JSON 配置,即可生成一个独立的 HTML 图表页面。
- 高度可配置:支持自定义图表的标题、宽度和高度。
- 现代化页面:生成的图表页面拥有一个干净、现代化的外观。
- Docker 支持:提供Dockerfile,可以轻松构建轻量、可移植的 Docker 镜像。
- 配置灵活:通过环境变量或.env文件进行配置,轻松适配不同环境。
git clone https://github.com/cnkanwei/mcp-server-echart.git cd mcp-server-echart
- PORT: 服务监听的端口 (默认:8989)
- PUBLIC_URL: 对外暴露的 URL 根路径 (例如http://localhost:8989或https://your.domain.com)
- LOG_LEVEL: 日志级别 (例如info,debug)
- STATIC_DIR: 生成的静态 HTML 文件存放的目录 (默认:static)
服务启动后,会监听在.env文件中配置的PORT端口(默认为 8989)。
# 基础运行 docker run -p 8989:8989 -d --name my-echart-server mcp-server-echart # 自定义端口和对外 URL docker run -p 9090:9090 \ -e PORT=9090 \ -e PUBLIC_URL="https://my.domain.com" \ -d --name my-echart-server mcp-server-echart
- title(string,必需): 图表页面的标题。
- inputSchema(object,必需): ECharts 的 JSON 配置对象。
- width(number,可选): 图表的宽度(像素),默认 800。
- height(number,可选): 图表的高度(像素),默认 600。
本服务可以通过任何支持 Server-Sent Events (SSE) 的 MCP 客户端进行调用。
如果您使用的 MCP 客户端支持通过配置文件连接到服务器,您可以添加如下配置来连接到本服务。
请将mcp-server-echart添加到您的客户端配置中,并将 URL 指向本服务的监听地址(默认为http://localhost:8989/sse)。
{ "mcpServers": { "mcp-server-echart": { "url": "http://localhost:8989/sse" } } }
{ "mcpServers": { "browser-use-mcp-server": { "url": "http://localhost:8000/sse" } } }
- URL 应与您在.env文件中配置的PORT和PUBLIC_URL保持一致。
- mcp-go工具调用的默认端点是/sse,而不是/。
如果您的 MCP 客户端支持通过命令启动服务,您也可以配置它来直接运行 Docker Hub 上的镜像。这会将服务作为一个子进程来管理,客户端通过标准输入/输出 (stdin/stdout) 与其通信。
{ "mcpServers": { "mcp-server-echart-docker": { "command": "docker", "args": [ "run", "-i", "--rm", "-p", "8989:8989", "-e", "PORT=8989", "-e", "PUBLIC_URL=http://localhost:8989", "cnkanwei/mcp-server-echart:latest" ] } } }
- -p 8989:8989将容器的 8989 端口映射到主机的 8989 端口,以便您可以从浏览器访问生成的图表。
- cnkanwei/mcp-server-echart:latest是发布在 Docker Hub 上的公共镜像。
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.
A Model Context Protocol server for generating visual charts using AntV.
50+ pay-per-call APIs for AI agents via HTTP 402 crypto micropayments. $0.001–$0.12 per call with USDC and USDm.
Interaction profile registry for AI agents — log interactions, build a behavioral profile, query it through behavioral lenses. 21 tools, zero-config.
A hosted API /MCP platform providing developer-friendly JSON endpoints for user-agent parsing, postal code search with spatial queries, country/subdivision lookup, cryptographic hashing, IP geolocation, email risk scoring, and more.
Blynk's MCP server lets AI coding tools create device templates, manage devices, and read live sensor data on the Blynk IoT platform
An MCP server that integrates IFC model support using Bonsai BIM (Blender) and IfcOpenShell.
Generates and queries a graph representation of a codebase.
MCP server that gives coding agents program-analysis primitives — data flow, call graphs, taint analysis — so they reason from ground truth instead of grep-and-guess. (same as the GitHub About — keeps your messaging consistent across the web).
Coral Query Plane is a paid remote MCP endpoint for AI SDK data query MCP. It exposes structured JSON tools, a public server card, token-based access, usage receipts, and audit-ready workflo
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





