From db28f56eaf3257c2a0d0318596f4d18bab084af4 Mon Sep 17 00:00:00 2001 From: leslierichardson95 Date: Wed, 14 Jan 2026 17:18:13 -0800 Subject: [PATCH 1/5] Document MCP Server project template in README Added information about the MCP Server project template and its usage. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a82152308..28f41ec8c 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,10 @@ var response = await chatClient.GetResponseAsync( ## Getting Started (Server) +### MCP Server Project Template + +You can create your own MCP server by using the MCP Server project template. This template will set you up with a working MCP server containing a random number tool that returns a random number between a specified min and max value. This template also lets you select an MCP transport type (stdio or http) and it will confgure the MCP Server based on that choice. To learn more about the template, read this MS Learn doc on [creating minimal MCP servers](https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-mcp-server). + Here is an example of how to create an MCP server and register all tools from the current application. It includes a simple echo tool as an example (this is included in the same file here for easy of copy and paste, but it needn't be in the same file... the employed overload of `WithTools` examines the current assembly for classes with the `McpServerToolType` attribute, and registers all methods with the From 86d40d148daf23a860be4e782e5e108686f0e43a Mon Sep 17 00:00:00 2001 From: leslierichardson95 Date: Tue, 27 Jan 2026 11:43:10 -0800 Subject: [PATCH 2/5] Update README.md Co-authored-by: Mike Kistler --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 28f41ec8c..459b0de57 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ var response = await chatClient.GetResponseAsync( ### MCP Server Project Template -You can create your own MCP server by using the MCP Server project template. This template will set you up with a working MCP server containing a random number tool that returns a random number between a specified min and max value. This template also lets you select an MCP transport type (stdio or http) and it will confgure the MCP Server based on that choice. To learn more about the template, read this MS Learn doc on [creating minimal MCP servers](https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-mcp-server). +You can create your own MCP server by using the MCP Server project template. This template will set you up with a working MCP server containing a random number tool that returns a random number between a specified min and max value. This template also lets you select an MCP transport type (stdio or http) and it will configure the MCP Server based on that choice. To learn more about the template, read this MS Learn doc on [creating minimal MCP servers](https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-mcp-server). Here is an example of how to create an MCP server and register all tools from the current application. It includes a simple echo tool as an example (this is included in the same file here for easy of copy and paste, but it needn't be in the same file... From 2a915560dc309c8e619577ef25a4c852e317adc4 Mon Sep 17 00:00:00 2001 From: Jeff Handley Date: Tue, 27 Jan 2026 12:25:13 -0800 Subject: [PATCH 3/5] Remove locale from docs link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 459b0de57..16cf96d7f 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ var response = await chatClient.GetResponseAsync( ### MCP Server Project Template -You can create your own MCP server by using the MCP Server project template. This template will set you up with a working MCP server containing a random number tool that returns a random number between a specified min and max value. This template also lets you select an MCP transport type (stdio or http) and it will configure the MCP Server based on that choice. To learn more about the template, read this MS Learn doc on [creating minimal MCP servers](https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-mcp-server). +You can create your own MCP server by using the MCP Server project template. This template will set you up with a working MCP server containing a random number tool that returns a random number between a specified min and max value. This template also lets you select an MCP transport type (stdio or http) and it will configure the MCP Server based on that choice. To learn more about the template, read this MS Learn doc on [creating minimal MCP servers](https://learn.microsoft.com/dotnet/ai/quickstarts/build-mcp-server). Here is an example of how to create an MCP server and register all tools from the current application. It includes a simple echo tool as an example (this is included in the same file here for easy of copy and paste, but it needn't be in the same file... From 88019443bfb4e13fe37d7e13b75981fa95a374f5 Mon Sep 17 00:00:00 2001 From: leslierichardson95 Date: Tue, 27 Jan 2026 13:49:24 -0800 Subject: [PATCH 4/5] Replaced template info with a quick tip Removed redundant information about the MCP Server project template with a Tip section to streamline the README. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 16cf96d7f..eb01dd2d5 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,8 @@ var response = await chatClient.GetResponseAsync( ## Getting Started (Server) -### MCP Server Project Template - -You can create your own MCP server by using the MCP Server project template. This template will set you up with a working MCP server containing a random number tool that returns a random number between a specified min and max value. This template also lets you select an MCP transport type (stdio or http) and it will configure the MCP Server based on that choice. To learn more about the template, read this MS Learn doc on [creating minimal MCP servers](https://learn.microsoft.com/dotnet/ai/quickstarts/build-mcp-server). +> [!TIP] +> You can use the [MCP Server project template](https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-mcp-server?pivots=visualstudio) to quickly get started with creating your own MCP server. Here is an example of how to create an MCP server and register all tools from the current application. It includes a simple echo tool as an example (this is included in the same file here for easy of copy and paste, but it needn't be in the same file... From 3eee3974e19d503ffca48b63a974d7ba0cd2bdf9 Mon Sep 17 00:00:00 2001 From: Jeff Handley Date: Tue, 27 Jan 2026 14:22:06 -0800 Subject: [PATCH 5/5] Remove locale from docs link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb01dd2d5..d282e9af3 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ var response = await chatClient.GetResponseAsync( ## Getting Started (Server) > [!TIP] -> You can use the [MCP Server project template](https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-mcp-server?pivots=visualstudio) to quickly get started with creating your own MCP server. +> You can use the [MCP Server project template](https://learn.microsoft.com/dotnet/ai/quickstarts/build-mcp-server?pivots=visualstudio) to quickly get started with creating your own MCP server. Here is an example of how to create an MCP server and register all tools from the current application. It includes a simple echo tool as an example (this is included in the same file here for easy of copy and paste, but it needn't be in the same file...