This project demonstrates how to create and use a Model Context Protocol (MCP) server using C#. The SampleMcpServer provides tools for generating random numbers and retrieving weather information.
- SampleMcpServer: A C# MCP server that provides:
- Random number generation tools
- Weather information tools
- Example of how to structure an MCP server project
If you want to use the published MCP server package:
- Install the package from NuGet.org using the configuration shown in SampleMcpServer/README.md
- Configure your IDE (VS Code or Visual Studio) with the appropriate MCP configuration
- Start using the tools through Copilot Chat
If you want to develop or modify the MCP server:
- Clone this repository
- Follow the development instructions in SampleMcpServer/README.md
- Test locally before publishing