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)
| Tool | Category | Description |
|---|---|---|
| add_text | content | Apply text labels to shapes |
| create_visio_file | diagram-management | Create new Visio diagrams with optional templates |
| open_visio_file | diagram-management | Open existing Visio diagram files |
| save_documents | diagram-management | Save changes to disk |
| export_as_images | export | Convert diagrams to image formats |
| list_shapes | inspection | Retrieve all shapes from the current diagram |
| add_shape | shapes | Insert shapes with positioning and type selection |
| connect_shapes | shapes | Link 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