- Add extensive test coverage for MCP (Model Context Protocol) controller
* Test JSON-RPC request parsing and validation
* Test server code validation (existence, status)
* Test request vs notification handling
* Test user input form extraction and conversion
* Test error handling for various failure scenarios
* Test end user management (creation, retrieval)
* Test app availability validation
* Test different request types (initialize, tools/list, tools/call, ping)
* Test notification handling (notifications/initialized)
* Test invalid request formats and error responses
- All tests include extensive comments explaining:
* Test purpose and what is being verified
* Test setup and arrangement
* Expected behavior and assertions
* Edge cases and error conditions
Branch: test/mcp-controller