feat: 新增 MCP 桥接插件

将 MCP (Model Context Protocol) 服务器的工具桥接到 MaiBot

功能特性:
- 支持 stdio/SSE/HTTP/Streamable HTTP 四种传输方式
- 心跳检测与自动重连
- 工具调用缓存、追踪、权限控制
- 配置导入导出(兼容 Claude Desktop)
- WebUI 完整配置支持
- 断路器模式,故障快速失败

默认禁用,用户需在 WebUI 手动启用
pull/1404/head
CharTyr 2025-12-03 14:53:28 +00:00
parent 49e9c85699
commit 829fe9de79
2 changed files with 2 additions and 1 deletions

2
.gitignore vendored
View File

@ -334,4 +334,4 @@ config.toml
interested_rates.txt
MaiBot.code-workspace
*.lock
*.lock!/plugins/MaiBot_MCPBridgePlugin

@ -0,0 +1 @@
Subproject commit c061f57706a85dd79470df30dcfae19242b0cd08