
MCP_DEMO
Un ejemplo simple de construir un cliente MCP usando C#.
1
Github Watches
7
Github Forks
42
Github Stars
简体中文 | English
Building a Simple Cross-Platform MCP Client using Avalonia/C#
Introduction
A few days ago, I introduced building a MCPclient in C#.
Recently, I've been learning Avalonia, so I wanted to use Avalonia to implement a simple cross-platform MCP client.
By connecting to someone else's or my own MCP server, I can leverage AI to do many interesting things.
Next, when I have time, I will also share some fun MCP servers with everyone.
Effect
Tools possessed by the connected MCP server:
Utilizing these MCP servers:
duckduckgo_mcp
fetch-mcp
sqlite-mcp
Due to the model, it may not be possible to succeed at once sometimes.
Ask AI the question: "Retrieve all product information from the products table where the shelf life is greater than 30 days".
The Chinese display still has issues, but the data has indeed been retrieved from the database.
Practice
git clone https://github.com/Ming-jiayou/mcp_demo.git
Enter the mcp_demo\MCP-Studio folder, rename ChatModelSettings.json.example to ChatModelSettings.json, and fill in the large model information, for example, with Silicon Flow:
Open mcp_settings.json to configure your MCP server, my example is as follows:
Run the program.
If the MCP server tools can be displayed on the MCP Settings page, it indicates that the server connection is successful.
Now you can play with these MCP servers, but remember to use a model with tool use capabilities!
The complete code has been uploaded to GitHub, located at: https://github.com/Ming-jiayou/mcp_demo.
Recommended Reading
Creating an MCP Client using C#
Using fetch_mcp to enable Cline to fetch and retrieve web content.
Create an MCP server and use it in Cline to enhance custom functionality.
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)
Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Reviews

user_E2YqWi7y
As an avid user of the mcp_demo application by Ming-jiayou, I am thoroughly impressed with its functionality and user-friendly interface. It has significantly streamlined my workflow, making complex tasks simple and efficient. The helpful welcome information ensures a smooth start, and the intuitive design is a testament to excellent development. Highly recommended for anyone in need of a reliable tool! Check it out here: https://github.com/Ming-jiayou/mcp_demo