From b05c8761c54fdaeb200f874968b1983c8b42f1e4 Mon Sep 17 00:00:00 2001 From: Muntazir Fadhel Date: Sat, 26 Sep 2026 16:41:00 +0300 Subject: [PATCH] Update copilot-instructions to reference McpServer.Create instead of the removed McpServerFactory --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index a8bb2d9a7..cd251a0b0 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -255,7 +255,7 @@ Two primary transport implementations with different invariants: - **IMcpServerBuilder** pattern provides fluent API for configuring servers via DI - Server primitives (tools, prompts, resources) are discovered via reflection using attributes - Support both attribute-based registration (`WithTools()`) and instance-based (`WithTools(target)`) -- Use `McpServerFactory` to create server instances with configured options +- Use `McpServer.Create` to create server instances with configured options ### Tool/Prompt/Resource Discovery - Tools, prompts, and resources use attribute-based discovery: `[McpServerTool]`, `[McpServerPrompt]`, `[McpServerResource]`