Load for Blazor/MudBlazor UI changes involving forms, dialogs, focus, keyboard navigation, landmarks, ARIA, color contrast, RTL-safe styling, or WCAG 2.2 AA tests; not for backend-only changes.
中文简介正在准备中。当前显示原文说明。
Load when creating, scaffolding, configuring, debugging, testing, containerizing, or publishing a C#/.NET Model Context Protocol (MCP) server using the official Microsoft ModelContextProtocol SDK; not for non-.NET MCP servers, general ASP.NET Core APIs without MCP, or consuming external MCP tools as a client.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
A unified skill for building, debugging, testing, and publishing C# Model Context Protocol (MCP) servers using Microsoft's official ModelContextProtocol SDK.
Program.cs, or implementing tools.McpClient integration fixtures, or LLM evaluation suites.ModelContextProtocol or ModelContextProtocol.AspNetCore package.MapMcp) for remote, multi-client, or containerized deployments.LogToStandardErrorThreshold = LogLevel.Trace).[McpServerToolType]; exposed methods must carry [McpServerTool]. Both methods and parameters require descriptive [Description] attributes to guide AI model tool selection. Asynchronous tools must accept and propagate a CancellationToken.npx @modelcontextprotocol/inspector) before debugging consuming IDE clients.HttpMessageHandler or domain services). Protocol behavior must be verified via integration tests using McpClient asserting both ListToolsAsync() and CallToolAsync()..env files into NuGet packages, Docker images, or server.json.| User Intent / Task | Primary Lifecycle Guide | Deep Reference |
|---|---|---|
| Scaffold new MCP server, choose transport, configure DI | server-scaffolding.md | transport-config.md, api-patterns.md |
| Author complex tools, prompts, resources, or Native AOT | server-scaffolding.md | api-patterns.md |
| Run locally, debug protocol, use MCP Inspector | debugging-and-inspector.md | mcp-inspector.md |
| Configure client IDEs (VS Code, Visual Studio, Copilot) | debugging-and-inspector.md | ide-config.md |
| Write unit or protocol integration tests | testing-and-evaluations.md | test-patterns.md |
| Create LLM tool quality evaluations | testing-and-evaluations.md | evaluations.md |
Package as global .NET tool (dotnet pack) | publishing-and-deployment.md | nuget-packaging.md |
| Build Docker container or deploy to Azure Container Apps | publishing-and-deployment.md | docker-azure.md |
| Publish listing to the official MCP Registry | publishing-and-deployment.md | mcp-registry.md |
dotnet build --configuration Releasenpx @modelcontextprotocol/inspector dotnet run --project <Server.csproj>dotnet test --project <Server.Tests.csproj> --configuration Release还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Load for Blazor/MudBlazor UI changes involving forms, dialogs, focus, keyboard navigation, landmarks, ARIA, color contrast, RTL-safe styling, or WCAG 2.2 AA tests; not for backend-only changes.
中文简介正在准备中。当前显示原文说明。
Load when a task asks to research, verify, compare, or look up framework/package behavior, release notes, standards, RFCs, CVEs, or unfamiliar APIs; use repository evidence first, then official docs, and not for codebase navigation alone.
中文简介正在准备中。当前显示原文说明。
Load for Aspire AppHost work: start/stop/wait resources, inspect dashboard/logs/traces, add integrations/resources, rebuild a service, run isolated worktrees, or diagnose Aspire orchestration; not for plain dotnet apps, container-only deployments, or cloud deployment.
中文简介正在准备中。当前显示原文说明。
Load for authentication or authorization changes involving BFF cookies/tokens, JWT validation, claims/user ID extraction, policies, handler access checks, impersonation, or 401/403 bugs; not for UI affordance gating alone.
中文简介正在准备中。当前显示原文说明。
Load for Blazor BFF server work involving YARP proxy routes, cookie sessions, access-token forwarding/refresh, downstream API calls, BFF handlers, or browser-to-API auth failures; not for client component rendering or API JWT validation alone.
中文简介正在准备中。当前显示原文说明。
Load when editing Blazor `.razor.css`, scoped selectors, `::deep`, BEM class names, RTL/logical CSS properties, or styling nested MudBlazor components; not for global design tokens or non-Blazor CSS.
中文简介正在准备中。当前显示原文说明。