1. Conduid
  2. Search
  3. McpClientServerExample
MCP server · Search

McpClientServerExample

Simple MCP server and client example

Unclaimed last commit a year ago search
34Low

Scored 14 days ago · breakdown

About McpClientServerExample

McpClientServerExample is an MCP server published by dks50217 in the Search category: simple MCP server and client example.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/dks50217/McpClientServerExample

This 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 McpClientServerExample

Powered by Claude · Grounded in docs

I know everything about McpClientServerExample. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

McpClientServerExample

McpClientServerExample 是一個基於 Model Context Protocol (MCP) 的範例專案,展示了如何實現客戶端與伺服器之間的通訊。此專案包含兩個主要部分:McpClient 和 McpServer,分別代表客戶端與伺服器。

用自製的Client,以不使用Claude Client App 為範例

功能

客戶端 (McpClient)

  • 使用 ModelContextProtocol.Client 與伺服器通訊。
  • 支援 OpenAI GPT 模型進行對話。
  • 提供工具列表並支援工具函數調用。

伺服器 (McpServer)

  • 使用 ModelContextProtocol.Server 提供 MCP 伺服器功能。
  • 支援標準輸入/輸出通訊。
  • 提供內建工具,例如:
    • Echo: 回傳用戶輸入的訊息。
    • ReverseEcho: 回傳用戶輸入訊息的反轉版本。

安裝與執行

需求

export OPENAI_API_KEY=your_api_key_here

執行

dotnet run --project client/McpClient.csproj

使用範例

sample

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About McpClientServerExample

How do I install McpClientServerExample?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is McpClientServerExample safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is McpClientServerExample still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.