
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A minimal sample project implementing a Model Context Protocol server with a numeric comparison tool, plus an MCP client and a Gemini-powered chat CLI.
Minimal MCP server and client sample is cataloged as an MCP server attributed to ykitaza. A minimal sample project implementing a Model Context Protocol server with a numeric comparison tool, plus an MCP client and a Gemini-powered chat CLI. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Minimal MCP server and client sample are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It requires the Bun runtime, version 1.0.0 or higher.
The chat interface uses the Google Gemini API for natural language processing and requires a Gemini API key when using the chat CLI.
README.md · a4ae3a6fc7f7 · 采集于 2026-11-13 11:44:10 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
🔍 Model Context Protocol(MCP)の実装サンプルプロジェクト
このプロジェクトは以下の目的で作成されました:
このサンプルプロジェクトを通じて、MCPの基本的な仕組みとツール連携の実装方法を学ぶことができます。
このプロジェクトは以下の主要機能を提供します:



# 依存関係のインストール
bun install
# 環境変数ファイルの作成
cp .env.example .env
# .envファイルにGemini APIキーを設定
# Google Cloud ConsoleからAPIキーを取得して設定
GEMINI_API_KEY="your-api-key-here"
// server-config.jsonを作成
{
"my-simple-tool": {
"command": "bun",
"args": [
"run",
"/absolute/path/to/mcp-server/index.ts"
]
}
}
※ パスは環境に合わせて適切な絶対パスに変更してください。
# チャットCLIの起動
bun run chat
src/
├── index.ts # チャットCLIのエントリーポイント
├── llm-clients/ # LLMクライアント実装
│ └── gemini.ts # Google Gemini APIクライアント
├── mcp-client/ # MCPクライアントモジュール
│ ├── client.ts # MCPツールクライアント実装
│ └── config.ts # クライアント設定ローダー
└── mcp-server/ # MCPサーバーモジュール
├── index.ts # サーバーのエントリーポイント
└── tools/ # MCPツール実装
└── compare-numbers.ts # 数値比較ツール
src/mcp-server/: Model Context Protocol準拠のサーバー実装src/mcp-client/: MCPサーバーとの通信を行うクライアントライブラリsrc/llm-clients/: 言語モデルとの対話を管理ユーザーがチャットCLIに入力
Geminiクライアントが入力を処理
必要に応じてMCPツールを呼び出し
ツールの実行結果をGeminiに渡して応答を生成
結果をユーザーに表示
サーバーの設定は以下の2つのファイルで管理します:
# Google Cloud ConsoleからAPIキーを取得して設定
GEMINI_API_KEY="your-api-key-here"
// server-config.jsonを作成
{
"my-simple-tool": {
"command": "bun",
"args": [
"run",
"/absolute/path/to/mcp-server/index.ts"
]
}
}
| 設定項目 | 必須 | デフォルト値 | 説明 |
|---|---|---|---|
command | ✓ | - | サーバー実行コマンド(bun/node等) |
args | ✓ | - | 実行引数(サーバーファイルパス等) |
disabled | - | false | サーバーの無効化フラグ |
autoApprove | - | [] | 自動承認するツールのリスト |
timeout | - | 30000 | ツール実行のタイムアウト時間(ミリ秒) |
⚠️ 重要な注意点
autoApproveの使用は必要最小限に.envファイルで管理し、.gitignoreに追加# チャットの開始
bun run chat
# チャットの終了方法
exit # 終了
quit # 終了
終了 # 終了
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Minimal MCP server and client sample from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-example-ykitaza)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.