You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fully support all features and syntax of `ECharts`, include data, style, theme and so on.
16
16
- 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.
17
-
-**MinIO Integration**: Store charts in MinIO object storage and return URLs instead of Base64 data for better performance and sharing capabilities.
18
-
- Lightweight, we can install it with `zero dependence`.
17
+
- MinIO Integration, store charts in `MinIO` object storage and return URLs instead of Base64 data for better performance and sharing capabilities.
18
+
- Lightweight, we can install it easily with `zero dependence`.
19
19
- Extremely `secure`, fully generated locally, without relying on any remote services.
20
20
21
21
@@ -55,15 +55,29 @@ On Window system:
55
55
}
56
56
```
57
57
58
-
Also, you can use it on aliyun, modelscope, glama.ai, smithery.ai or others with HTTP, SSE Protocol.
58
+
Also, you can use it on [modelscope](https://www.modelscope.cn/mcp/servers/hustcc/MCP-ECharts), [glama.ai](https://glama.ai/mcp/servers/@hustcc/mcp-echarts), [smithery.ai](https://smithery.ai/server/@hustcc/mcp-echarts) or others with HTTP, SSE Protocol.
59
+
59
60
60
61
## 🗂️ MinIO Configuration (Optional)
61
62
62
63
For better performance and sharing capabilities, you can configure MinIO object storage to store chart images as URLs instead of Base64 data.
63
64
64
-
### Setup MinIO
65
+
> [!NOTE]
66
+
> If MinIO is not configured or unavailable, the system automatically falls back to `Base64` data output, ensuring compatibility.
67
+
68
+
We can Integrate with `MinIO` object storage providers below.
69
+
70
+
-[MinIO](https://min.io/): High-performance, S3-compatible object storage. Use [MinIO JavaScript Client](https://min.io/docs/minio/linux/developers/javascript/minio-javascript.html) for direct integration.
71
+
-[Amazon S3](https://aws.amazon.com/s3/): Use [AWS SDK](https://aws.amazon.com/sdk-for-javascript/) with compatible API endpoint.
72
+
-[Alibaba Cloud OSS](https://www.alibabacloud.com/product/object-storage-service): Use the [Alibaba Cloud SDK](https://www.alibabacloud.com/help/en/sdk) for OSS services.
73
+
-[Google Cloud Storage](https://cloud.google.com/storage): Integrate using [Google Cloud SDK](https://cloud.google.com/sdk) or compatible API.
74
+
-[Microsoft Azure Blob Storage](https://azure.microsoft.com/en-us/products/storage/blobs): Use [Azure SDK](https://azure.microsoft.com/en-us/downloads/) for Blob storage access.
75
+
-[Tencent Cloud COS](https://intl.cloud.tencent.com/product/cos): Use the [Tencent Cloud SDK](https://intl.cloud.tencent.com/document/product/436/6474) for COS integration.
76
+
77
+
Also, we can setup MinIO locally for free.
65
78
66
79
1.**Install and start MinIO locally:**
80
+
67
81
```bash
68
82
# Download MinIO (macOS example)
69
83
brew install minio/stable/minio
@@ -72,7 +86,8 @@ For better performance and sharing capabilities, you can configure MinIO object
72
86
minio server ~/minio-data --console-address :9001
73
87
```
74
88
75
-
2.**Configure environment variables:**
89
+
3.**Configure environment variables:**
90
+
76
91
```bash
77
92
# Copy the example environment file
78
93
cp .env.example .env
@@ -86,17 +101,6 @@ For better performance and sharing capabilities, you can configure MinIO object
86
101
MINIO_BUCKET_NAME=mcp-echarts
87
102
```
88
103
89
-
3.**Integration with Object Storage Providers:**
90
-
-**[MinIO](https://min.io/)**: High-performance, S3-compatible object storage. Use [MinIO JavaScript Client](https://min.io/docs/minio/linux/developers/javascript/minio-javascript.html) for direct integration.
91
-
-**[Amazon S3](https://aws.amazon.com/s3/)**: Use [AWS SDK](https://aws.amazon.com/sdk-for-javascript/) with compatible API endpoint.
92
-
-**[Alibaba Cloud OSS](https://www.alibabacloud.com/product/object-storage-service)**: Use the [Alibaba Cloud SDK](https://www.alibabacloud.com/help/en/sdk) for OSS services.
93
-
-**[Google Cloud Storage](https://cloud.google.com/storage)**: Integrate using [Google Cloud SDK](https://cloud.google.com/sdk) or compatible API.
94
-
-**[Microsoft Azure Blob Storage](https://azure.microsoft.com/en-us/products/storage/blobs)**: Use [Azure SDK](https://azure.microsoft.com/en-us/downloads/) for Blob storage access.
95
-
-**[Tencent Cloud COS](https://intl.cloud.tencent.com/product/cos)**: Use the [Tencent Cloud SDK](https://intl.cloud.tencent.com/document/product/436/6474) for COS integration.
96
-
### Fallback Behavior
97
-
98
-
If MinIO is not configured or unavailable, the system automatically falls back to `Base64` data output, ensuring compatibility.
-[susuperli](https://github.com/susuperli): use MinIO to save the chart image base64 and return the url. [#10](https://github.com/hustcc/mcp-echarts/issues/10)
126
-
-[BQXBQX](https://github.com/BQXBQX): Use @napi-rs/canvas instead node-canvas. [#3](https://github.com/hustcc/mcp-echarts/issues/3)
-[susuperli](https://github.com/susuperli): Use `MinIO` to save the chart image base64 and return the url. [#10](https://github.com/hustcc/mcp-echarts/issues/10)
130
+
-[BQXBQX](https://github.com/BQXBQX): Use `@napi-rs/canvas` instead node-canvas. [#3](https://github.com/hustcc/mcp-echarts/issues/3)
127
131
-[hustcc](https://github.com/hustcc): Initial the repo.
0 commit comments