This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/echarts-mcp.git
The following commit(s) were added to refs/heads/main by this push:
new 89b14bf doc: update readme
89b14bf is described below
commit 89b14bf6851d1bf0b763a98a643909b7d97c8a70
Author: Ovilia <[email protected]>
AuthorDate: Mon Jul 21 18:55:34 2025 +0800
doc: update readme
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 94e5cbf..dce4169 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ Supported ECharts series types: `'bar', 'line', 'pie',
'scatter', 'funnel', 'tre
npm install
```
-Create an `.env` file. See `.env.example` for reference.
+Create an `.env` file. See `.env.example` for reference. You need to have the
access to a [baidubce/bce-sdk-js](https://github.com/baidubce/bce-sdk-js)
account to store the images on the cloud.
## Run
@@ -51,6 +51,6 @@ To make an MCP server of Apache ECharts, there are 3 common
ways to do:
The advantage of Approach 1 is that is has the potential of making all kinds
of charts that ECharts supports. But it may not be stable, especially for less
frequently used chart types.
-Approach 2 gives the freedom to change chart themes from prompt. For example,
you may ask the LLM to `generate a chart with red bars of data ...`. But this
approach requires a lot of parameters in order to support so many ECharts
options. And it degenerates to approach 1 as the number of parameters grow.
+Approach 2 gives the freedom to change chart themes from prompt. For example,
you may ask the LLM to `generate a chart with red bars of data ...`. But this
approach requires a lot of parameters in order to support so many ECharts
options. And it degenerates to approach 1 as the number of parameters grows.
Approach 3 asks LLM to provide minimal parameters like series type, data,
seriesName, title, and axisName. The chart theme is defined in the app so that
only the developer of this app, rather than users can change the theme. We
believe this is the best way to provide stable results and so this is the
approach we take in this project.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]