Skip to content

Commit ecb7bc8

Browse files
connieyCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1f6a28d commit ecb7bc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/Azure.Mcp.Core/src/Areas/Server/Commands/ServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public static IServiceCollection AddAzureMcpServer(this IServiceCollection servi
5151
.Configure<IMcpRuntime, IOptions<AzureMcpServerConfiguration>>(
5252
(mcpServerOptions, mcpRuntime, serverConfig) =>
5353
{
54-
var mcpServerOptionsBuilder = services.AddOptions<McpServerOptions>();
54+
5555
var entryAssembly = Assembly.GetEntryAssembly();
56-
var assemblyName = entryAssembly?.GetName();
56+
5757

5858
mcpServerOptions.ProtocolVersion = "2024-11-05";
5959
mcpServerOptions.ServerInfo = new Implementation

0 commit comments

Comments
 (0)