A simple .NET implementation of an MCP (Model Context Protocol) Client and Server example. This project demonstrates how to create and interact with an MCP server using custom tools, natural language prompts, and standard I/O transport.
{
"mcpServers": {
"mcpclientserverexample": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A simple .NET implementation of an MCP (Model Context Protocol) Client and Server example. This project demonstrates how to create and interact with an MCP server using custom tools, natural language prompts, and standard I/O transport.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 341 days ago. 1 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
An open-source AI agent that brings the power of Gemini directly into your terminal.
The official Python SDK for Model Context Protocol servers and clients
MCP Security Weekly
Get CVE alerts and security updates for McpClientServerExample and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
McpClientServerExample 是一個基於 Model Context Protocol (MCP) 的範例專案,展示了如何實現客戶端與伺服器之間的通訊。此專案包含兩個主要部分:McpClient 和 McpServer,分別代表客戶端與伺服器。
用自製的Client,以不使用Claude Client App 為範例
McpClient)ModelContextProtocol.Client 與伺服器通訊。McpServer)ModelContextProtocol.Server 提供 MCP 伺服器功能。Echo: 回傳用戶輸入的訊息。ReverseEcho: 回傳用戶輸入訊息的反轉版本。export OPENAI_API_KEY=your_api_key_here
dotnet run --project client/McpClient.csproj
