Semantic Documents, Not Syntax

The fundamental difference: your agent thinks in terms of content, not layout. PolyDocs handles the rest.

🎯

Intent-Aware Planning

11 intents + 80+ content keywords automatically map to the right components. Tell your agent "create a pitch deck" and it knows exactly which 17 components to assemble.

👥

Audience-Optimised Output

Auto-detects executives, developers, investors, customers, students — and tailors component selection, density, and tone accordingly.

🎨

5 Professional Themes

Startup (dark/teal), Corporate (navy/blue), Modern (near-black/green), McKinsey (navy/dark-blue), Keynote (white/Apple-blue). Each with unique fonts, spacing, and card styles.

🖼️

AI Asset Integration

Blueprint includes per-component image prompts. Integrates with ComfyUI to generate custom visuals automatically — hero images, section backgrounds, diagrams.

Workflow Example
// User prompt
"Create a pitch deck for my AI startup"

// docforge_plan returns:
Blueprint {
  components: 17  // cover, problem, solution,
                     // market, traction, team...
  preflight:   3   // theme, font, density
  asset_prompts: 4 // hero + section visuals
}

// docforge_generate produces:
DOCX  // Word report with TOC
PPTX  // Rich slides with backgrounds
HTML  // Responsive web page

Everything an Agent Needs

71 semantic components, 55 document profiles, 5 output formats — PolyDocs is the most complete MCP document engine available.

55 Document Profiles

Business (14), Technical (8), Marketing (6), Education (5), HR (4), Finance (3), Product (4), AI/ML (4), Government (3), Sales (2), Executive (3), Creative (3), Documentation (4).

71 Semantic Components

42 core + 20 analysis frameworks + 4 charts + 5 academic. Executive summary, SWOT, KPI dashboard, timeline, roadmap, architecture diagram, decision matrix, and more.

5 Output Formats

DOCX (with real Word TOC fields), PPTX (via PptxGenJS + python-pptx fallback), PDF (LibreOffice), HTML (responsive template), Markdown. One plan, any format.

Preflight System

4 configurable questions (theme, font, density, format). Agents ask before generating, ensuring the output matches user expectations every time.

Diagram Engine

Graphviz DOT→PNG pipeline for flowcharts, architecture diagrams, tree structures, Venn diagrams, and process maps. Embedded directly into DOCX output.

Security Built-In

Output sandboxing (~/.docforge/output/), path traversal blocking, image URL allowlisting, HTML escaping, CSS validation, SSRF protection, temp auto-cleanup.

Validation & Errors

Recursive plan validation with typed errors (planning, IR, layout, render, theme, asset, export). Every error includes a machine-readable code and actionable suggestions.

Plugin Architecture

Extend with custom components, export formats, themes, and asset providers. Drop-in Python files or entry-point packages. No fork required.

Agent → Plan → Document

The entire pipeline from natural language to professional output in 4 steps.

1

Prompt

User tells the AI agent what they need — "Create a quarterly business review deck" or "Write a technical architecture document".

2

Plan

The agent calls docforge_plan. PolyDocs returns a blueprint with matched components, preflight questions for the user, and per-slide image prompts for AI asset generation.

3

Preflight + Assets

Agent asks the user about theme/font preference. If ComfyUI is available, generates custom visuals for each prompt. All data collected before the final step.

4

Generate

Agent calls docforge_generate with the filled plan and user choices. PolyDocs produces the final document — DOCX, PPTX, HTML, PDF, or Markdown — in seconds.

7 Tools, One Protocol

Every PolyDocs capability is exposed as an MCP tool. Compatible with every MCP client.

