MonkeyMCP

MonkeyMCP

61

Monkey is an MCP server implementation demonstrating how to set up a model-driven system using .NET 9.0. It offers tools for data management and is extensible with custom tool capabilities.

Overview

Monkey is a Model Context Protocol (MCP) server implementation built with .NET 9.0. It facilitates interactions in a model-driven system using a custom protocol. Key features include:

  • MCP Server: Utilizing the ModelContextProtocol library for communication via stdio.
  • MonkeyService: Fetches monkey data from an API, with caching capabilities.
  • Custom Tools: Offers tools such as GetMonkeys and Echo to interact with clients.
  • SSE Implementation: Provides a Server-Sent Events version for HTTP-based communication, leveraging ASP.NET Core.

Getting Started

  • Requires .NET 9.0 SDK.
  • Clone, build, and configure the server using the given instructions.

Features

  • Core MCP tools and monkey data retrieval.
  • Hosting configuration using multiple logging providers like Console and Debug.
  • Extensible with custom tool creation.

Dependencies

  • Uses libraries such as Microsoft.Extensions.Hosting and System.Text.Json for hosting and data handling.