lilong.129
|
1cc4b1cf5b
|
refactor: modularize MCP server tools by functionality
- Split large mcp_server.go into modular files by functionality
- Create dedicated files for each tool category:
- mcp_tools_device.go: Device management tools
- mcp_tools_touch.go: Touch operation tools
- mcp_tools_swipe.go: Swipe and drag operation tools
- mcp_tools_input.go: Input and IME tools
- mcp_tools_button.go: Button operation tools
- mcp_tools_app.go: Application management tools
- mcp_tools_screen.go: Screen operation tools
- mcp_tools_utility.go: Utility tools (sleep, popups)
- mcp_tools_web.go: Web operation tools
- mcp_tools_ai.go: AI-driven operation tools
- Update mcp_server.md documentation to reflect modular architecture
- Maintain pure ActionTool architecture with complete tool decoupling
- Improve code organization and maintainability
|
2025-06-03 15:45:42 +08:00 |
|