From 5becabad03ed5a68d1a9361e18c81915eff68561 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Mon, 13 Oct 2025 13:15:57 -0400 Subject: [PATCH] clarify project location --- docs/ai/quickstarts/build-mcp-server.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/ai/quickstarts/build-mcp-server.md b/docs/ai/quickstarts/build-mcp-server.md index fd38d842aa99a..1be2b31172f34 100644 --- a/docs/ai/quickstarts/build-mcp-server.md +++ b/docs/ai/quickstarts/build-mcp-server.md @@ -66,20 +66,23 @@ Configure GitHub Copilot for Visual Studio Code to use your custom MCP server: "args": [ "run", "--project", - "" + "" ] } } } ``` + > [!NOTE] + > VS Code executes MCP servers from the workspace root. The `` placeholder should point to your .NET project file. For example, the value for this **SampleMcpServer** app would be `SampleMcpServer.csproj`. + 1. Save the file. ## Test the MCP server The MCP server template includes a tool called `get_random_number` you can use for testing and as a starting point for development. -1. Open GitHub Copilot in Visual Studio Code and switch to chat mode. +1. Open GitHub Copilot in Visual Studio Code and switch to agent mode. 1. Select the **Select tools** icon to verify your **SampleMcpServer** is available with the sample tool listed.