About Csharp Minimal
Csharp Minimal is an MCP server in the Search category: minimal MCP Client/Server examples using the Official C# MCP SDK.
Install
git clone https://github.com/peidaqi/mcp-csharp-minimalThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Csharp Minimal
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Minimal Model Context Protocol (MCP) Client/Server examples using the Official C# MCP SDK
The Model Context Protocol (MCP) is an open standard developed by Anthropic to enable seamless integration between Large Language Models (LLMs) and external tools, services, and data sources.
Since release, it has gained a lot of popularity and has greatly expanded the capabilities for AI tools such as Cursor and Cline.
Although the official MCP C# SDK has been released, the examples provided are a bit complex and can be overwhelming for beginners.
This repository offers two minimal client/server examples to help you get started quickly and easily.
Projects Overview
There are two methods to implement MCP:
- HTTP
Communicates remotely or through localhost using Streamable HTTP or Server-Sent Events(SSE). SSE is now deprecated. - Stdio
Communicates locally by starting the server as a child process of client, and exchange data over stdio pipe.
Details can be found here.
This repository includes minimal implementations for both methods:
http-server
Minimal MCP server implementation using Streamable HTTP. This works with http-client
stdio-server
Minimal MCP server implementation using Stdio. This works with stdio-client
The Server can either be tested with the Client or using the official MCP Inspector.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.