Commit 04661fb
fix: address review feedback on transport selection and shell arg forwarding
- Normalize MCP_MODE to lowercase in client constructor so that
MCP_MODE=STDIO works the same as MCP_MODE=stdio
- Select stdio transport by default; only use HTTP when MCP_MODE === "http"
(previously any non-"stdio" value fell through to HTTP)
- Add shift 2 in run_tests_in_mode() so mode_name and enable_monitoring
positional args are not forwarded to node as extra CLI arguments
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>1 parent c4ce20c commit 04661fb
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments