Back to MCP directory
publicPublicdnsLocal runtime

Whimsical

一个通过MCP协议将Mermaid标记转换为Whimsical图表的服务

article

README

🚀 幽默风MCP服务器

这是一个模型上下文协议(MCP)服务器,可借助Whimsical的API,将Mermaid标记转换为图表,从而创建Whimsical图表。它支持程序化生成图表,为用户带来便利。

🚀 快速开始

此服务器可通过MCP客户端(如Claude、Windsurf等)生成的Mermaid标记创建Whimsical图表,并返回Whimsical图表的URL以及base64编码图像,方便客户端在其原始标记上进行迭代。

💻 使用示例

基础用法

以下是一个使用此MCP服务器和Claude生成的复杂系统架构图示例:

MCP架构

✨ 主要特性

  • 使用MCP客户端(Claude、Windsurf等)生成的Mermaid标记创建Whimsical图表。
  • 返回Whimsical图表的URL以及base64编码图像,以便客户端在其原始标记上进行迭代。

📦 安装指南

通过Smithery安装

要自动通过Smithery为Claude桌面安装Whimsical MCP Server,可使用以下命令:

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

手动安装

# 克隆仓库
git clone https://github.com/BrockReece/whimsical-mcp-server.git

# 安装依赖项
yarn install

# 构建项目
yarn build

与MCP客户端集成

更新MCP客户端的配置以指向此存储库的dist文件夹,例如:

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

📄 许可证

该项目在MIT许可证下授权。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client