Skip to content

Commit d75be10

Browse files
committed
Fix numbering of steps as per review feedback
1 parent 5c4983b commit d75be10

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/ide/mcp-servers.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,30 @@ By standardizing this interaction, MCP eliminates the need for custom integratio
3434
The following walkthrough requires 17.14.9 or later.
3535

3636
1. Create a new file: `<SOLUTIONDIR>\.mcp.json` or `%USERPROFILE%\.mcp.json`. Using Visual Studio to edit this file is recommended so its JSON schema is automatically applied.
37-
1. Paste the following contents into the `.mcp.json` file
38-
39-
```json
40-
{
41-
"servers": {
42-
"github": {
43-
"url": "https://api.githubcopilot.com/mcp/"
37+
2. Paste the following contents into the `.mcp.json` file
38+
39+
```json
40+
{
41+
"servers": {
42+
"github": {
43+
"url": "https://api.githubcopilot.com/mcp/"
44+
}
4445
}
4546
}
46-
}
47-
```
47+
```
4848

49-
1. Save the file, then activate the CodeLens that appears over the new server to authenticate to this server using a GitHub account.
49+
3. Save the file, then activate the CodeLens that appears over the new server to authenticate to this server using a GitHub account.
5050

51-
1. In Visual Studio, click the `Ask` dropdown in the GitHub Copilot Chat window, and then select `Agent`.
51+
4. In Visual Studio, click the `Ask` dropdown in the GitHub Copilot Chat window, and then select `Agent`.
5252

5353
:::image type="content" source="media/vs-2022/copilot-agent-mode/copilot-agent-dropdown.png" alt-text="Screenshot that shows Copilot agent mode selector." lightbox="media/vs-2022/copilot-agent-mode/copilot-agent-dropdown.png":::
5454

55-
1. Select the tools you'd like to use, for example, `list_issues`
55+
5. Select the tools you'd like to use, for example, `list_issues`
5656

5757
:::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":::
5858

59-
1. Try a sample prompt: `list issues assigned to me on GitHub`
60-
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.
59+
6. Try a sample prompt: `list issues assigned to me on GitHub`
60+
7. 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.
6161

6262
:::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":::
6363

@@ -111,23 +111,23 @@ With the latest servicing release of 17.14, Visual Studio now supports direct in
111111
| `command` | Command to start the server executable, required for "stdio" |
112112
| `args` |Array of arguments passed to the command, required for "stdio" |
113113

114-
1. URL-encode the JSON, you can use an online encoder or your browser console.
114+
2. URL-encode the JSON, you can use an online encoder or your browser console.
115115

116116
Browser console example:
117117

118118
```js
119119
encodeURIComponent('{"name":"My Server","type":"http","url":"https://example.com/mcp/"}')
120120
```
121121

122-
1. Insert the URL-encoded JSON into the MCP URI format to form a Visual Studio install link.
122+
3. Insert the URL-encoded JSON into the MCP URI format to form a Visual Studio install link.
123123

124124
Format:
125125

126126
```bash
127127
vsweb+mcp:/install?<ENCODED_JSON>
128128
```
129129

130-
1. Add the markdown badge to your GitHub repo/docs.
130+
4. Add the markdown badge to your GitHub repo/docs.
131131

132132
Example:
133133

0 commit comments

Comments
 (0)