内容
# Anthropic MCP Client
一个命令行界面(CLI)工具,允许用户通过连接多个服务器并执行工具与Anthropic MCP(模型上下文协议)进行交互。
## 安装
```bash
npm install
```
```bash
echo "ANTHROPIC_API_KEY=<your key here>" > .env
```
创建一个 servers.json 文件:
```json
{
"mcpServers": {
"filesystem-mcp": {
"command": "npx",
"args": [
"@shtse8/filesystem-mcp"
],
"name": "Filesystem (npx)"
},
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}
```
## 使用方法
```
npm run build
npm start
```
## 演示
https://github.com/user-attachments/assets/7178c8ad-f991-4a06-a4f6-f37cd7a4b655