Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4500140
add SSMS to table
ghogen Jun 4, 2026
46d4bfe
Merge pull request #15479 from ghogen/component-id-ssms-link
prmerger-automator[bot] Jun 5, 2026
31a53c0
Merge pull request #15485 from MicrosoftDocs/repo_sync_working_branch
Albertyang0 Jun 5, 2026
888ea4a
Revert "Add SSMS to workloads and component ID table"
ghogen Jun 5, 2026
de54847
Merge pull request #15486 from MicrosoftDocs/revert-15479-component-i…
ghogen Jun 5, 2026
a09985d
Add Git Blame (#15448)
anandmeg Jun 8, 2026
b15cf66
Clarify the MSB3821 messaging and guidance
JanKrivanek Jun 10, 2026
349ad57
Update documentation date for synchronized settings
ghogen Jun 10, 2026
9990640
Clarify settings sharing in side-by-side installations
ghogen Jun 10, 2026
7190506
Update documentation date for menu customization
ghogen Jun 10, 2026
d61ee80
Change last modified date to 06/10/2026
ghogen Jun 10, 2026
a8aa92a
MS 365 Apps for enterprise status update (#15491)
JoseB-RDC Jun 11, 2026
de3245b
Merge pull request #15497 from MicrosoftDocs/main
learn-build-service-prod[bot] Jun 11, 2026
5999370
Merge pull request #15493 from JanKrivanek/dev/jankrivanek/reword-msb…
prmerger-automator[bot] Jun 11, 2026
a7db413
Merge pull request #15495 from MicrosoftDocs/ghogen-patch-2
prmerger-automator[bot] Jun 11, 2026
993b81e
Merge pull request #15494 from MicrosoftDocs/ghogen-patch-1
prmerger-automator[bot] Jun 11, 2026
36e0826
Merge pull request #15496 from MicrosoftDocs/ghogen-patch-3
prmerger-automator[bot] Jun 11, 2026
079f8d1
Update image (#15489)
ghogen Jun 11, 2026
4787027
New feature: View pull requests (#14784)
ghogen Jun 11, 2026
7bcbd0d
Add color emoji doc (#15490)
ghogen Jun 11, 2026
c3d2257
Add SSMS to product table
ghogen Jun 11, 2026
bc945e9
Merge pull request #15499 from MicrosoftDocs/main
learn-build-service-prod[bot] Jun 11, 2026
a18fa61
solutions-index updates (#15500)
JoseB-RDC Jun 12, 2026
60c8f84
Merge pull request #15498 from ghogen/workload-ssms
prmerger-automator[bot] Jun 12, 2026
96165d7
Merge pull request #15501 from MicrosoftDocs/main
learn-build-service-prod[bot] Jun 12, 2026
b4458c8
Update article on npm package management (#15483)
Mikejo5000 Jun 15, 2026
cfc682a
Merge pull request #15503 from MicrosoftDocs/main
learn-build-service-prod[bot] Jun 15, 2026
d9f2590
New DataCamp Learn document and screen shots (#15502)
JoseB-RDC Jun 16, 2026
18d1ec7
Update VSTU change log for 18.7.0.0
sailro Jun 16, 2026
1f732a6
Revise change log for Visual Studio Tools for Unity
sailro Jun 16, 2026
42a9b1a
Update change log for Visual Studio Tools for Unity
sailro Jun 16, 2026
18f54b0
Update gamedev/unity/change-log-visual-studio-tools-for-unity.md
sailro Jun 16, 2026
3133696
Merge pull request #15505 from sailro/vstu-changelog-18.7.0.0
prmerger-automator[bot] Jun 16, 2026
4d659f8
Merge pull request #15506 from MicrosoftDocs/main
learn-build-service-prod[bot] Jun 16, 2026
d230587
VS | MCP server trust dialog (#15445)
RoseHJM Jun 16, 2026
2bfe12a
Merge pull request #15507 from MicrosoftDocs/main
learn-build-service-prod[bot] Jun 16, 2026
4ea5c9d
DataCamp eligibility table update
JoseB-RDC Jun 18, 2026
eeae0ff
Merge pull request #15509 from rigel512/datacamp-revised
prmerger-automator[bot] Jun 18, 2026
36e3e29
Merge pull request #15510 from MicrosoftDocs/main
learn-build-service-prod[bot] Jun 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions docs/ide/color-emojis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: Use color emojis in Visual Studio
description: Learn where Visual Studio shows emojis in full color, including comments, Markdown, Copilot Chat, Output window text, and Solution Explorer items.
ms.date: 06/08/2026
ms.topic: how-to
author: ghogen
ms.author: ghogen
ms.subservice: general-ide
---

# Use color emojis in Visual Studio

Visual Studio renders emojis in full color across common IDE surfaces. You can use emoji markers in comments, Markdown, and collaboration workflows while keeping the same visual meaning when you move between views.

## What color emoji support includes

Emoji characters now render in full color instead of monochrome outlines in supported Visual Studio surfaces. This behavior can make visual markers easier to scan in large files, logs, and tool windows.

## Where you see color emojis

You can use color emojis in the following places:

- Code comments
- Markdown files and Markdown preview
- GitHub Copilot Chat responses and prompts
- Output window text and logs
- Solution Explorer item and file names

## Try it quickly

Use this short check to verify rendering behavior in your environment:

1. Open a code file and add a comment that includes emojis, such as `// TODO ✅`.
1. Open or create a Markdown file and add a line with emojis, such as `Status: 🟢 Ready`.
1. Open **View** > **GitHub Copilot Chat** and submit a prompt that includes emojis.
1. Build a project and review text in the **Output** window.
1. Rename a test file or folder in **Solution Explorer** to include an emoji and confirm color rendering.

To insert emoji characters while you're typing, use the Windows emoji picker by pressing <kbd>Windows</kbd>+<kbd>.</kbd> (period), and then select an emoji.

## Notes and limitations

- Emoji appearance can vary slightly by Windows configuration, installed fonts, and scaling settings.
- In Visual Studio, supported emoji characters are rendered with full color in the UI surfaces listed in this article.
- For more ways to enter emojis and symbols in Windows, see [Emoji, kaomoji, and symbols panel](https://support.microsoft.com/en-us/windows/windows-keyboard-tips-and-tricks-588e0b72-0fff-6d3f-aeee-6e5116097942).

## Related content

- [Markdown preview controls](markdown-preview.md)
- [About GitHub Copilot Chat in Visual Studio](visual-studio-github-copilot-chat.md)
- [Learn about Solution Explorer](use-solution-explorer.md)
- [Output Window](output-window.md)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Customize menus and toolbars
description: Learn how to customize Visual Studio menus and toolbars, and also learn how to customize any commands included in the menus and toolbars.
ms.date: 01/27/2023
ms.date: 06/10/2026
ms.topic: how-to
f1_keywords:
- vs.renametoolbar
Expand Down
2 changes: 2 additions & 0 deletions docs/ide/markdown-preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ monikerRange: "visualstudio"

The Visual Studio Markdown editor gives you more control over how you view and edit Markdown files. You can switch between different preview modes to focus on either editing or viewing rendered content, and you can zoom in on Mermaid diagrams to see details in complex visualizations.

For general behavior and supported surfaces, including emoji rendering in full color, see [Use color emojis in Visual Studio](color-emojis.md).

## Preview modes

Visual Studio provides three preview modes for working with Markdown files:
Expand Down
89 changes: 66 additions & 23 deletions docs/ide/mcp-servers.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Use MCP Servers
description: Learn how to add MCP servers in Visual Studio to extend GitHub Copilot agent capabilities, set up mcp.json, and manage tool permissions.
ms.date: 04/29/2026
title: Use MCP Servers to Extend GitHub Copilot
description: Learn how to add MCP servers in Visual Studio, configure mcp.json, and manage tool permissions to extend GitHub Copilot agents. Get started.
ms.date: 05/26/2026
ms.update-cycle: 180-days
ms.topic: get-started
author: RoseHJM
Expand All @@ -13,9 +13,9 @@ ai-usage: ai-assisted

---

# Use MCP servers
# Use MCP servers in Visual Studio

Model Context Protocol (MCP) is an open standard that lets GitHub Copilot use tools and services outside the IDE. In Visual Studio, MCP lets GitHub Copilot agents use external tools by connecting MCP clients to MCP servers that expose important functionality like file access, repo management, or PR creation. By standardizing how tools are discovered and invoked, MCP removes the need for custom integrations and makes it easy to extend AI assistants simply by adding new MCP servers.
MCP servers use the open Model Context Protocol (MCP) to let GitHub Copilot use tools and services outside the IDE. In Visual Studio, you can add MCP servers to extend agent capabilities for tasks such as file access, repo management, and pull request creation.

MCP support enhances GitHub Copilot agent mode by allowing you to connect any MCP-compatible server to your agentic coding workflow. MCP support in Visual Studio works as follows:

Expand Down Expand Up @@ -57,29 +57,29 @@ Try out some popular MCP servers in Visual Studio with one-click:
- [![Install MongoDB MCP in Visual Studio](https://img.shields.io/badge/Visual_Studio-Install_MongoDB_MCP-purple?style=flat-square&logo=visualstudio&logoColor=white)](https://vs-open.link/mcp-install?%7B%22name%22%3A%22mongodb%22%2C%22gallery%22%3Atrue%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22mongodb-mcp-server%22%5D%7D) – Database operations and management. Execute queries, manage collections, aggregation pipelines, and document operations.
- [![Install HuggingFace MCP in Visual Studio](https://img.shields.io/badge/Visual_Studio-Install_HuggingFace_MCP-purple?style=flat-square&logo=visualstudio&logoColor=white)](https://vs-open.link/mcp-install?%7B%22name%22%3A%22huggingface%22%2C%22gallery%22%3Atrue%2C%22url%22%3A%22https%3A%2F%2Fhf.co%2Fmcp%22%7D) – Access models, datasets, and Spaces on the Hugging Face Hub.

### Add an MCP Server from chat
### Add an MCP server from chat

To add an MCP server from chat view:

1. Select the green plus (`+`) button in the tool picker in the chat window.

:::image type="content" source="media/vs-2022/mcp-servers/plus-button-add-mcp.png" alt-text="Screenshot the plus button in tool picker of Visual Studio chat to add MCP server." lightbox="media/vs-2022/mcp-servers/configure-server-visual-studio.png":::
:::image type="content" source="media/vs-2022/mcp-servers/plus-button-add-mcp.png" alt-text="Screenshot of the plus button in the Visual Studio chat tool picker for adding an MCP server." lightbox="media/vs-2022/mcp-servers/configure-server-visual-studio.png":::

1. Specify the server name and connection details, such as the URL for HTTP servers or the command and arguments for stdio servers.

:::image type="content" source="media/vs-2022/mcp-servers/configure-server-visual-studio.png" alt-text="Screenshot that shows adding an MCP server from the chat view." lightbox="media/vs-2022/mcp-servers/configure-server-visual-studio.png":::
:::image type="content" source="media/vs-2022/mcp-servers/configure-server-visual-studio.png" alt-text="Screenshot of the chat view for adding an MCP server in Visual Studio." lightbox="media/vs-2022/mcp-servers/configure-server-visual-studio.png":::

### Add an MCP server from the GitHub MCP server registry

You can install an MCP server directly from the GitHub MCP server registry via Extensions in Visual Studio.
You can install an MCP server directly from the GitHub MCP server registry via **Extensions** in Visual Studio.

1. From the Visual Studio menu, select **Extensions** > **MCP Registries...** to open the **MCP Server Manager**.

:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-registry.png" alt-text="Screenshot that shows the Extensions menu for MCP Registries." lightbox="media/vs-2022/mcp-servers/model-context-protocol-registry.png":::
:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-registry.png" alt-text="Screenshot of the Extensions menu option for MCP Registries in Visual Studio." lightbox="media/vs-2022/mcp-servers/model-context-protocol-registry.png":::

1. Select the server you want, and then select **Install** for your Visual Studio instance.

:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-server-manager.png" alt-text="Screenshot that shows adding an MCP server from the MCP Server Manager." lightbox="media/vs-2022/mcp-servers/model-context-protocol-server-manager.png":::
:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-server-manager.png" alt-text="Screenshot of the MCP Server Manager for installing an MCP server." lightbox="media/vs-2022/mcp-servers/model-context-protocol-server-manager.png":::

### Add an MCP server to the `.mcp.json` file

Expand All @@ -105,23 +105,23 @@ The following steps walk you through a configuration example with the GitHub MCP
1. In the file, select **Authentication Required** from the CodeLens that appears to authenticate to the server through a GitHub account.
Select **Authenticate** on the pop-up dialog to authenticate with your GitHub account.

:::image type="content" source="media/vs-2022/mcp-servers/codelens-authentication.png" alt-text="Screenshot that shows CodeLens authentication." lightbox="media/vs-2022/mcp-servers/codelens-authentication.png":::
:::image type="content" source="media/vs-2022/mcp-servers/codelens-authentication.png" alt-text="Screenshot of the CodeLens prompt for MCP server authentication." lightbox="media/vs-2022/mcp-servers/codelens-authentication.png":::

If you don't see the CodeLens, ensure it's enabled in **Tools** > **Options** > **Text Editor** > **CodeLens**.

1. At the bottom of the chat panel, select **Agent** from the mode dropdown.

:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-dropdown.png" alt-text="Screenshot that shows the Copilot agent mode selector." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-dropdown.png":::
:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-dropdown.png" alt-text="Screenshot of the GitHub Copilot agent mode selector in the chat pane." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-dropdown.png":::

1. Select the tools that you want to use, for example, **List issues**.

:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-github-tools-list.png" alt-text="Screenshot that shows MCP GitHub tools." lightbox="media/vs-2022/mcp-servers/model-context-protocol-github-tools-list.png":::
:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-github-tools-list.png" alt-text="Screenshot of GitHub MCP tools available in the Visual Studio chat pane." lightbox="media/vs-2022/mcp-servers/model-context-protocol-github-tools-list.png":::

Try a sample prompt: **List issues assigned to me on GitHub**.

1. Copilot asks for permission to use a tool that the MCP server made available to it. Select **Allow** with the scope that you want to proceed with.

:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png" alt-text="Screenshot that shows confirmation options for agent tools." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png":::
:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png" alt-text="Screenshot of confirmation options for GitHub Copilot agent tools." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png":::

## Manage configuration of MCP servers

Expand Down Expand Up @@ -157,21 +157,21 @@ It's common to invoke tools through package managers. For example, use `npx -y @

The format must follow the MCP specification. For example, it must include an array of server objects, each with `name`, `command` or `url`, and `transport`.

### Editing MCP configuration
### Edit MCP configuration

If you have an existing `mcp.json` file and you check the file into your version control system, add the file location to **Solution Items** in Solution Explorer.

When you save the file with valid syntax, the GitHub Copilot agent restarts and reloads the configured servers.

:::moniker range="visualstudio"

:::image type="content" source="media/visualstudio/model-context-protocol-add-solution-item.png" alt-text="Screenshot that shows how to add the MCP configuration file location to Solution Items." lightbox="media/visualstudio/model-context-protocol-add-solution-item.png":::
:::image type="content" source="media/visualstudio/model-context-protocol-add-solution-item.png" alt-text="Screenshot of adding the MCP configuration file location to Solution Items." lightbox="media/visualstudio/model-context-protocol-add-solution-item.png":::

:::moniker-end

:::moniker range="<=vs-2022"

:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-add-solution-item.png" alt-text="Screenshot that shows adding the MCP configuration file location to Solution Items." lightbox="media/vs-2022/mcp-servers/model-context-protocol-add-solution-item.png":::
:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-add-solution-item.png" alt-text="Screenshot of the MCP configuration file location added to Solution Items." lightbox="media/vs-2022/mcp-servers/model-context-protocol-add-solution-item.png":::

:::moniker-end

Expand All @@ -186,39 +186,82 @@ As soon as Visual Studio discovers or adds a server:
- If you remove a server, Visual Studio immediately stops its process and withdraws all its tools from the UI.
- If you edit a server definition, Visual Studio terminates and restarts it, and then re-queries.

### Management of tool approvals
:::moniker range="visualstudio"

## MCP server trust dialog

> [!NOTE]
> MCP server trust is available in Visual Studio 2026 version 18.7 and later.

Visual Studio asks you to trust an MCP server again when the server has changed since the last time you used it. This prompt helps you decide whether to run the updated server.

### What to do when you're prompted

When the trust dialog appears, review the change and choose the action that matches your intent:

- **Accept** to run this updated version now.
- **Always Trust** to stop future trust prompts for this server.
- **Reject** to stop startup because you don't want to run the updated server.

If you choose **Reject**, Visual Studio doesn't start the server and asks again the next time you try to activate it.

### When you'll see the trust dialog

You'll be prompted when Visual Studio detects changes to either of these:

- Server configuration details, such as transport type, URL, command, or arguments.
- Server capabilities, such as tools, prompts, resources, resource templates, or instructions.

### When you won't see the trust dialog

Visual Studio skips the prompt when:

- The server is built in and shipped with the extension.
- Organization policy is set to `RegistryOnly`.
- You already selected **Always Trust** for that server.
- It's the first time the server is seen. Visual Studio saves an initial trust baseline automatically.

### Turn trust prompts on or off for updated MCP servers

To control whether Visual Studio prompts before running tools from an updated MCP server, go to **Tools** > **Options** > **GitHub** > **Copilot** and in **Copilot Chat** select or clear **Show trust dialog before running tools from an updated MCP server**.

If you don't see this setting, update to Visual Studio 2026 version 18.7 or later.

:::moniker-end

## Management of tool approvals

When you invoke a tool, Copilot requests confirmation to run the tool. The reason is that tools might run locally on your machine and perform actions that modify files or data.

:::moniker range="visualstudio"

After a tool invocation, on the chat pane, use the **Confirm** dropdown options. You can automatically confirm the specific tool for the current session, the current solution, or all future invocations.

:::image type="content" source="media/visualstudio/copilot-agent-tool-approval.png" alt-text="Screenshot that shows how to manage agent tool approvals." lightbox="media/visualstudio/copilot-agent-tool-approval.png":::
:::image type="content" source="media/visualstudio/copilot-agent-tool-approval.png" alt-text="Screenshot of the chat pane options for managing agent tool approvals." lightbox="media/visualstudio/copilot-agent-tool-approval.png":::

:::moniker-end

:::moniker range="<=vs-2022"

After a tool invocation, on the chat pane, use the **Allow** dropdown options. You can automatically confirm the specific tool for the current session, the current solution, or all future invocations.

:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png" alt-text="Screenshot that shows managing agent tool approvals." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png":::
:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png" alt-text="Screenshot of agent tool approval options in the Visual Studio chat pane." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png":::

:::moniker-end

:::moniker range="visualstudio"

You can reset tool confirmation selections in the **Tools** > **Options** dialog, in the **All Settings** > **GitHub** > **Copilot** > **Tools** section.

:::image type="content" source="media/visualstudio/copilot-agent-tool-config.png" alt-text="Screenshot that shows Copilot tool configuration settings." lightbox="media/visualstudio/copilot-agent-tool-config.png":::
:::image type="content" source="media/visualstudio/copilot-agent-tool-config.png" alt-text="Screenshot of GitHub Copilot tool configuration settings in Visual Studio." lightbox="media/visualstudio/copilot-agent-tool-config.png":::

:::moniker-end

:::moniker range="<=vs-2022"

You can reset tool confirmation selections in the **Tools** > **Options** dialog, under the **GitHub** > **Copilot** section in the **Tools** group.

:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-tool-config.png" alt-text="Screenshot that shows tool configuration settings." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-tool-config.png":::
:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-tool-config.png" alt-text="Screenshot of tool configuration settings for GitHub Copilot in Visual Studio." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-tool-config.png":::

:::moniker-end

Expand Down
2 changes: 2 additions & 0 deletions docs/ide/output-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Turns the Word Wrap feature on and off in the **Output** pane. When Word Wrap is

The **Output** pane selected in the **Show output from** list displays output from the source indicated.

Emoji characters in Output text render in full color. For more information about emoji behavior across Visual Studio surfaces, see [Use color emojis in Visual Studio](color-emojis.md).

## Route messages to the Output window

To display the **Output** window whenever you build a project, in the **Options** dialog box, on the **Projects and Solutions** > **General** page, select **Show Output window when build starts**. Then, with a code file open for editing, choose **Go to Next Message** and **Go To Previous Message** on the **Output** window toolbar to select entries in the **Output** pane. As you do this, the insertion point in the code editor jumps to the line of code where the selected problem occurs.
Expand Down
Loading