Bug Description
Need to sanitise the inputs from MCP client prior to validation. Need to trim whitespace from start/end of inputs and force lowercase.
Steps To Reproduce
When using MCP inspector can add \n to inputs which causes the search to fail with "Invalid runtime"
Same for mixed case spelling other than all lowercase.
Expected Behavior
When sending mixed case or whitespace padded data - the case and whitespace should be ignored and search to work correctly.
Actual Behavior
When sending runtime as "python\n" get error "invalid runtime"
Same for: "Python", "PYTHON"