You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/mcp-servers.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Model Context Protocol (MCP) is an open standard that enables AI models to inter
18
18
+[Visual Studio 2022 version 17.14](/visualstudio/releases/2022/release-history) or later.
19
19
+ Set **Enable agent mode in the chat pane** in **Tools** > **Options** > **GitHub** > **Copilot** > **Copilot Chat**.
20
20
+[Sign in to Visual Studio using a GitHub account](work-with-github-accounts.md) with [Copilot access](https://docs.github.com/en/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot). <br/>
21
-
+ You can use [GitHub Copilot for Free](copilot-free-plan.md). Sign up and leverage AI to code faster and more efficiently.
21
+
+ You can use [GitHub Copilot for Free](copilot-free-plan.md).
22
22
23
23
## How do MCP and Visual Studio extend GitHub Copilot's agent?
24
24
@@ -68,20 +68,20 @@ By standardizing this interaction, MCP eliminates the need for custom integratio
68
68
1. Get a Personal Access Token for your [GitHub Account](https://github.com/settings/personal-access-tokens)
69
69
1. In Visual Studio, click the `Ask` dropdown in the GitHub Copilot Chat window, and then select `Agent`.
1. When prompted, paste your personal access token into the dialog.
74
74
75
-
:::image type="content" source="media/vs-2022/copilot-agent-mcp/model-context-protocol-personal-access-token.png" alt-text="Screenshot that shows entering the personal access token." lightbox="media/vs-2022/copilot-agent-mcp/model-context-protocol-personal-access-token.png":::
75
+
:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-personal-access-token.png" alt-text="Screenshot that shows entering the personal access token." lightbox="media/vs-2022/mcp-servers/model-context-protocol-personal-access-token.png":::
76
76
77
77
1. Select the tools you'd like to use, for example, `list_issues`
78
78
79
-
:::image type="content" source="media/vs-2022/copilot-agent-mcp/model-context-protocol-github-tools-list.png" alt-text="Screenshot that shows MCP GitHub tools." lightbox="media/vs-2022/copilot-agent-mcp/model-context-protocol-github-tools-list.png":::
79
+
:::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":::
80
80
81
81
1. Try a sample prompt: `list issues assigned to me on GitHub`
82
82
1. Copilot asks for permission to use a tool made available to it by the MCP server, select **Allow** with the scope you wish to proceed with.
83
83
84
-
:::image type="content" source="media/vs-2022/copilot-agent/copilot-agent-tool-approval.png" alt-text="Screenshot that shows the agent tools confirmation options." lightbox="media/vs-2022/copilot-agent/copilot-agent-tool-approval.png":::
84
+
:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png" alt-text="Screenshot that shows the agent tools confirmation options." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-tool-approval.png":::
85
85
86
86
## Supported MCP capabilities
87
87
@@ -131,7 +131,7 @@ With an existing `mcp.json` file, add the file location to **Solution Items** in
131
131
132
132
When the file is saved with valid syntax, GitHub Copilot's agent restarts and reloads the configured servers.
133
133
134
-
:::image type="content" source="media/vs-2022/copilot-agent-mcp/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/copilot-agent-mcp/model-context-protocol-add-solution-item.png":::
134
+
:::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":::
135
135
136
136
### Tool Lifecycle
137
137
@@ -150,11 +150,11 @@ When a tool is invoked, Copilot requests confirmation to run the tool. This is b
150
150
151
151
In the chat pane, after a tool invocation, use the **Allow** dropdown options to automatically confirm the specific tool for the current session, solution, or all future invocations.
0 commit comments