Converts CSV, JSON, and Markdown formats bidirectionally through four MCP tools: csvToJson, jsonToCsv, csvToMarkdown, and jsonToMarkdown. Built on Express with HTTP transport instead of stdio, making it container-friendly for AWS App Runner or Docker deployments. Each conversion accepts a string parameter and returns formatted text. Reach for this when you need Claude to transform tabular data between formats during a conversation, like turning spreadsheet exports into markdown tables or converting API responses to CSV. The HTTP endpoint approach means you can deploy it once and call it from multiple clients rather than running stdio locally.
Bidirectional CSV ↔️ JSON ↔️ Markdown transformer exposed as an MCP (Model Context Protocol) server with HTTP transport.
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.
npm install
@modelcontextprotocol/sdk — MCP protocol implementation@rflukerii/docbot — Document conversion utilitiesexpress — HTTP server frameworkzod — Input validationnpm start
The server starts on http://localhost:3000 with the MCP endpoint at /docbot-mcp.
All tools accept input as text parameters and return formatted text responses.
Converts a CSV string to JSON format.
Input: csv (string)
Output: JSON array as string
curl -X POST http://localhost:3000/docbot-mcp \
-H "Content-Type: application/json" \
-d '{"tool": "csvToJson", "input": {"csv": "name,age\nAlice,30"}}'
Converts a JSON array to CSV format.
Input: json (string)
Output: CSV string
curl -X POST http://localhost:3000/docbot-mcp \
-H "Content-Type: application/json" \
-d '{"tool": "jsonToCsv", "input": {"json": "[{\"name\":\"Alice\",\"age\":30}]"}}'
Converts a CSV string to a Markdown table.
Input: csv (string)
Output: Markdown table string
Converts a JSON array to a Markdown table.
Input: json (string)
Output: Markdown table string
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.
Express Server (port 3000)
↓
POST /docbot-mcp endpoint
↓
MCP Server instance (createServer)
↓
StreamableHTTPServerTransport
↓
Tool execution (csvToJson, jsonToCsv, etc.)
↓
Response back to client
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 scriptsThe server includes a start script configured for AWS App Runner:
{
"scripts": {
"start": "node index.js"
}
}
Steps to deploy:
npm installnpm startExample Dockerfile:
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
EXPOSE 3000
CMD ["npm", "start"]
node index.js — For containerized environmentsnode index-stdio.js — For direct CLI/stdio clientsEdit index.js and use the server.registerTool() pattern:
server.registerTool(
'toolName',
{
title: 'Display Title',
description: 'What it does',
inputSchema: { paramName: z.type() }
},
async ({ paramName }) => ({
content: [{ type: 'text', text: 'result' }]
})
);
MIT
See CHANGELOG.md for version history and updates.
csoai-org/pdf-document-mcp
xt765/mcp-document-converter
io.github.xjtlumedia/markdown-formatter
io.github.ai-aviate/better-notion
suekou/mcp-notion-server
meterlong/mcp-doc