您可以查看这篇博客中的逐步解释:
https://dev.to/mehrandvd/create-an-mcp-server-with-net-and-c-251p
完整技术保护
代码和配置
翻译范围
格式要求