Skip to content

Commit 91f05d8

Browse files
authored
fix links (#48651)
1 parent dcea68a commit 91f05d8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/ai/quickstarts/build-mcp-server.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: alexwolf
1212
In this quickstart, you create a minimal Model Context Protocol (MCP) server using the [C# SDK for MCP](https://github.com/modelcontextprotocol/csharp-sdk), connect to it using GitHub Copilot, and publish it to NuGet. MCP servers are services that expose capabilities to clients through the Model Context Protocol (MCP).
1313

1414
> [!NOTE]
15-
> The `Microsoft.Extensions.AI.Templates` experience is currently in preview. The template uses the [ModelContextProtocol](https://www.nuget.org/packages/ModelContextProtocol/) library and the [MCP registry `server.json` schema](https://github.com/modelcontextprotocol/registry/blob/main/docs/server-json/README.md), which are both in preview.
15+
> The `Microsoft.Extensions.AI.Templates` experience is currently in preview. The template uses the [ModelContextProtocol](https://www.nuget.org/packages/ModelContextProtocol/) library and the [MCP registry `server.json` schema](https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/generic-server-json.md), which are both in preview.
1616
1717
## Prerequisites
1818

@@ -140,11 +140,11 @@ In this example, you enhance the MCP server to use a configuration value set in
140140

141141
VS Code should return a random weather description.
142142

143-
1. Update the `.mcp/server.json` to declare your environment variable input. The `server.json` file schema is defined by the [MCP Registry project](https://github.com/modelcontextprotocol/registry/blob/main/docs/server-json/README.md) and is used by NuGet.org to generate VS Code MCP configuration.
143+
1. Update the `.mcp/server.json` to declare your environment variable input. The `server.json` file schema is defined by the [MCP Registry project](https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/generic-server-json.md) and is used by NuGet.org to generate VS Code MCP configuration.
144144

145-
* Use the `environment_variables` property to declare environment variables used by your app that will be set by the client using the MCP server (for example, VS Code).
145+
- Use the `environment_variables` property to declare environment variables used by your app that will be set by the client using the MCP server (for example, VS Code).
146146

147-
* Use the `package_arguments` property to define CLI arguments that will be passed to your app. For more examples, see the [MCP Registry project](https://github.com/modelcontextprotocol/registry/blob/main/docs/server-json/examples.md).
147+
- Use the `package_arguments` property to define CLI arguments that will be passed to your app. For more examples, see the [MCP Registry project](https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/generic-server-json.md#examples).
148148

149149
:::code language="json" source="snippets/mcp-server/.mcp/server.json":::
150150

@@ -231,15 +231,15 @@ For more information, see [Publish a package](/nuget/nuget-org/publish-a-package
231231

232232
## Common issues
233233

234-
### The command "dnx" needed to run SampleMcpServer was not found.
234+
### The command "dnx" needed to run SampleMcpServer was not found
235235

236236
If VS Code shows this error when starting the MCP server, you need to install a compatible version of the .NET SDK.
237237

238238
:::image type="content" source="../media/mcp/missing-dnx.png" alt-text="A screenshot showing the missing dnx command in VS Code.":::
239239

240-
The `dnx` command is shipped as part of the .NET SDK, starting with version 10 preview 6. [Install the .NET 10 SDK](https://dotnet.microsoft.com/download/dotnet) to resolve this issue.
240+
The `dnx` command is shipped as part of the .NET SDK, starting with version 10. [Install the .NET 10 SDK](https://dotnet.microsoft.com/download/dotnet) to resolve this issue.
241241

242-
### GitHub Copilot does not use your tool (an answer is provided without invoking your tool).
242+
### GitHub Copilot doesn't use your tool (an answer is provided without invoking your tool)
243243

244244
Generally speaking, an AI agent like GitHub Copilot is informed that it has some tools available by the client application, such as VS Code. Some tools, such as the sample random number tool, might not be leveraged by the AI agent because it has similar functionality built in.
245245

0 commit comments

Comments
 (0)