扩展架构设计
基于 MCP(Model Context Protocol)协议构建的模块化系统,主要组件包括:
- 核心引擎:处理工作流调度
- 适配器接口:标准化的格式转换接口
- 扩展点:支持插入自定义处理模块
定制开发方法
- 添加新解析器: in
/src/parsers
目录创建新模块 - Modify Configuration:更新
config.json
注册新功能 - 集成外部API: By
services
层对接云服务 - reconstruct: Run
npm run build
编译变更
典型扩展场景
- 支持新的文档格式(如 CAD 图纸)
- 集成更精准的 OCR 服务(如 ABBYY)
- 添加自定义的 Markdown 模板
- 实现与企业系统的对接
Community Support
项目鼓励开发者通过 GitHub 提交 Pull Request,核心团队会审核高质量的贡献代码。文档中提供了详细的 API.md
和示例项目。
This answer comes from the articleMarkdownify MCP Server: Converts various content to Markdown format based on the MCP protocol.The