Project
cortex
Description
MCP server can be added with nonexistent commands - error only discovered when using the server
Error Message
Debug Logs
System Information
Screenshots
No response
Steps to Reproduce
"Run: cortex mcp add test -- nonexistent-cmd arg1",
"Observe success message",
"Run: cortex mcp debug test",
"Observe 'Command not found in PATH'"
Expected Behavior
Should validate command exists before adding
Actual Behavior
Adds server without validation, fails later on use
Additional Context
No response