内容
<div align="center">
<img src="./macos/Runner/Assets.xcassets/AppIcon.appiconset/icon_128@1x.png" alt="logo">
<h1>chatmcp</h1>
跨平台 `Macos | Windows | Linux | iOS | Android` AI 聊天客户端
</div>
## 安装
桌面版:MacOS | Windows | Linux [下载发布版本](https://github.com/daodao97/chatmcp/releases)
iOS: [TestFlight](https://testflight.apple.com/join/dCXksFJV)
Android:需要在本地构建
## 预览
### 深度思考

### 工件生成与审查

### Dalle 生成图像

### HTML 代码预览

### MCP 获取 URL

### Mermaid 图表

### 网络搜索

## 使用方法
确保您已在系统中安装 `uvx` 或 `npx`
```bash
# uvx
brew install uv
# npx
brew install node
```
1. 在 `设置` 页面配置您的 LLM API 密钥和端点
2. 从 `MCP Server` 页面安装 MCP Server
3. 与 MCP Server 聊天
## 调试
- 日志
`~/Library/Application Support/run.daodao.chatmcp/logs`
- 数据
`~/Library/Application Support/ChatMcp`
重置应用可以使用以下命令
```bash
rm -rf ~/Library/Application\ Support/run.daodao.chatmcp
rm -rf ~/Library/Application\ Support/ChatMcp
```
## 开发
```bash
flutter pub get
flutter run -d macos
```
下载 [test.db](./assets/test.db) 来测试 sqlite mcp server

`~/Library/Application Support/ChatMcp/mcp_server.json` 是 mcp server 的配置文件
## 功能
- [x] 与 MCP Server 聊天
- [ ] MCP Server 市场
- [ ] 自动安装 MCP Server
- [ ] SSE MCP 传输支持
- [x] 自动选择 MCP Server
- [x] 聊天历史
- [x] OpenAI LLM 模型
- [x] Claude LLM 模型
- [x] OLLama LLM 模型
- [x] DeepSeek LLM 模型
- [ ] RAG
- [ ] 更好的 UI 设计
- [x] 深色/浅色主题
欢迎提交所有功能,您可以在 [Issues](https://github.com/daodao97/chatmcp/issues) 中提交您的想法或bug。
## MCP Server 市场
您可以从 MCP Server 市场安装 MCP Server,MCP Server 市场是 MCP Server 的集合,您可以使用它与不同的数据进行聊天。
您的反馈帮助我们改进 chatmcp,并帮助其他用户做出明智的决策。
## 感谢
- [MCP](https://modelcontextprotocol.io/introduction)
- [mcp-cli](https://github.com/chrishayuk/mcp-cli)
## 许可证
本项目遵循 [Apache License 2.0](./LICENSE) 许可证。