MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

Office Visio MCP Server

by GongRzhe

Automate Microsoft Visio diagram creation and editing through AI assistants

design Python Intermediate Self-hostable No API key
⭐ 43 stars πŸ“… Updated: 10mo ago

Description

An MCP server for automating Microsoft Visio diagram creation and editing via the COM interface. Provides 8 tools for creating diagrams, adding and connecting shapes, applying text, listing shapes, saving files, and exporting to images. Supports multiple connector types (Dynamic, Straight, Curved) and various shape types. Windows-only β€” requires Microsoft Visio installed.

βœ… Best for

Windows teams that need automated Visio diagram generation through AI assistants

⏭️ Skip if

You're on macOS/Linux or don't have Microsoft Visio

πŸ’‘ Use cases

  • Creating flowcharts and diagrams through AI assistant instructions
  • Automating Visio diagram generation from structured data
  • Connecting shapes into process flows and organizational charts
  • Exporting diagrams to image formats for documentation

πŸ‘ Pros

  • βœ“ Direct Visio automation via COM β€” full native integration
  • βœ“ Multiple connector and shape types supported
  • βœ“ Zero open issues β€” stable codebase
  • βœ“ Export to image formats

πŸ‘Ž Cons

  • βœ— Windows-only β€” requires Microsoft Visio installed
  • βœ— COM interface may have performance limitations with large diagrams
  • βœ— Limited to 8 basic tools β€” advanced styling not yet available

πŸ”§ Exposed tools (8 tools)

ToolCategoryDescription
add_textcontentApply text labels to shapes
create_visio_filediagram-managementCreate new Visio diagrams with optional templates
open_visio_filediagram-managementOpen existing Visio diagram files
save_documentsdiagram-managementSave changes to disk
export_as_imagesexportConvert diagrams to image formats
list_shapesinspectionRetrieve all shapes from the current diagram
add_shapeshapesInsert shapes with positioning and type selection
connect_shapesshapesLink shapes using Dynamic, Straight, or Curved connectors

πŸ’‘ Tips & tricks

Use connect_shapes with Dynamic connector type for auto-routing between shapes. Export to images for cross-platform sharing of generated diagrams.

Quick info

Author
GongRzhe
License
MIT
Runtime
Python 3.12+
Transport
stdio
Category
design
Difficulty
Intermediate
Self-hostable
βœ…
Auth
β€”
Docker
β€”
Version
1.0.0
Updated
May 14, 2025

Client compatibility

  • ❓ Claude Code
  • ❓ Cursor
  • ❓ VS Code Copilot
  • ❓ Gemini CLI
  • ❓ Windsurf
  • ❓ Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

πŸͺŸ Windows