hustcc/mcp-echarts

use `MinIO` to save the chart image base64 and return the url.

Closed this issue · 1 comments

  • MinIO:https://min.io/
  • Add an MCP environment variable to record the MinIO key.

Using a URL has the following advantages over Base64:

  1. Reduces the number of tokens output by the LLM.
  2. Provides long-term accessibility and enables sharing and transfer.
  3. Offers a better experience for most MCP clients.

或者我们可以使用百度提供的服务。

import bos from '@baiducloud/sdk';