Submit

MyFirstMCP - Model Context Protocol Server Example

@iamgauravn

This is a simple C# implementation of a Model Context Protocol (MCP) server using .NET 9. The project demonstrates how to create an MCP server with basic functionality including monkey and selling services.
Overview

what is MyFirstMCP?

MyFirstMCP is a simple C# implementation of a Model Context Protocol (MCP) server using .NET 9, designed to demonstrate the creation of an MCP server with basic functionalities including monkey and selling services.

how to use MyFirstMCP?

To use MyFirstMCP, clone the repository, open the project in Visual Studio Code, restore NuGet packages, and run the project with the provided configuration.

key features of MyFirstMCP?

  • MonkeyService: Fetches monkey data from an external API.
  • SellingService: Manages selling records.
  • MCP Tools: Provides command interfaces for the services.

use cases of MyFirstMCP?

  1. Fetching and displaying monkey data for educational purposes.
  2. Managing and recording sales transactions in applications.
  3. Serving as a backend for applications that require context-based data management.

FAQ from MyFirstMCP?

  • What are the prerequisites for running MyFirstMCP?

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

  • How do I configure the MCP server?

You need to add the specified configuration to your claude_desktop_config.json file, ensuring the project path matches your local environment.

  • Is there any documentation available?

Yes, references for building an MCP server in C# and a quick start guide are provided in the project.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.