Skip to main content
Glama

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 等)

安装

  1. 从发布页面下载 VisioMCP-Setup.exe

  2. 运行安装程序。Visio 会被自动检测——大多数情况下无需配置。

  3. 将 VisioMCP 添加到你的 MCP 客户端配置中:

{
  "mcpServers": {
    "visio": {
      "command": "C:\\Program Files\\VisioMCP\\VisioMCP.exe"
    }
  }
}
  1. 重启你的 AI 客户端。你应该会看到 Visio 工具可用。


Related MCP server: Visio MCP Server

工具

查看 TOOLS.md 获取可用工具及其参数的完整列表。

文档工具: get_visio_statusopen_visiocreate_documentopen_documentsave_documentclose_documentget_document_info

页面工具: get_pagescreate_page

形状工具: add_shapeset_shape_textmove_shaperesize_shapedelete_shapeget_shapesget_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

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to manage Microsoft Outlook emails, calendar events, contacts, and folders via COM automation.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to control Hancom's HWP/HWPX documents (Korean word processor) via COM interface on Windows, supporting creation, editing, formatting, and export.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Drives 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.

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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