Add .NET MCP Server authoring skill#33
Conversation
Co-authored-by: artl93 <9855795+artl93@users.noreply.github.com>
|
|
||
| var builder = Host.CreateApplicationBuilder(args); | ||
|
|
||
| builder.Logging.AddConsole(); |
There was a problem hiding this comment.
@copilot - why are we logging to console? Would it be better to log to file pr better to stderr per spec? Spewing to the console creates problems and is non-compliant for stdio servers
There was a problem hiding this comment.
Fixed in 94e9a59. Logging now configured to write to stderr using LogToStandardErrorThreshold = LogLevel.Trace, keeping stdout clear for JSON-RPC messages per MCP stdio transport spec.
| } | ||
| } | ||
| ``` | ||
|
|
There was a problem hiding this comment.
@copilot - should we add a step for packaging / deployment?
There was a problem hiding this comment.
Added in 94e9a59 as Step 8. Covers standalone executables, Native AOT, container deployment with Docker, and deployment considerations. Detailed examples moved to references/code-examples.md.
| - Consider if project timeline aligns with .NET 10 release | ||
| - Use preview versions only for experimentation | ||
|
|
||
| **Decision tree**: Use .NET 8 LTS unless the user has a specific reason to use .NET 9 features or is targeting .NET 10 for long-term projects starting after its release. |
There was a problem hiding this comment.
@copilot - please prefer .NET 10 - today is Feb 17, 2026, so the information here is quite dated.
There was a problem hiding this comment.
Updated in 94e9a59. Now recommends .NET 10 LTS as current best choice (support through Nov 2027), with .NET 9 STS approaching end of support (May 2026) and .NET 8 LTS as fallback for compatibility constraints.
…d deployment step Co-authored-by: artl93 <9855795+artl93@users.noreply.github.com>
|
@leslierichardson95 - yours to my eyes (without testing) yours looks more comprehensive. Are you opposed to going with yours? What do you think yours could use? |
@artl93 I'm not opposed to going with mine. At a glance, I think mine could also definitely use some of your content like the following:
|
|
Have copilot just grab ‘em (local CLI / VSCode / VS should work great for looking at two PRs and updating an existing one). I’m just on calls the rest of the day. :-(
From: leslierichardson95 ***@***.***>
Date: Thursday, February 19, 2026 at 11:34 AM
To: dotnet/skills ***@***.***>
Cc: Art Leonard ***@***.***>, Mention ***@***.***>
Subject: Re: [dotnet/skills] Add .NET MCP Server authoring skill (PR #33)
[https://avatars.githubusercontent.com/u/7150306?s=20&v=4]leslierichardson95 left a comment (dotnet/skills#33)<#33 (comment)>
@leslierichardson95<https://github.com/leslierichardson95> - yours to my eyes (without testing) yours looks more comprehensive. Are you opposed to going with yours? What do you think yours could use?
@artl93<https://github.com/artl93> I'm not opposed to going with mine. At a glance, I think mine could also definitely use some of your content like the following:
* the docker-compose.yml file example
* the input specification chart for extra clarity / description
* the common pitfalls chart
* additional resources section
* Authentication details / examples
—
Reply to this email directly, view it on GitHub<#33 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACLGGM5UAU4C7MXY43IMFI34MYF3FAVCNFSM6AAAAACVNXWMN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMRZGQ3TONBTGU>.
You are receiving this because you were mentioned.
|
|
yes let's get one simplified MCP authoring skill between this and #36 please |
|
Let's take Leslie's. |
Developers building MCP (Model Context Protocol) servers for AI agents lack reliable guidance on transport selection, hosting patterns, and SDK usage for the evolving .NET MCP ecosystem.
Changes
skills/dotnet-mcp-server/SKILL.md(473 lines) withreferences/code-examples.mdfor detailed examplesModelContextProtocolfor stdio (with stderr logging), ASP.NET Core withModelContextProtocol.AspNetCorefor HTTPIMcpToolandIMcpResourceimplementations with attribute-based method registrationExample
Targets Copilot CLI, VS Code, Claude Desktop, and web-based agent consumers.
Key Technical Details
LogToStandardErrorThreshold) to maintain MCP protocol compliancereferences/directory per repository conventionsOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.