画布绘图服务

TwoEasyEngine MCP Server是一个基于TwoEasyEngine 2D库的画布绘图服务,为LLM代理提供可视化输出和交互式图形功能,可集成到Claude Desktop等应用中。

  • by niiicolai
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 niiicolai/two-easy-engine-mcp-server

使用说明

TwoEasyEngine MCP服务器

TwoEasyEngine MCP服务器是 模型上下文协议(MCP)服务器 这演示了如何使用 TwoEasyEngine 2D库提供画布绘图功能,作为LLM代理的工具。这些功能可以集成到Claude Desktop等应用程序中,以实现视觉输出和交互式图形。

例子

车速折线图

想象不同速度的汽车:

收盘价折线图

跟踪收盘价随时间的变化:

月度数据折线图

显示几个月的数据趋势:

发展

安装依赖项

npm install

构建

npm run build

添加到克劳德桌面

  1. 克隆并安装项目
git clone https://github.com/niiicolai/two-easy-engine-mcp-server.git
cd two-easy-engine-mcp-server/
npm i
  1. 构建项目
npm run build
  1. 找到 claude_desktop_config.json 在本地Claude Desktop安装中添加文件,并在下添加以下配置 mcpServers:
{
  "mcpServers": {
    "two-easy-engine": {
      "command": "node",
      "args": ["ABSOLUTE\\PATH\\TO\\two-easy-engine-mcp\\build\\index.js"]
    }
  }
}

结账 modelcontextprotocol.io/docs/develop/build-server#使用claude for desktop测试您的服务器 有关将MCP服务器添加到Claude Desktop的更多信息。

贡献

欢迎投稿!请在GitHub上打开问题或提交拉取请求。

许可证MIT许可证

看 许可证 了解更多信息。