内容
# 简单的 Nodejs MCP 客户端
这是一个用于实现模型上下文协议(Model Context Protocol, MCP)客户端的学习仓库。它包含一个用 Node.js 实现的简单交互式 MCP 客户端。

## 安装
```bash
npm install
```
## 配置
1. 复制示例配置文件:
```bash
cp config.example.json config.json
```
2. 编辑 `config.json` 并用您自己的设置更新配置值:
- `claudeApiKey`: 您的 Claude API 密钥
- `systemPrompt`: 用于 anthropic 客户端的系统提示
- `mcpServers`: MCP 服务器的配置(如有需要)
## 使用
1. 构建项目:
```bash
npm run build
```
2. 启动客户端:
```bash
npm run start
```
## 许可证
有关详细信息,请参见 [LICENSE](./LICENSE) 文件。