mcpField
F
feishu-markdown-mcp

feishu-markdown-mcp

Local
github.com/huanduProductivity30Updated 42w ago

About feishu-markdown-mcp

feishu-markdown-mcp is a pnpm monorepo that converts Markdown into Feishu / Lark document structures, with a core library and an MCP service. It handles images and Mermaid flowcharts, and suits developers who need Markdown content in Feishu documents.

Key features

  1. 01Converts Markdown into Feishu document structure
  2. 02Handles image content
  3. 03Processes Mermaid flowcharts
  4. 04Wraps the converter as an MCP service
  5. 05Monorepo layout managed with pnpm

Use cases

  1. 01Converting Markdown notes into Feishu document format
  2. 02Calling Markdown-to-Feishu conversion from an AI workflow

MCP support

The feishu-markdown-mcp package provides an MCP service that works as a backend plugin for Model Context Protocol clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"huandu-feishu-markdown": {
"command": "npx",
"args": [
"-y",
"feishu-markdown-mcp"
]
}
}
}
Run commandnpx -y feishu-markdown-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmfeishu-markdown-mcp0.1.3

Tools

4

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
appIdstringYes
appSecretstringYes
feishuMobilestringNo

Details

From the project README

Feishu Markdown

Build license

本项目是一个单仓库(monorepo),用于将 Markdown 转换为飞书 / Lark 文档格式,并提供一个 MCP 服务以便与 Model Context Protocol 集成。

主要 package:

  • feishu-markdown:核心库,将 Markdown 转换为飞书文档结构,支持图片、流程图(Mermaid)等处理。
  • feishu-markdown-mcp:基于 feishu-markdown 的 MCP 服务,可作为模型上下文协议(Model Context Protocol)的后端插件使用。

快速开始

  1. 安装依赖:
pnpm install
  1. 构建所有包:
pnpm build
  1. 在开发中运行某个包(示例):
pnpm --filter feishu-markdown dev

开发

  • 运行全部测试:pnpm test
  • 代码风格与类型检查:pnpm lint / pnpm typecheck

发布

仓库提供了 GitHub Actions 工作流用于自动发布。发布到 npm 公共仓库需要在仓库 Secrets 中配置 NPM_TOKEN(用于 pnpm publish)。

许可证

本项目使用 MIT 许可证,详见项目根目录的 LICENSE 文件。


更多信息请查看各子包的 package.json 与 README.md。

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.