Commit ebeb796
committed
fix: prevent disabled MCP servers from starting processes
- Add disabled checks in updateServerConnections() before calling connectToServer()
- Ensures disabled servers do not consume system resources
- Follows existing pattern used in readResource() and callTool() methods
- Fixes issue #27971 parent a163053 commit ebeb796
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
979 | | - | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
980 | 982 | | |
981 | 983 | | |
982 | 984 | | |
| |||
985 | 987 | | |
986 | 988 | | |
987 | 989 | | |
988 | | - | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
989 | 993 | | |
990 | 994 | | |
991 | 995 | | |
| |||
0 commit comments