VisioMCP
Enables AI clients to create, edit, read, and export Microsoft Visio diagrams via COM automation on Windows.
README
VisioMCP
A Windows MCP server that controls Microsoft Visio via COM automation.
Any MCP-compatible AI client can create, edit, read, and export Visio diagrams by calling clean, structured tools — without knowing anything about COM.
AI Client (Claude, GPT, etc.)
↕ MCP / stdio
VisioMCP.exe
↕ Windows COM
Microsoft Visio
Quick Start
Prerequisites
- Windows 10 or 11
- Microsoft Visio (2013, 2016, 2019, 2021, or Microsoft 365)
- An MCP-compatible AI client (Claude Desktop, etc.)
Install
- Download
VisioMCP-Setup.exefrom the releases page. - Run the installer. Visio is auto-detected — no configuration needed in most cases.
- Add VisioMCP to your MCP client config:
{
"mcpServers": {
"visio": {
"command": "C:\\Program Files\\VisioMCP\\VisioMCP.exe"
}
}
}
- Restart your AI client. You should see Visio tools available.
Tools
See TOOLS.md for the full list of available tools and their parameters.
Document tools: get_visio_status, open_visio, create_document, open_document, save_document, close_document, get_document_info
Page tools: get_pages, create_page
Shape tools: add_shape, set_shape_text, move_shape, resize_shape, delete_shape, get_shapes, get_selection
Connector tools: connect_shapes
Export tools: export_document
Example: Network Diagram
User: Create a network diagram with a router, firewall, and server.
AI calls:
1. open_visio
2. create_document
3. add_shape { type: "rectangle", x: 4, y: 1, text: "Router" }
4. add_shape { type: "rectangle", x: 4, y: 3, text: "Firewall" }
5. add_shape { type: "rectangle", x: 4, y: 5, text: "Server" }
6. connect_shapes { fromShapeId: "Sheet.1", toShapeId: "Sheet.2" }
7. connect_shapes { fromShapeId: "Sheet.2", toShapeId: "Sheet.3" }
8. save_document { filePath: "C:\\Diagrams\\network.vsdx" }
Configuration
Config file: %LOCALAPPDATA%\VisioMCP\config.json
{
"visioPath": "C:\\Program Files\\Microsoft Office\\root\\Office16\\VISIO.EXE",
"autoStartVisio": true,
"confirmDestructiveActions": false,
"logLevel": "info",
"comTimeoutMs": 30000,
"allowSilentOverwrite": false
}
All fields are optional. VisioMCP auto-detects Visio if visioPath is not set.
You can also set VISIOMCP_VISIO_PATH as an environment variable.
Logs
Logs are written to: %LOCALAPPDATA%\VisioMCP\logs\visiomcp-YYYY-MM-DD.log
Never written to stdout (reserved for MCP protocol communication).
Security
- No arbitrary COM execution exposed
- No network server — stdio only
- All file paths validated and normalized
- No silent file overwrites by default
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.