simple-nodejs-mcp-client
このリポジトリは、Node.jsで実装されたモデルコンテキストプロトコル(MCP)クライアントの学習用リポジトリです。シンプルなインタラクティブクライアントを提供し、設定や使用方法が明確に示されています。APIキーやシステムプロンプトの設定が必要で、ビルドと起動の手順も記載されています。
GitHubスター
11
ユーザー評価
未評価
お気に入り
0
閲覧数
21
フォーク
1
イシュー
1
README
Simple Nodejs MCP Client
This is a study repository for implementing a Model Context Protocol (MCP) client. It features a simple interactive MCP client implemented in Node.js.
Installation
npm install
Configuration
- Copy the example configuration file:
cp config.example.json config.json
- Edit
config.json
and update the configuration values with your own settings:
claudeApiKey
: Your Claude API keysystemPrompt
: The system prompt for the anthorpic clientmcpServers
: Configuration for MCP servers (if needed)
Usage
- Build the project:
npm run build
- Start the client:
npm run start
License
See LICENSE file for details.