Markdown to any text

by xjtlumedia

Not rated
GitHub

About

Convert markdown to any text format you want

Details

Author
xjtlumedia
Categories
Productivity

Setup

Install Markdown to any text in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/xjtlumedia/MCP_Markdown_Formatter

Follow the installation instructions in the repository README, then restart your MCP client.

Convert markdown to any text format you want

AI Answer Copier — MCP-Powered Multi-Format Exporter

Turn "AI Noise" into "Classroom Ready" in 5 Seconds.

A Model Context Protocol (MCP) server that gives your AI assistant the power to convert Markdown into 22 professional document formats, batch-convert multiple documents across 22 formats in one call, analyze documents, repair broken Markdown, and convert across platforms — all without leaving your AI chat.

npm:https://www.npmjs.com/package/@xjtlumedia/markdown-mcp-server

You asked an AI to write 20 questions. It delivered.But now you're stuck:

Generating content takes seconds. Formatting it for the real world takes an hour. This MCP server eliminates that gap entirely.

Online web version (no install needed):ai-answer-copier.vercel.app

Pre-configured prompt templates that orchestrate multiple tools:

No installation needed — just configure your MCP client:

{ "mcpServers": { "ai-answer-copier": { "command": "npx", "args": ["-y", "@xjtlumedia/markdown-mcp-server"] } } }
npm install -g @xjtlumedia/markdown-mcp-server
{ "mcpServers": { "ai-answer-copier": { "command": "markdown-mcp-server" } } }

Edit%APPDATA%\Claude\claude_desktop_config.json(Windows) or~/Library/Application Support/Claude/claude_desktop_config.json(macOS):

{ "mcpServers": { "ai-answer-copier": { "command": "npx", "args": ["-y", "@xjtlumedia/markdown-mcp-server"] } } }

Restart Claude Desktop. You'll see a 🔌 icon — all 34 tools are now available.

Add to.vscode/mcp.jsonor VS Code settings:

{ "servers": { "ai-answer-copier": { "command": "npx", "args": ["-y", "@xjtlumedia/markdown-mcp-server"] } } }

Use the samenpxcommand pattern above in your client's MCP configuration.

{ "mcpServers": { "markdown-formatter": { "command": "node", "args": [ "YOUR_PATH_TO_PROJECT/mcp-server/dist/mcp-server/src/index.js" ] } } }

ReplaceYOUR_PATH_TO_PROJECTwith the absolute path to this folder.

A hosted HTTP endpoint is available for browser-based and remote integrations:

https://ai-answer-copier.vercel.app/api/mcp
npx @modelcontextprotocol/inspector https://ai-answer-copier.vercel.app/api/mcp

Once connected, just talk to your AI naturally:

"Batch-convert 5 markdown documents into DOCX, PDF, and HTML simultaneously and save them to my Downloads folder."→ AI usesbatch_convertwith items[] and formats[]

"Generate 10 physics questions about Newton's Laws and export them as a Kahoot CSV."→ AI usesconvert_to_csv

"Convert this markdown into a Word document and save it to my Desktop."→ AI callsconvert_to_docxwithoutput_path

"Take these lecture notes and produce a print-ready PDF."→ AI callsconvert_to_pdfwith Puppeteer rendering, KaTeX math, and syntax highlighting

"Turn this into a Moodle-compatible XML quiz bank."→ AI callsconvert_to_xml

"Format this for Slack and send it to the team channel."→ AI callsconvert_to_slack

"Check this Markdown for issues and fix them."→ AI callslint_markdownthenrepair_markdown

"Give me an overview of this document — word count, structure, all links."→ AI chainsanalyze_document+generate_toc+extract_links

Export to PDF, DOCX, HTML, LaTeX, CSV, JSON, XML, XLSX, RTF, PNG, TXT, Markdown — plus Slack, Discord, JIRA, Confluence, AsciiDoc, RST, MediaWiki, BBCode, Textile, Org Mode, and Email HTML.

Convert multiple Markdown documents to multiple formats in onebatch_convertcall. Errors are isolated per item+format so one failure never blocks the rest.

Full support for KaTeX math expressions and syntax-highlighted code blocks. Your$\sqrt{x^2 + y^2}$and Python snippets survive every conversion perfectly.

Binary formats (PDF, DOCX, XLSX, PNG) don't dump raw base64 into chat. The server returns actionable guidance so the AI knows to save to a file path.

