bm.md logo

bm.md

Community
miantiao-me

更好用的 Markdown 排版助手|一键适配微信公众号、网页与图片。

Publishermiantiao-me
Repositorybm.md
LanguageTypeScript
Forks
72
Stars
576
Available tools
0
Transport typestreamable-http
Categories
LicenseAGPL-3.0
Links
  • Connect tools to AI workflows

    bm.md exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    576 stars and 72 forks from the linked repository.

bm.md

更好用的 Markdown 排版助手|一键适配微信公众号、知乎专栏掘金、网页与图片。


✨ 特性

  • 📝 实时预览 - 基于 CodeMirror 6 的 Markdown 编辑器,所见即所得
  • 🎨 14 种排版样式 - 从专业商务到复古怀旧,满足不同场景需求
  • 🌈 14 种代码主题 - 支持浅色/深色多种代码高亮风格
  • 📱 多平台适配 - 一键复制到微信公众号、知乎掘金
  • 🖼️ 图片导出 - 将排版内容导出为图片分享
  • 🔌 开发者友好 - 提供 CLI、REST API 和 MCP 协议集成
  • ⌨️ 快捷操作 - 命令面板 + 全局快捷键,高效操作

🚀 快速开始

bash
# 克隆项目
git clone https://github.com/miantiao-me/bm.md.git
cd bm.md

# 安装依赖
pnpm install

# 启动开发服务器
pnpm dev

访问 http://localhost:2663 开始使用。

CLI 使用

bmmd 可在命令行中复用核心 Markdown 处理能力,支持文件输入或 stdin,默认输出到 stdout。

bash
# 直接运行
pnpm dlx bmmd render article.md --platform wechat --output article.html

# 管道输入
cat article.md | pnpm dlx bmmd extract

# 修复 Markdown 并写回源文件
pnpm dlx bmmd lint article.md --fix

本地开发可执行 pnpm build:cli 构建 CLI,入口文件为 bin/bmmd.mjs

🛠️ 技术栈

#阿里云ESA Pages #阿里云云工开物

本项目由阿里云ESA提供加速、计算和保护: Alibaba ESA

阿里云部署配置:

txt
安装命令: pnpm install
构建命令: pnpm run build
根目录: /
静态资源目录: dist/client
函数文件路径: dist/server/server.js

其他环境部署配置参考 Nitro 文档。

📖 文档

🙏 致谢

  • Kami — 「Kami」排版风格的灵感来源(暖羊皮纸 + 墨蓝克制的编辑级排版)。

🤝 贡献

欢迎提交 Issue 和 Pull Request。

📄 许可证

AGPL-3.0

Installation

TypingMind
{
  "mcpServers": {
    "bm.md": {
      "url": "https://bm.md/mcp",
      "env": null,
      "headers": null
    }
  }
}

Use bm.md MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once bm.md is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP connects through a hosted MCP server URL in TypingMind.

Add an MCP server URL

Use this when bm.md is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter https://bm.md/mcp in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste https://bm.md/mcp into the Server URL field.
  2. Enter a connection name for bm.md.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the bm.md connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the bm.md tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the bm.md tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use bm.md to help me with this task?
bm.md
Sure. I read it.
Here is what I found using bm.md.

Frequently asked questions

What is the bm.md MCP server used for?

bm.md is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use bm.md MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use bm.md with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use bm.md MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With bm.md connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect bm.md MCP to TypingMind?

bm.md can be connected in TypingMind by adding its hosted MCP server URL. This is useful when you want a remote MCP connection that is available from your TypingMind workspace.

What tools does bm.md MCP provide in TypingMind?

bm.md exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use bm.md MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If bm.md requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