V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
50vip
V2EX  ›  分享创造

周五晚上写了一个 mcp-echarts,来试试看!

  •  1
     
  •   50vip · 22 天前 · 1059 次点击

    MCP ECharts build npm Version smithery badge npm License

    Generate Apache ECharts diagram and chart with AI MCP dynamically. Using for chart generation and data analysis.

    开源代码在这里: https://github.com/hustcc/mcp-echarts 求 ⭐️⭐️⭐️。

    mcp-echarts

    ✨ Features

    • Fully support all features and syntax of ECharts, include data, style, theme and so on.
    • Support exporting to png, svg, and option formats, with validation for ECharts to facilitate the model's multi-round output of correct syntax and graphics.
    • Lightweight, we can install it with zero dependence.
    • Extremely secure, fully generated locally, without relying on any remote services.

    🤖 Usage

    To use with Desktop APP, such as Claude, VSCode, Cline, Cherry Studio, and so on, add the MCP server config below. On Mac system:

    {
      "mcpServers": {
        "mcp-echarts": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-echarts"
          ]
        }
      }
    }
    

    On Window system:

    {
      "mcpServers": {
        "mcp-echarts": {
          "command": "cmd",
          "args": [
            "/c",
            "npx",
            "-y",
            "mcp-echarts"
          ]
        }
      }
    }
    

    Also, you can use it on aliyun, modelscope, glama.ai, smithery.ai or others with HTTP, SSE Protocol.

    🔨 Development

    Install dependencies:

    npm install
    

    Build the server:

    npm run build
    

    Start the MCP server:

    npm run start
    

    📄 License

    MIT@hustcc.

    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   868 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 21:43 · PVG 05:43 · LAX 14:43 · JFK 17:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.