Lint Markdown, auto-repair broken formatting, extract code blocks and links, generate Table of Contents, and get comprehensive document statistics — all without leaving the chat.

Tables, task lists, strikethrough, autolinks — all parsed correctly viaremark-gfm.

PDF and image exports use headless Chromium for pixel-perfect rendering with full CSS styling, KaTeX math, syntax highlighting, and print-optimized layouts.

Zero runtime dependencies on external APIs. Everything runs locally. Your data never leaves your computer.

┌─────────────────────────┐ │ AI Client │ │ (Claude, Copilot, │ │ Cursor, Windsurf) │ └──────────┬──────────────┘ │ MCP Protocol (stdio / HTTP) ▼ ┌─────────────────────────┐ │ AI Answer Copier │ │ MCP Server (34 tools) │ │ │ │ ┌── Conversion ────────┐│ │ │ remark/rehype, docx, ││ │ │ puppeteer, xlsx, ││ │ │ CSV/JSON/XML/RTF/ ││ │ │ LaTeX/TXT parsers ││ │ └──────────────────────┘│ │ ┌── Platform ──────────┐│ │ │ Slack, Discord, JIRA,││ │ │ Confluence, AsciiDoc,││ │ │ RST, MediaWiki, ││ │ │ BBCode, Textile, Org ││ │ └──────────────────────┘│ │ ┌── Batch ─────────────┐│ │ │ items[] × formats[] ││ │ │ 22 formats, isolated ││ │ └──────────────────────┘│ │ ┌── Analysis ──────────┐│ │ │ Code blocks, links, ││ │ │ TOC, stats, structure││ │ └──────────────────────┘│ │ ┌── Repair ────────────┐│ │ │ Lint, auto-repair ││ │ └──────────────────────┘│ │ ┌── Import ────────────┐│ │ │ HTML → Markdown ││ │ └──────────────────────┘│ └─────────────────────────┘

This release hardens both the local (npx) and remote Vercel MCP transports with 8 logic fixes:

- PDF / PNG require local Chromiumconvert_to_pdfandconvert_to_imagelaunch a headless browser. This works fine withnpxbut is unavailable on Vercel's free tier (no bundled Chromium). Set thePUPPETEER_EXECUTABLE_PATHenvironment variable to point to your local Chrome if auto-detection fails.
- Chromium version on Vercel— the remote endpoint uses@sparticuz/chromium-minwith a pinned tar at v131.0.1. If Vercel bumps the Lambda runtime you may need to update theCHROMIUM_TAR_URLenv var.
- 1 MB input limit— all tool calls reject inputs larger than 1 MB. Split large documents into sections before converting.
- Session TTL (remote only)— sessions on the Vercel endpoint expire after 30 minutes of inactivity. Long-running stateful workflows should issue periodic keep-alive calls.

# Clone the repository git clone https://github.com/XJTLUmedia/AI_answer_copier.git # Web app npm install npm run dev # MCP server cd mcp-server npm install npm run dev # hot reload npm run build # production build npm run inspector # test with MCP Inspector

We welcome contributions! Whether it's a new export format, a bug fix, or documentation improvement — please consider making a pull request.
- Fork therepository
- Create a feature branch
- Submit a pull request

Built by educators, for educators.
Reclaim 5 hours of your week. Let the AI handle the formatting.

The 1Password MCP server creates a bridge that allows MCP clients such as Codex and Kiro to manage your 1Password Environments with secure authorization prompts.

This is the 1st, easiest, and cheapest PPT, slides, presentation AI generation MCP Server in the world.

Persistent memory for any AI assistant. Zero token cost until recall. Stores memories in local SQLite, ranks by 6-factor scoring, returns results 79% smaller than JSON. Works with Claude, ChatGPT, Grok, Cursor, Windsurf, and any MCP client.

A MCP server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

Enables LLM clients to interact with macOS applications through AppleScript. Built using the @beyondbetter/bb-mcp-server library, this server provides safe, controlled execution of predefined scripts with optional support for arbitrary script execution.

An MCP server for WordPress plugin audits

Turn your AI assistant into a digital marketing hub that creates, organizes, and analyzes links and QR Codes on demand.

Connect AI clients to Cal.com scheduling through the Model Context Protocol using the hosted server at mcp.cal.com or a local instance.

Sync Calendars, Scheduling Links, AI Executive Scheduling Assistant, Unified Calendar

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.