cherry-studio/packages/shared
LiuVaayne bf17e71445
feat: Add MCP server installation via URL protocol (#5351)
* Add MCP server installation via URL protocol

Implement handler for cherrystudio://mcp/install URLs to add MCP servers
from encoded configuration data. Supports multiple server configuration
formats and adds a new IPC channel for server addition.

* feat: Enhance MCP protocol handling and navigation

- Implemented navigation to the '/settings/mcp' page using executeJavaScript in the MCP protocol URL handler.
- Updated NavigationService to expose the navigate function globally for easier access in the application.
- Added NavigateFunction type to the global environment for improved type safety in navigation operations.

---------

Co-authored-by: kangfenmao <kangfenmao@qq.com>
2025-04-26 11:09:58 +08:00
..
config refactor(Constants): 优化一些常量和枚举值 (#3773) 2025-04-04 19:07:23 +08:00
IpcChannel.ts feat: Add MCP server installation via URL protocol (#5351) 2025-04-26 11:09:58 +08:00