送信

Aspire.MCP.Sample

@elbruno

Sample MCP Server and MCP client with Aspire
概要

what is Aspire.MCP.Sample?

Aspire.MCP.Sample is a sample project that demonstrates the setup of a Model Context Protocol (MCP) Server and client using Aspire, showcasing how to establish and manage MCP communication in a structured environment.

how to use Aspire.MCP.Sample?

To use Aspire.MCP.Sample, clone the repository, navigate to the project directory, and run the project using the .NET SDK. Configure the Blazor Chat client in the Aspire Dashboard to define the model to be used for communication.

key features of Aspire.MCP.Sample?

  • Implements an MCP server for managing client communication.
  • Includes a sample Blazor Chat client for interaction with the MCP server.
  • Integrates with Aspire for containerized orchestration and service management.

use cases of Aspire.MCP.Sample?

  1. Establishing real-time communication between clients and servers.
  2. Demonstrating the use of MCP in a structured application environment.
  3. Facilitating chat interactions with AI models through the Blazor client.

FAQ from Aspire.MCP.Sample?

  • What are the prerequisites to run this project?

You need .NET SDK 9.0 or later, and either Visual Studio 2022 or Visual Studio Code.

  • Can I run this project locally?

Yes! You can clone the repository and run it locally using the provided instructions.

  • Is there support for different AI models?

Yes! You can choose to use models from Azure AI Foundry or run local models with Ollama.