
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A sample MCP Server and MCP client using Aspire, including a Blazor chat client that connects to the MCP server and can call its functions.
Aspire.MCP.Sample is cataloged as an MCP server attributed to elbruno. A sample MCP Server and MCP client using Aspire, including a Blazor chat client that connects to the MCP server and can call its functions. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Aspire.MCP.Sample are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It displays the result of the function call in the chat interface.
The selected model must support function calling to be able to call the MCP server functions.
The sample MCP client is a Blazor Chat client.
README.md · 58f1c6ca2a8d · Fetched 2026-11-13 07:48:55 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Sample MCP Server and MCP client using Aspire.
This sample demonstrates a Model Context Protocol (MCP) Server and client setup using Aspire. It showcases how to establish and manage MCP communication, using C# in a structured Aspire environment.
Check out this 5-minute video overview to see the project in action.
Check out this 5-minute video overview to see how to deploy the solution to Azure, and how to consume the deployed MCP Server in Azure from Visual Studio Code.
azd commands.Clone the repository:
Navigate to the Aspire project directory:
cd .\src\McpSample.AppHost\
Run the project:
dotnet run
In the Aspire Dashboard, navigate to the Blazor Chat client project.

In the Chat Settings page, define the model to be used. You choose to use models in Azure AI Foundry (suggested gpt-4o-mini), GitHub Models or locally with ollama (suggested llama3.2)

Now you can chat with the model. Everytime that one of the functions of the MCP server is called, the Tool Result section will be displayed in the chat.


(WIP)
Once you've opened the project in Codespaces, or locally, you can deploy it to Azure.
From a Terminal window, open the folder with the clone of this repo and run the following commands.
Login to Azure:
azd auth login
Provision and deploy all the resources:
azd up
It will prompt you to provide an azd environment name (like "aspiremcp"), select a subscription from your Azure account, and select a location.
When azd has finished deploying, you'll see the list of resources created in Azure and a set of URIs in the command output.
Visit the blazorchat URI, and you should see the MCP Chat App! 🎉
Note: The deploy files are located in the ./src/McpSample.AppHost/infra/ folder. They are generated by the Aspire AppHost project.
Contributions are welcome! Feel free to submit issues and pull requests.
This project is licensed under the MIT License.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Aspire.MCP.Sample from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/aspire.mcp.sample)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.