This is a study repository for implementing a Model Context Protocol (MCP) client. It features a simple interactive MCP client implemented in Node.js.
npm install
- 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)
- Build the project:
npm run build
- Start the client:
npm run start
See LICENSE file for details.