Docbot Mcp

io.github.rflukerii-devPublished by GitHub account rflukerii-devv1.0.4Updated Oct 24, 2026

Bidirectional CSV <> JSON <> Markdown transformer

VerifiedSTDIODesktop onlyFiles & StorageData & Analytics

Overview

AI-generated overview

A local MCP server that converts between CSV, JSON and Markdown, letting an assistant turn delimited data into JSON arrays or Markdown tables and back.

What you can do
Convert CSV text into a JSON array string (csvToJson). Serialize a JSON array string into CSV (jsonToCsv). Render CSV text as a formatted Markdown table (csvToMarkdown). Render a JSON array string as a Markdown table (jsonToMarkdown). All tools take text in and return text out.
When to use it
Useful when an assistant needs to reshape tabular data during a conversation: turning pasted CSV into JSON for further processing, producing CSV from JSON, or formatting either into a Markdown table for a document or reply.
Requirements
Runs as a local Node.js process (Node.js 16+ with ES modules) installed from the npm package. The README describes an HTTP server on port 3000 with the endpoint at /docbot-mcp, plus a separate stdio entry point for local clients. No accounts, API keys or environment variables are declared.
Before you install
Conversion is text-in, text-out with no file or network access described, so review the output before relying on it for structured data. The README's HTTP mode exposes a local port; keep it bound to localhost unless you intend to serve it. The README and manifest disagree on transport, so confirm which entry point your client starts.

Installation

In SourceWeft

  1. Open Docbot Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

bash
npm install

Requirements

  • Node.js 16+ (ES modules support)
  • Dependencies:
    • @modelcontextprotocol/sdk — MCP protocol implementation
    • @rflukerii/docbot — Document conversion utilities
    • express — HTTP server framework
    • zod — Input validation

Usage

Starting the Server

bash
npm start

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

bash
curl -X POST http://localhost:3000/docbot-mcp \  -H "Content-Type: application/json" \  -d '{"tool": "csvToJson", "input": {"csv": "name,age\nAlice,30"}}'
jsonToCsv

Converts a JSON array to CSV format.

Input: json (string)
Output: CSV string

bash
curl -X POST http://localhost:3000/docbot-mcp \  -H "Content-Type: application/json" \  -d '{"tool": "jsonToCsv", "input": {"json": "[{\"name\":\"Alice\",\"age\":30}]"}}'
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.

Express Server (port 3000)    ↓POST /docbot-mcp endpoint    ↓MCP Server instance (createServer)    ↓StreamableHTTPServerTransport    ↓Tool execution (csvToJson, jsonToCsv, etc.)    ↓Response back to client

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:

json
{  "scripts": {    "start": "node index.js"  }}

Steps to deploy:

  1. Push code to AWS CodeCommit, GitHub, or BitBucket
  2. Create AWS App Runner service
  3. Configure source as your repository
  4. Set build command: npm install
  5. Set start command: npm start
  6. App Runner will automatically run the server on port 3000

Docker

Example Dockerfile:

dockerfile
FROM node:18-alpineWORKDIR /appCOPY package*.json ./RUN npm install --productionCOPY . .EXPOSE 3000CMD ["npm", "start"]

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:

javascript
server.registerTool(  'toolName',  {    title: 'Display Title',    description: 'What it does',    inputSchema: { paramName: z.type() }  },  async ({ paramName }) => ({    content: [{ type: 'text', text: 'result' }]  }));

License

MIT

Changelog

See CHANGELOG.md for version history and updates.

Source: README.md at commit a6a2c3e

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.4LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.