markforge
Transpiles Mermaid diagram code blocks into scalable SVG diagrams for inclusion in compiled documents.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@markforgeConvert resume.md to PDF with the ats-classic template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ Table of Contents
Related MCP server: docuflow
๐ Why MarkForge?
Writing documents in Markdown is frictionless, but converting them into corporate-ready formats is notoriously painful:
Pandoc often strips formatting nuances or requires complex LaTeX toolchains.
Manual word processor exports lead to broken margins, inconsistent fonts, and mangled tables.
Standard resume templates trigger parsing failures in legacy Applicant Tracking Systems (ATS).
MarkForge bridges this gap:
1:1 Visual Parity: Generates native OpenXML (
.docx) and print-quality PDF files that share identical typography, margins, and section spacing.Built-in ATS & Quality Auditor: Evaluates your markdown AST against recruitment criteria (scores 0-100, action verb density, quantifiable metrics, section completeness).
AI-Native via MCP: Enables LLMs (Claude Desktop, Cursor, Antigravity) to directly compile, audit, and optimize documents without leaving chat.
Developer-First DX: Watch mode for instantaneous recompilation, debounced AST evaluation, and structured Pino/OpenTelemetry observability.
โจ Key Features
๐ Universal Output: Compile to OpenXML (
.docx), Headless PDF (via LibreOffice or WeasyPrint), Pure HTML5 with Print CSS, or both simultaneously.๐ฏ ATS Optimization Engine: AST-based parser that calculates ATS parseability, flags missing sections, counts high-impact action verbs (EN/ID), and highlights quantifiable metrics.
๐จ 5 Curated Document Presets:
ats-classic: Minimalist, zero graphics, 100% parseable by legacy and modern Applicant Tracking Systems.modern-accent: Contemporary emerald accents, refined headers, and crisp dividers.tech-spec: Engineered for RFCs, architectural blueprints, tables, and code snippets.academic: Formal serif typography, numbered sections, and standard 1-inch margins.executive: Polished serif headers with bronze accents for leadership profiles.
๐ Native Mermaid Flowcharts: Transpile
mermaidcode blocks into scalable vector SVG diagrams in Web Studio and high-fidelity representations in exports.๐ Type-Safe Dual-Language Support: Complete bilingual interface (Bahasa Indonesia
idand Englishen) across Web Studio, error messages, and starter templates.๐ฅ๏ธ Next.js 15 Web Studio: Split-screen live editor, simulated A4 preview canvas, dashed page-break guides, browser print fallback, and official shadcn/ui components.
๐ Official MCP Server: Turn Claude Desktop, Cursor IDE, or Antigravity into your document compiler and ATS editor over standard I/O (
stdio).
๐๏ธ System Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Markdown Input (.md) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MarkForge Core Engine โ
โ - AST Parser & Inline Tokenizer โ
โ - ATS & Quality Analyzer (Scores, Verbs, Metrics) โ
โ - Template Registry (ATS Classic, Modern, Tech Spec...) โ
โ - Structured Pino Logger & OpenTelemetry Spans โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ
โ OpenXML DOCX โ โ Pure HTML5 โ โ Headless PDF โ
โ (docx-js) โ โ (Print CSS) โ โ (LibreOffice) โ
โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ
โฒ โฒ โฒ
โโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโ โโโโโโโโโโโโโ
โ CLI DX โ โ Web UI โ
โ (bun) โ โ (Next.js) โ
โโโโโโโโโโโ โโโโโโโโโโโโโ
โฒ
โ
โโโโโโโโโโโโโโโ
โ MCP Server โ
โ (Claude/AI) โ
โโโโโโโโโโโโโโโ๐ For in-depth compiler pipeline specifications, read System Architecture.
๐จ Document Templates & Presets
Template | Primary Font | Accent | Best For | ATS Compatibility |
| Arial / Helvetica | Charcoal | Standard Resumes, Applications | โญ๏ธโญ๏ธโญ๏ธโญ๏ธโญ๏ธ (100%) |
| Inter / Calibri | Emerald | Tech Portfolios, Modern CVs | โญ๏ธโญ๏ธโญ๏ธโญ๏ธ (95%) |
| JetBrains Mono / Arial | Indigo | Architecture RFCs, Technical Specs | โญ๏ธโญ๏ธโญ๏ธโญ๏ธ (N/A) |
| Times New Roman | Slate | Research Proposals, Theses | โญ๏ธโญ๏ธโญ๏ธโญ๏ธ (90%) |
| Garamond | Bronze | Senior Leadership Biographies | โญ๏ธโญ๏ธโญ๏ธโญ๏ธ (92%) |
๐ Production Mermaid Architecture Templates
MarkForge natively renders enterprise-grade Mermaid diagrams with automatic template-synchronized palette theming, live SVG generation, and clean fallback warnings:
Cloud Microservices & Zero-Trust Ingress (
cloud-microservices): Cloudflare CDN/WAF, Envoy Gateway, JWT verification, microservices mesh, Kafka, PostgreSQL HA, Redis, OTel tracing.Event-Driven CQRS & Real-Time Ingestion (
event-driven-cqrs): Partitioned Kafka buffer, stream workers, append-only event store, resilient Dead Letter Queue (DLQ), and query projection search views.Clean Hexagonal Architecture (
hexagonal-architecture): Domain-Driven Design (DDD) with Driving Adapters, Application Use Cases, Core Domain, and Driven Infrastructure Ports.Zero-Trust Enterprise Security (
zero-trust-security): IdP auth, Edge Policy Enforcement Points (PEP), Open Policy Agent (OPA) engine, SPIFFE mTLS workload mesh, and immutable WORM audit trails.Multi-Region High-Availability & Disaster Recovery (
multi-region-resilience): Anycast Geo-DNS, active Kubernetes compute pods, warm standby region, and cross-region asynchronous database WAL replication.Production Lifecycle & Decision Logic (
standard-flowchart): Standard production engineering workflow with AST validation checkpoints and error recovery paths.
๐ For complete template catalogs, read Templates & Architecture Guide.
๐ Quickstart
1. Developer CLI
Run directly with bun or npx:
# Compile markdown into both DOCX & PDF
bun run packages/cli/src/index.ts build resume.md --template ats-classic --format both
# Watch mode for real-time live compilation while editing
bun run packages/cli/src/index.ts watch resume.md --template modern-accent
# Run ATS & document quality audit
bun run packages/cli/src/index.ts analyze resume.md
# Enforce minimum ATS score threshold in CI (exit code 1 if < 85)
bun run packages/cli/src/index.ts analyze resume.md --min-score 85 --json
# Preview formatted markdown directly in terminal via native Bun.markdown
bun run packages/cli/src/index.ts preview resume.md
# Verify local rendering engines
bun run packages/cli/src/index.ts doctor๐ For complete command parameters and flags, read CLI Documentation.
2. Interactive Web Studio
๐ Live Edge Deployment: https://mark.arafz.id (Global Next.js 15 deployment on Cloudflare Workers)
Or launch the split-screen web studio locally:
# Clone the repository
git clone https://github.com/rafliiar17/markforge.git
cd markforge
# Install dependencies
bun install
# Start Next.js development server
bun dev:webOpen http://localhost:3030 to access the studio.
3. Docker Container
Deploy the complete environment (including pre-configured LibreOffice, WeasyPrint, and Web Studio) in an isolated container:
docker-compose up --buildAccess the studio at http://localhost:3030.
๐ค Model Context Protocol (MCP) Setup
Turn your AI assistant into an autonomous document compiler and resume coach.
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"markforge": {
"command": "bun",
"args": ["run", "/absolute/path/to/markforge/packages/mcp/src/index.ts"]
}
}
}Cursor IDE (.cursor/mcp.json):
{
"mcpServers": {
"markforge": {
"command": "bun",
"args": ["run", "/absolute/path/to/markforge/packages/mcp/src/index.ts"]
}
}
}Available MCP Tools:
Tool | Description |
| Compiles markdown text to DOCX, PDF, or HTML with chosen styling |
| Audits ATS score, action verbs, quantified metrics, and missing sections |
| Returns metadata, typography specs, and categories for all templates |
| Returns starter markdown templates (ATS Resume, Tech Spec, etc.) |
| Verifies system conversion engines (LibreOffice, WeasyPrint, Pandoc) |
๐ For complete MCP setup guides and sample AI prompts, read MCP Documentation.
๐ Deep Documentation
Explore our comprehensive technical guides:
๐ฆ Monorepo Topology
markforge/
โโโ packages/
โ โโโ core/ # AST parser, DOCX & PDF compilers, ATS analyzer, Pino logger
โ โโโ cli/ # Developer CLI (`markforge build`, `watch`, `analyze`, `doctor`)
โ โโโ mcp/ # Model Context Protocol (MCP) server for Claude / Cursor / AI
โ โโโ web/ # Next.js 15 App Router studio with Tailwind & shadcn/ui
โโโ docs/ # Deep technical documentation
โโโ examples/ # Sample ATS resumes, technical specifications, and portfolios
โโโ .github/ # CI/CD workflows, issue templates, PR template๐งช Quality Gates & Testing
MarkForge maintains a 100% automated test pass rate across all packages:
# Run 112 automated unit and E2E tests
bun test
# Typecheck all packages with strict TypeScript
bun --cwd packages/core tsc --noEmit
bun --cwd packages/cli tsc --noEmit
bun --cwd packages/mcp tsc --noEmit
bun --cwd packages/web tsc --noEmit
# Test production Web Studio build
bun run --cwd packages/web build๐ค Contributing & Community
Contributions are warmly welcome! Please review:
๐ License & Author
Distributed under the MIT License.
Engineered with โค๏ธ by Rafli Arraafi Albaasith.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Use your own Word templates to convert Markdown โ DOCX/PDF/HTML from any MCP-compatible AI.
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
Generate tailored, ATS-optimized resume PDFs and cover letters from a job description, over MCP.
Generate PDF, Word (.docx) and PowerPoint (.pptx) documents from Markdown over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables document conversion and processing through an MCP server interface for AI assistants.-
- AlicenseNot gradedqualityDmaintenanceProvides a unified interface for AI agents and scripts to read, create, and edit office documents (.docx, .xlsx, .pdf) via MCP tools, using Markdown as the intermediary format. Supports in-place patching with stable IDs, Jinja2 templating, and formatting preservation.1MIT

SuperDocs MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI-powered document editing, drafting, searching, summarizing, and exporting styled documents (docx, PDF, HTML, Markdown) across large files via 38 MCP tools.1MIT
@docmake/mcpofficial
AlicenseAqualityBmaintenanceEnables AI assistants to generate DOCX and PDF documents from DocMake templates through natural language, including template listing, field inspection, document rendering, DOCX import, and usage tracking.6194MIT