Skip to main content
Glama

๐Ÿ“‘ 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:1 Visual Parity: Generates native OpenXML (.docx) and print-quality PDF files that share identical typography, margins, and section spacing.

  2. Built-in ATS & Quality Auditor: Evaluates your markdown AST against recruitment criteria (scores 0-100, action verb density, quantifiable metrics, section completeness).

  3. AI-Native via MCP: Enables LLMs (Claude Desktop, Cursor, Antigravity) to directly compile, audit, and optimize documents without leaving chat.

  4. 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 mermaid code 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 id and English en) 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

ats-classic

Arial / Helvetica

Charcoal

Standard Resumes, Applications

โญ๏ธโญ๏ธโญ๏ธโญ๏ธโญ๏ธ (100%)

modern-accent

Inter / Calibri

Emerald

Tech Portfolios, Modern CVs

โญ๏ธโญ๏ธโญ๏ธโญ๏ธ (95%)

tech-spec

JetBrains Mono / Arial

Indigo

Architecture RFCs, Technical Specs

โญ๏ธโญ๏ธโญ๏ธโญ๏ธ (N/A)

academic

Times New Roman

Slate

Research Proposals, Theses

โญ๏ธโญ๏ธโญ๏ธโญ๏ธ (90%)

executive

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:web

Open 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 --build

Access 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

convert_markdown

Compiles markdown text to DOCX, PDF, or HTML with chosen styling

analyze_document

Audits ATS score, action verbs, quantified metrics, and missing sections

list_templates

Returns metadata, typography specs, and categories for all templates

get_template_skeleton

Returns starter markdown templates (ATS Resume, Tech Spec, etc.)

doctor

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.

Maintenance

ActivityMaintained
ResponsivenessNo issues

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

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables document conversion and processing through an MCP server interface for AI assistants.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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.
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables 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.
    6
    194
    MIT