Tool Description
docforge_plan Convert a natural language prompt into a structured Document Plan with profile matching, preflight questions, and asset generation prompts.
docforge_validate Recursively validate a plan — checks component types, data schemas, children, style fields, and metadata. Catches errors before generation.
docforge_generate Execute a plan and produce the final output file. Supports DOCX, PPTX, HTML, MD, and PDF formats.
docforge_component Preview a single semantic component in any format. Useful for testing and iteration during development.
docforge_theme List available themes with full colour palettes, typography specs, and visual previews.
docforge_describe Get the full component catalog with data schemas and environment status. Helps LLMs understand available capabilities.
docforge_status Check engine status — Node.js availability, component counts, format support, and theme registry.

55 Profiles. 13 Categories.

Every profile includes optimised component selection, layout rules, and formatting presets. No two documents are templated the same way.

Business

14 profiles
  • Report
  • Presentation
  • Pitch Deck
  • Proposal
  • Business Plan
  • Project Plan
  • Status
  • Roadmap
  • Strategy
  • Meeting Minutes
  • Case Study

Technical

8 profiles
  • Architecture
  • API Docs
  • Developer Guide
  • Release Notes
  • User Manual
  • Security Review
  • Benchmark Report

Marketing

6 profiles
  • Marketing Plan
  • Product Launch
  • Whitepaper
  • Press Release
  • One-Pager
  • Sales Brochure

Education

5 profiles
  • Lesson Plan
  • Lecture Slides
  • Course Material
  • Thesis Proposal
  • Research Summary

AI / ML

4 profiles
  • Model Card
  • Evaluation Report
  • RAG Architecture
  • Prompt Library

Executive

3 profiles
  • Board Meeting
  • QBR
  • Executive Summary

Product

4 profiles
  • PRD
  • Competitor Analysis
  • User Personas
  • Release Plan

Finance

3 profiles
  • Financial Report
  • Budget
  • Investment Pitch

Creative

3 profiles
  • Portfolio
  • Storyboard
  • Event Plan

Documentation

4 profiles
  • Quick Start
  • How-To
  • FAQ
  • Tutorial

Five Distinct Visual Identities

Each theme is a complete design system with unique colours, typography, spacing, and card styles.

Startup

Teal / Dark · Inter · Left aligned

Corporate

Blue / Navy · Georgia · Centered

Modern

Green / Near-black · Inter · Left aligned

McKinsey

Dark Blue / Navy · Georgia · Left aligned

Keynote

Apple Blue / White · SF System · Centered

Connect in Minutes

PolyDocs is hosted at polydocs.arcflameinteractive.com/mcp. Get a Application Token license, configure your client, and go.

Configure your MCP client
// ~/.config/opencode/opencode.jsonc
{
  "mcpServers": {
    "arcflame-polydocs": {
      "type": "remote",
      "url": "https://polydocs.arcflameinteractive.com/mcp",
      "headers": {
        "CF-Access-Client-Id": "<token from Arcflame>",
        "CF-Access-Client-Secret": "<token from Arcflame>"
      },
      "enabled": true
    }
  }
}

Compatible with Claude Desktop, opencode, Continue.dev, Cursor, Windsurf, and any MCP client. A Application Token license is required — issued upon subscription.

Request License

Simple. Transparent. INR.

Cloudflare-gated token licensing. Pay per call volume. Straightforward tiers.

Starter

₹999
/month · 50 calls
  • Application Token license
  • Full MCP server access
  • All 71 components & 55 profiles
  • DOCX + PPTX + HTML + MD + PDF
  • 50 API calls per month
  • Email support
Subscribe Now

Growth

₹1,499
/month · 150 calls
  • Application Token license
  • Full MCP server access
  • All 71 components & 55 profiles
  • DOCX + PPTX + HTML + MD + PDF
  • 150 API calls per month
  • Priority email support
Subscribe Now

Corporate

₹20,000
/month · 4000 calls
  • Dedicated hosted instance
  • 4000 API calls per month
  • Team-wide access
  • Priority support & SLAs
  • Custom integration support
  • On-demand assessment upgrades
Contact Sales

Give Your Agents Document Superpowers

From pitch decks to technical docs — PolyDocs turns natural language into professional documents. Get licensed and connect in minutes.