Back to MCP directory
publicPublicdnsLocal runtime

mcpserver-semantickernel-client-demo

展示一个基于C#的MCP服务器简单实现,使用Aspire托管并通过Semantic Kernel消费

article

README

🚀 C# MCP服务器基础实现示例

本项目展示了一个极为基础的C# MCP服务器实现示例。该服务器使用Aspire进行托管,并且可由Semantic Kernel客户端进行消费,为相关开发提供了一个简单且直观的参考。

🚀 快速开始

本示例展示了一个使用C#实现的基础MCP服务器,借助Aspire进行托管,同时可被Semantic Kernel客户端消费。以下是简要说明:

  • 此为基础的C# MCP服务器实现。
  • 利用Aspire进行服务器的托管。
  • 可通过Semantic Kernel客户端进行消费。

由于未提供具体代码示例和安装步骤等内容,若后续有相关补充,可进一步完善服务器的搭建和使用说明。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client