VisioMCP
VisioMCP
一个通过 COM 自动化控制 Microsoft Visio 的 Windows MCP 服务器。
任何兼容 MCP 的 AI 客户端都可以通过调用简洁、结构化的工具来创建、编辑、读取和导出 Visio 图表——无需了解任何 COM 知识。
AI Client (Claude, GPT, etc.)
↕ MCP / stdio
VisioMCP.exe
↕ Windows COM
Microsoft Visio快速开始
先决条件
Windows 10 或 11
Microsoft Visio(2013、2016、2019、2021 或 Microsoft 365)
兼容 MCP 的 AI 客户端(Claude Desktop 等)
安装
从发布页面下载
VisioMCP-Setup.exe。运行安装程序。Visio 会被自动检测——大多数情况下无需配置。
将 VisioMCP 添加到你的 MCP 客户端配置中:
{
"mcpServers": {
"visio": {
"command": "C:\\Program Files\\VisioMCP\\VisioMCP.exe"
}
}
}重启你的 AI 客户端。你应该会看到 Visio 工具可用。
Related MCP server: Visio MCP Server
工具
查看 TOOLS.md 获取可用工具及其参数的完整列表。
文档工具: get_visio_status、open_visio、create_document、open_document、save_document、close_document、get_document_info
页面工具: get_pages、create_page
形状工具: add_shape、set_shape_text、move_shape、resize_shape、delete_shape、get_shapes、get_selection
连接器工具: connect_shapes
导出工具: export_document
示例:网络图
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" }配置
配置文件:%LOCALAPPDATA%\VisioMCP\config.json
{
"visioPath": "C:\\Program Files\\Microsoft Office\\root\\Office16\\VISIO.EXE",
"autoStartVisio": true,
"confirmDestructiveActions": false,
"logLevel": "info",
"comTimeoutMs": 30000,
"allowSilentOverwrite": false
}所有字段均为可选。如果未设置 visioPath,VisioMCP 会自动检测 Visio。
你也可以将 VISIOMCP_VISIO_PATH 设置为环境变量。
日志
日志写入位置:%LOCALAPPDATA%\VisioMCP\logs\visiomcp-YYYY-MM-DD.log
绝不写入 stdout(保留用于 MCP 协议通信)。
安全
不暴露任意 COM 执行
无网络服务器——仅使用 stdio
所有文件路径均经过验证和规范化
默认不静默覆盖文件
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage Microsoft Outlook emails, calendar events, contacts, and folders via COM automation.1MIT
- AlicenseNot gradedqualityFmaintenanceEnables to create and edit Microsoft Visio diagrams programmatically via a standardized API.86MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Hancom's HWP/HWPX documents (Korean word processor) via COM interface on Windows, supporting creation, editing, formatting, and export.MIT
- FlicenseNot gradedqualityBmaintenanceDrives Microsoft Visio desktop via COM automation to create, style, and layout diagrams such as flowcharts and cloud architecture, then exports PNGs for visual feedback and iteration.
Related MCP Connectors
Build and run visual creative-production workflows from your AI agent.
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SONA-LK/VISIO-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server