Back to MCP directory
publicPublicdnsLocal runtime

md2card-mcp-server

将Markdown文档转换为可视化图片卡片的MCP服务器,支持多种主题样式和智能尺寸适配。

article

README

🚀 MD2Card MCP 服务器

MD2Card MCP 服务器能够将 Markdown 文档转换为可视化图片卡片,轻松实现 Markdown 内容的可视化展示。

image

🚀 快速开始

在命令行中调用

image

image

1744488841278_buwmnh

其他风格

image 1744489973426_vgrj2m

📦 安装指南

将项目克隆到本地,找到index.js文件路径,并将其替换到客户端 MCP 配置文件中。

✨ 主要特性

  • 丰富主题样式:支持 19 种主题样式,涵盖苹果备忘录、波普艺术、艺术装饰、玻璃拟态、温暖柔和、简约高级灰、梦幻渐变、清新自然、紫色小红书、笔记本、暗黑科技、复古打字机、水彩艺术、中国传统、儿童童话、商务简报、日本杂志、极简黑白、赛博朋克,满足多样化的视觉需求。
  • 智能尺寸适配:自动适配不同尺寸,确保图片卡片在各种设备上都有良好的展示效果。
  • 多种内容拆分模式:提供三种内容拆分模式,默认自动拆分,灵活处理不同长度的 Markdown 文档。
  • 标准化接口:通过 MCP 协议提供标准化接口,方便与其他系统集成。

💻 使用示例

客户端配置

在 MCP 客户端配置文件中添加以下内容:

{
  "md2card-server": {
    "command": "node",
    "args": ["path/to/build/index.js"],
    "env": {
      "MD2CARD_API_KEY": "您的API密钥"
    }
  }
}

⚠️ 重要提示

密钥申请地址:https://admin.mathmind.cn/login?referralCode=REF43267489

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