Can AI agents automate Visual Studio?
Microsoft · desktop · developer-toolsenterprise
Visual Studio on Windows is automatable today through devenv and the EnvDTE COM object model, not through Visual Studio Code. This record is the current Visual Studio Windows IDE (2026 family, with Visual Studio 2022 version 17.14 still documented for MCP client features). It is not VS Code, not GitHub, and not another IDE. devenv.com accepts /Build, /Rebuild, /Clean, /Deploy, /Project, and /Out without displaying the IDE, plus /Command and /Edit when the IDE should start. Microsoft recommends MSBuild instead of devenv for build-related tasks. EnvDTE.DTE is the top-level Visual Studio automation object: solutions, documents, commands, windows, and ExecuteCommand. From Visual Studio 2017 onward, external launch uses the Setup Configuration APIs and the running-object table because side-by-side installs are supported. The official Visual Studio SDK builds VSIX extensions in C# (VSPackage and MEF). Community, Professional, Enterprise, Build Tools, and Team Explorer share the opened Windows system-requirements set. Visual Studio hosts MCP servers for GitHub Copilot agent mode; that is an MCP client, not a first-party server that exposes the IDE. A Visual Studio product MCP server is not established. iPaaS catalogs were not opened. Computer-use viability is unassessed. CLI and COM API both score 6. CLI is the best path because unattended /Build, /Clean, and /Rebuild do not require a visible IDE or a COM attach.
Best path today: cli · Overall automatability: 6/10
Modalities
| Modality | Status | Detail |
|---|---|---|
| API | yes | com coverage: partial · docs |
| SDK | yes | csharp official: yes |
| MCP | unknown | verdict: unknown |
| Integrations | unknown | |
| CLI | yes | |
| Extensibility | yes | vsixenvdte webhooks: unknown |
| Data access | export: unknown · import: unknown | |
| RPA / UI automation | unknown | win32 No repeatable UI probe was run. Microsoft documents the EnvDTE COM automation object model, the official Visual Studio SDK, and devenv command-line switches as machine paths. This record is the Visual Studio Windows IDE. It is not Visual Studio Code, GitHub, or Azure DevOps as standalone products.
|
| Computer use | unknown | measured verdicts only — "unknown" means not yet probed by us |
Scores
| api | mcp | integrations | cli | rpa | computer use | overall |
|---|---|---|---|---|---|---|
| 6 | — | — | 6 | — | — | 6 |
Evidence
| Fact | Tier | Source | Date |
|---|---|---|---|
homepage | declared | source | 2026-09-12 |
license | declared | source | 2026-09-12 |
platforms | declared | source | 2026-09-12 |
deployment | declared | source | 2026-09-12 |
modalities.api.exists | declared | source | 2026-09-12 |
modalities.api.kinds[0] | declared | source | 2026-09-12 |
modalities.api.coverage | declared | source | 2026-09-12 |
modalities.api.docs | declared | source | 2026-09-12 |
modalities.sdk.exists | declared | source | 2026-09-12 |
modalities.sdk.languages[0] | declared | source | 2026-09-12 |
modalities.sdk.official | declared | source | 2026-09-12 |
modalities.cli.exists | declared | source | 2026-09-12 |
modalities.extensibility.scripting[0] | declared | source | 2026-09-12 |
modalities.extensibility.scripting[1] | declared | source | 2026-09-12 |
modalities.rpa.ui_stack[0] | declared | source | 2026-09-12 |
modalities.agent_docs.llms_txt | scraped | source | 2026-09-12 |
verdict.scores.api | declared | source | 2026-09-12 |
verdict.scores.cli | declared | source | 2026-09-12 |
freshness.watch[0].url | declared | source | 2026-09-12 |
freshness.watch[1].url | declared | source | 2026-09-12 |
freshness.watch[2].url | declared | source | 2026-09-12 |
freshness.watch[3].url | declared | source | 2026-09-12 |
Related tools
Other products in this database that share a category with Visual Studio.
Last verified 2026-09-12 · volatility high · JSON record