Whimsical MCP 服务器

Whimsical MCP 服务器

一个通过 Mermaid 标记创建 Whimsical 图表的 Model Context Protocol (MCP) 服务器。

快速入门

功能

  • 支持通过 Mermaid 标记生成 Whimsical 图表
  • 返回图表 URL 和 base64 编码图片

安装

使用 Smithery 安装

运行以下命令:

npx -y @smithery/cli install BrockReece/whimsical-mcp-server --client claude

手动安装

  1. 克隆仓库:
    git clone https://github.com/BrockReece/whimsical-mcp-server.git
    
  2. 安装依赖:
    yarn install
    
  3. 构建项目:
    yarn build
    

配置

更新 MCP 客户端配置文件,指定本项目的 dist/index.js 路径。 示例:

{
    "mcpServers": {
        "whimsical": {
            "command": "node",
            "args": ["/path/to/this/repo/whimsical-mcp-server/dist/index.js"]
        }
    }
}