mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-02-01 16:41:44 +08:00
* ✨ feat: add MCP servers in chat input - Introduce MCPToolsButton component for managing MCP servers - Add new icon for MCP server tools in iconfont.css - Update Inputbar to include MCP tools functionality - Add toggle functionality for enabling/disabling MCP servers - Implement styled dropdown menu for server selection - Add necessary type imports and useState for MCP server management * ✨ feat: add support for enabling/disabling MCPServers per message (main) - Added `enabledMCPs` property to the `Message` type to track enabled MCPServers. - Modified `MCPToolsButton` to enable all active MCPServers by default using a new `enableAll` state. - Introduced `filterMCPTools` utility to filter tools based on enabled MCPServers. - Updated `AnthropicProvider`, `GeminiProvider`, and `OpenAIProvider` to filter tools using `filterMCPTools`. - Enhanced `Inputbar` to include `enabledMCPs` in the message payload when set. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| config | ||
| context | ||
| databases | ||
| handler | ||
| hooks | ||
| i18n | ||
| pages | ||
| providers | ||
| queue | ||
| services | ||
| store | ||
| types | ||
| utils | ||
| webSearchProvider | ||
| windows | ||
| App.tsx | ||
| env.d.ts | ||
| init.ts | ||
| main.tsx | ||