Command Palette

Search for a command to run...

UnylyUnyly
Browse all

DrawForge

FreeNot checked

DrawForge — Model Context Protocol server

GitHubEmbed

About

DrawForge — Model Context Protocol server

README

English | 简体中文

DrawForge is an experimental framework for turning reference diagrams into editable diagram assets through an agent-guided loop built on top of Microsoft Visio.

Today the project focuses on:

  • analyzing a source figure
  • planning layout and drawing strategy
  • compiling that plan into DrawDSL
  • executing through a Visio bridge
  • exporting previews, reviewing each round, and carrying lessons forward

The repository is for building the workflow, contracts, and reusable skills around that loop.

Start Here

What The Repository Tries To Do

DrawForge is not trying to replace professional diagram tools. It is trying to make them usable through an explicit agent workflow:

intent -> analysis -> plan -> drawdsl -> backend -> preview -> review -> lesson

That workflow is split into clear layers so each part can improve without collapsing everything into one prompt.

Repository Guide

  • Setup/
    • job config, workspace bootstrap, execution scripts
  • agent/
    • agent-facing reusable assets and skill entrypoints
  • agent/skills/plannerskills/
    • figure analysis and task orchestration
  • agent/skills/drawskills/
    • layout, typography, spacing, DrawDSL, drawing rules
  • agent/skills/visioskills/
    • Visio bridge, atomic operations, operator guidance
  • agent/skills/learningskills/
    • reusable lessons from drawing rounds
  • docs/
    • human docs, development docs, architecture docs, research notes

For the detailed agent operating guide, see AGENT_GUIDE.md.

How The Loop Works

  1. Analyze the figure and identify its main regions.
  2. Plan what should be drawn first and what must improve this round.
  3. Compile the drawing intent into DrawDSL.
  4. Execute the plan through the software backend.
  5. Export a preview and compare it against the target.
  6. Record what worked, what failed, and what should become reusable knowledge.

Current Status

Working now:

  • Windows FastAPI bridge to Visio COM
  • stable session, save, close, and export flow
  • DrawDSL-based node and connector execution
  • text-box coupling and vertical text support
  • preview-based review workflow
  • reusable lessons captured in agent/skills/learningskills/

Still incomplete:

  • richer connector routing control
  • graph-level readback
  • native image placement
  • broader benchmark coverage
  • stronger backend abstraction beyond Visio

Documentation

Early-stage contribution model

DrawForge is still early, so evidence-backed agent feedback is useful. The repository now routes that feedback explicitly:

  • round-specific findings stay in job reviews
  • structural but still-hypothetical ideas go to docs/dev/proposals/
  • validated reusable patterns become lessons
  • mature defaults move into shared skills, scripts, schemas, or contracts

For the full contribution routing guide, see CONTRIBUTING.md. GitHub-side intake templates now live under .github/ISSUE_TEMPLATE/ and .github/PULL_REQUEST_TEMPLATE.md.

License

DrawForge is released under the MIT License. See LICENSE.

Backend Direction

The current execution backend is Microsoft Visio. The higher-level goal is to keep planning, drawing intent, review, and learning as stable layers while allowing additional backends in the future, such as a parallel drawioskills/ layer.

Project Direction

If this repository is useful over time, the durable value will not be a single model run. It will be the growing set of:

  • contracts
  • skills
  • operations
  • layout rules
  • review rules
  • lessons
  • backend adapters

That is the part the project is trying to make easier to build, test, and reuse.

from github.com/qweadzchn/DrawForge

Installing DrawForge

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/qweadzchn/DrawForge

FAQ

Is DrawForge MCP free?

Yes, DrawForge MCP is free — one-click install via Unyly at no cost.

Does DrawForge need an API key?

No, DrawForge runs without API keys or environment variables.

Is DrawForge hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install DrawForge in Claude Desktop, Claude Code or Cursor?

Open DrawForge on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare DrawForge with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs