mcp server
1 TopicCreate and edit diagrams with Microsoft Visio Desktop MCP (Preview)
Today we're announcing the preview of Microsoft Visio Desktop MCP. It lets compatible AI clients, such as GitHub Copilot in Visual Studio Code, help create, read, and update diagrams directly in the Visio desktop app on your Windows PC. Visio Desktop MCP is a local Model Context Protocol (MCP) server that runs on your Windows PC and interacts directly with the Visio desktop app. MCP is an open standard that allows AI agents to use tools. When you add Visio Desktop MCP to your AI client, the agent gets a set of Visio tools. It can help read existing Visio files, find suitable shapes, add shapes, connectors, containers, and swimlanes, check the layout, and save the file. You describe what you need in plain language, and the agent helps build the diagram in Visio while you watch and review. This preview is designed for local use and evaluation. The experience is still evolving, and capabilities may change as development continues. The result is an editable Visio diagram, not a picture of one. You can turn a written procedure, inventory, or rough idea into a first draft then review and refine it in Visio. This work is generated by AI. Check all contents for accuracy before relying on the information presented. What you can do Create diagrams from a description or your own files, including flowcharts, cross-functional flowcharts, org charts, network diagrams, and architecture diagrams. Read and analyze diagrams. Summarize a process or turn a diagram into a list or table. Make focused updates, such as adding a step or reconnecting shapes, without redrawing the rest of the diagram. Work with your organization's shapes and diagramming standards, including using custom agents for your team's diagramming rules. See it in action Contoso's Finance Operations team keeps its purchasing procedure in a Word document. It covers five roles and 11 steps, including approvals, a budget check, supplier quotes, and a three-way invoice match. The team needs a process diagram to help document the procedure. A finance analyst with Visio Desktop MCP added to GitHub Copilot in VS Code opens the folder containing the document and enters this prompt in Chat, in Agent mode: Create a cross-functional flowchart in Visio from purchase-request-procedure.docx. Use horizontal swimlanes, one for each role, so the process reads left to right. Show every step and decision, label the decision branches, and include the rework and rejection paths. Title it "Purchase request to payment". GitHub Copilot reads the procedure and uses Visio Desktop MCP to help create the diagram in Visio, including selecting shapes and organizing the process into swimlanes. The agent can also use available tools to check the layout, make adjustments, and save the file. Results can vary, so the analyst reviews the diagram for accuracy and completeness before sharing it. This work is generated by AI. Check all contents for accuracy before relying on the information presented. What you need Visio desktop app: A licensed Windows device with the Visio desktop app installed and activated, with a license such as Visio Plan 2. .NET 10 SDK: The .NET 10 SDK, version 10.0.100 or later. AI client: An AI client that supports local MCP servers and agent mode, such as GitHub Copilot in Visual Studio Code. Organization approval: On a work device, your organization must allow MCP servers in your AI client and allow your device to download the Microsoft.Visio.Mcp package. Note: GitHub Copilot requires a separate subscription. Neither your Visio license nor Visio Desktop MCP includes GitHub Copilot or an AI model. Access to supported AI models and usage allowances depends on your GitHub Copilot plan and applicable terms. Additional usage requirements or charges may apply depending on your plan and usage. See GitHub Copilot plans and pricing. Other AI clients have their own requirements. Get started in Visual Studio Code One way to start is with Visual Studio Code and GitHub Copilot. To use another AI client, see manual configuration. Install Visual Studio Code. Install the GitHub Copilot Chat extension and sign in with a GitHub account that has a GitHub Copilot subscription. Install the NET 10 SDK. Press Ctrl+Shift+P, and run MCP: Add Server. Select Command (stdio), enter dnx Microsoft.Visio.Mcp --prerelease, and name the server visio-local. If you're asked for a configuration target, select Global > Copilot Global. Press Ctrl+Alt+I to open Chat in Agent mode, and ask for a diagram. When you're asked Allow tool from visio-local?, review the request, and then allow it. Tip: Let your agent to help with setup. In Agent mode, share the link to Set up Visio Desktop MCP, and ask the agent to follow the steps. Review each change before you approve it. Learn more What is Visio Desktop MCP? Create your first diagram with Visio Desktop MCP Best practices for Visio Desktop MCP Troubleshoot Visio Desktop MCP and Frequently asked questions Visio Desktop MCP on GitHub About the preview Local experience: Visio Desktop MCP runs locally on your Windows PC and interacts directly with the Visio desktop app. However, diagram content processed by the agent may be sent to your connected AI client and model subject to that service’s terms. Use an AI client and model approved by your organization. Preview limitations: Visio Desktop MCP is intended for evaluation and is not recommended for production environments or critical workloads. Capabilities, functionality, requirements, and availability are subject to change. The preview experience may differ in a future generally available release. Review the results: AI-generated diagrams might not reflect your intent. Check content and layout before you share or rely on a diagram. For the full list, see Preview limitations. Share your feedback GitHub Issues: Report a bug, ask a question, or suggest a feature in GitHub Issues. Sign in with a GitHub account, search existing issues first, and check Troubleshoot Visio Desktop MCP for known problems. Include reproduction steps, expected and actual results, your Windows, Visio, Visio Desktop MCP, and AI client versions, and any agent error details. See Feedback for more. Feedback in Visio: In the Visio Desktop app, select Help > Feedback. We can't wait to see what you build. Tell us which scenarios you've unlocked, what worked well, and where it fell short. Your stories help shape what we build next. This work is generated by AI. Check all contents for accuracy before relying on the information presented.167Views1like0Comments