基于 mcp-go 框架构建的 mcp 服务,它提供了一个能动态生成 ECharts 图表页面的工具。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add echart -- go run main.go~/.codex/config.toml
[mcp_servers.echart]
command = "go"
args = ["run", "main.go"]
# codex mcp add echart -- go run main.go~/.cursor/mcp.json
{
"mcpServers": {
"echart": {
"command": "go",
"args": [
"run",
"main.go"
]
}
}
}.vscode/mcp.json
{
"servers": {
"echart": {
"type": "stdio",
"command": "go",
"args": [
"run",
"main.go"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"echart": {
"command": "go",
"args": [
"run",
"main.go"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"echart": {
"command": "go",
"args": [
"run",
"main.go"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"echart": {
"command": "go",
"args": [
"run",
"main.go"
]
}
}
}