# mcp_demo

> MCP Client

This repository demonstrates a simple cross-platform MCP client built with Avalonia/C#. It connects to MCP servers, enabling users to leverage AI for various tasks, showcasing integration with services like DuckDuckGo and SQLite.

## Overview

- **Category:** AI
- **Language:** C#
- **Stars:** 47
- **Forks:** 4
- **Owner:** Ming-jiayou
- **GitHub:** https://github.com/Ming-jiayou/mcp_demo
- **Created:** 2025-03-13T08:13:31+00:00
- **Updated:** 2025-03-28T00:13:52+00:00
- **Source:** https://model-context-protocol.com/clients/csharp-mcp-client-example-avalonia-ai

## Setup

## Setup

1.  Clone the repository: `git clone https://github.com/Ming-jiayou/mcp_demo.git`
2.  Navigate to the `mcp_demo\MCP-Studio` folder.
3.  Rename `ChatModelSettings.json.example` to `ChatModelSettings.json` and fill in the large model information, using Silicon-based flow as an example.
4.  Open `mcp_settings.json` and configure your MCP server.
5.  Run the program.
6.  If the MCP server's tools are displayed on the MCPSettings page, the server connection is successful.

## Tools

## Available Tools

1.  Connect to MCP servers.
2.  Use duckduckgo_mcp.
3.  Use fetch-mcp.
4.  Use sqlite-mcp.
5.  Ask AI questions.
