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.

screenshot

Installation
npm install
Configuration
  1. Copy the example configuration file:
cp config.example.json config.json
  1. Edit config.json and update the configuration values with your own settings:
  • claudeApiKey: Your Claude API key
  • systemPrompt: The system prompt for the anthorpic client
  • mcpServers: Configuration for MCP servers (if needed)
Usage
  1. Build the project:
npm run build
  1. Start the client:
npm run start
License

See LICENSE file for details.