Commit a19be3d
authored
revert(local-mcp): relay the MCP initialize handshake instead of faking it
Answering initialize locally regressed the relay: desktop main.log
showed servers connecting and executing with the relayed handshake, but
stopped connecting once the synthetic-initialize build shipped (the
streamable-HTTP session the client sets up on initialize wasn't honored
by a locally-fabricated response, so tools/list never followed). Revert
to relaying initialize through to the real server, keeping the liveness
and startup-buffering fixes that made the round trip work end to end.
Generated-By: PostHog Code
Task-Id: 7c87c3a4-0be6-475e-a8ec-269140ded3011 parent 2b5663a commit a19be3d
2 files changed
Lines changed: 2 additions & 61 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
| 182 | + | |
212 | 183 | | |
213 | 184 | | |
214 | 185 | | |
215 | | - | |
| 186 | + | |
216 | 187 | | |
217 | 188 | | |
218 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | 225 | | |
256 | 226 | | |
257 | 227 | | |
| |||
0 commit comments