
Docbot Mcp
io.github.rflukerii-dev由 GitHub 账号 rflukerii-dev 发布v1.0.4更新于 Oct 24, 2026
Bidirectional CSV <> JSON <> Markdown transformer
概览
一个本地 MCP 服务器,在 CSV、JSON 与 Markdown 之间互转,让助手把分隔符数据变成 JSON 数组或 Markdown 表格,也能反向转换。
- 可以做什么
- 把 CSV 文本解析为 JSON 数组字符串(csvToJson)。把 JSON 数组字符串序列化为 CSV(jsonToCsv)。把 CSV 文本渲染为格式化的 Markdown 表格(csvToMarkdown)。把 JSON 数组字符串渲染为 Markdown 表格(jsonToMarkdown)。所有工具均为文本输入、文本输出。
- 适用场景
- 适合在对话中需要重塑表格数据的场景:把粘贴的 CSV 转成 JSON 以便后续处理、从 JSON 生成 CSV,或把两者格式化为 Markdown 表格用于文档或回复。
- 运行要求
- 作为本地 Node.js 进程运行(需 Node.js 16+ 并支持 ES 模块),从 npm 包安装。README 描述了一个监听 3000 端口、端点为 /docbot-mcp 的 HTTP 服务器,另有面向本地客户端的 stdio 入口。未声明任何账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Docbot Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
docbot-mcp
Bidirectional CSV ↔️ JSON ↔️ Markdown transformer exposed as an MCP (Model Context Protocol) server with HTTP transport.
Overview
docbot-mcp is a Model Context Protocol server that provides tools for converting between CSV, JSON, and Markdown formats. It's built on the Model Context Protocol and designed for deployment on serverless platforms like AWS App Runner.
Features
- ✅ CSV to JSON — Parse CSV strings into JSON arrays
- ✅ JSON to CSV — Serialize JSON arrays to CSV format
- ✅ CSV to Markdown — Convert CSV to formatted Markdown tables
- ✅ JSON to Markdown — Convert JSON arrays to Markdown tables
- ✅ HTTP-based — REST API endpoint for easy integration
- ✅ Containerized — Ready for deployment on AWS App Runner, Docker, etc.
Installation
Requirements
- Node.js 16+ (ES modules support)
- Dependencies:
@modelcontextprotocol/sdk— MCP protocol implementation@rflukerii/docbot— Document conversion utilitiesexpress— HTTP server frameworkzod— Input validation
Usage
Starting the Server
The server starts on http://localhost:3000 with the MCP endpoint at /docbot-mcp.
Available Tools
All tools accept input as text parameters and return formatted text responses.
csvToJson
Converts a CSV string to JSON format.
Input: csv (string)
Output: JSON array as string
jsonToCsv
Converts a JSON array to CSV format.
Input: json (string)
Output: CSV string
csvToMarkdown
Converts a CSV string to a Markdown table.
Input: csv (string)
Output: Markdown table string
jsonToMarkdown
Converts a JSON array to a Markdown table.
Input: json (string)
Output: Markdown table string
Architecture
HTTP Transport
The server uses StreamableHTTPServerTransport instead of stdio for better compatibility with containerized environments. Each request to /docbot-mcp creates a new server instance, processes the MCP request, and returns the result.
File Structure
index.js— Main HTTP server entry point (AWS App Runner compatible)index-stdio.js— Stdio transport version (for local/stdio-based clients)package.json— Dependencies and scripts
Deployment
AWS App Runner
The server includes a start script configured for AWS App Runner:
Steps to deploy:
- Push code to AWS CodeCommit, GitHub, or BitBucket
- Create AWS App Runner service
- Configure source as your repository
- Set build command:
npm install - Set start command:
npm start - App Runner will automatically run the server on port 3000
Docker
Example Dockerfile:
Development
Switching Between Transports
- HTTP (default):
node index.js— For containerized environments - Stdio:
node index-stdio.js— For direct CLI/stdio clients
Adding New Tools
Edit index.js and use the server.registerTool() pattern:
License
MIT
Changelog
See CHANGELOG.md for version history and updates.
来源:README.md,提交 a6a2c3e
工具
0版本历史
1- v1.0.4最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。