Skip to content

Commit e49445b

Browse files
committed
docs(readme): 项目介绍
1 parent 26704f9 commit e49445b

File tree

2 files changed

+68
-5
lines changed

2 files changed

+68
-5
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [main]
88

99
jobs:
10-
build:
10+
build-echarts:
1111
runs-on: macos-latest
1212

1313
steps:
@@ -19,8 +19,14 @@ jobs:
1919
with:
2020
node-version: '20'
2121

22-
- name: Run Continuous Integration
22+
- name: Install pnpm
23+
uses: pnpm/action-setup@v4
24+
with:
25+
version: 8
26+
27+
- name: Build and Test mcp-echarts
2328
run: |
24-
npm install
25-
npm run build
26-
npx vitest --watch=false
29+
cd echarts
30+
pnpm install
31+
pnpm run build
32+
pnpm test --run

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# MCPs for AI Browser
2+
3+
A collection of Model Context Protocol (MCP) servers optimized for AI browser interactions and data visualization.
4+
5+
## Purpose
6+
7+
This repository serves as a centralized collection of MCP servers that enable AI applications to generate visualizations, process data, and interact with various tools through standardized protocols. Each MCP server provides specific capabilities while maintaining compatibility with AI browsers and development tools.
8+
9+
## Available MCPs
10+
11+
### 🎨 mcp-echarts
12+
13+
Generate visual charts using Apache ECharts with AI MCP dynamically for chart generation and data analysis.
14+
15+
**Features:**
16+
- Supports all ECharts features and syntax
17+
- Export to PNG, SVG, and option formats
18+
- MinIO integration for chart storage
19+
- 18+ chart types (bar, line, pie, scatter, heatmap, etc.)
20+
- Lightweight with zero dependencies
21+
22+
**Installation & Setup:**
23+
24+
```bash
25+
cd echarts
26+
npm install
27+
npm run build
28+
```
29+
30+
**HTTP/SSE Launch:**
31+
32+
```bash
33+
# For SSE transport (recommended)
34+
npm run start -- -t sse -p 3033
35+
36+
# For Streamable transport
37+
npm run start -- -t streamable -p 3033
38+
```
39+
40+
**Access URLs:**
41+
- SSE transport: `http://localhost:3033/sse`
42+
- Streamable transport: `http://localhost:3033/mcp`
43+
44+
**Quick Test:**
45+
```bash
46+
curl -X GET http://localhost:3033/sse
47+
```
48+
49+
---
50+
51+
## Contributing
52+
53+
Feel free to contribute additional MCP servers to this collection. Please ensure each MCP follows the standard protocol specifications and includes proper documentation.
54+
55+
## License
56+
57+
MIT License - see individual MCP directories for specific licensing information.

0 commit comments

Comments
 (0)