Commit 9d176b7
Enable third-party MCP in e2e replay proxy for 1.0.64-1 runtime
The bundled CLI 1.0.64-1 gates third-party MCP servers behind the copilot
user's is_mcp_enabled flag: a null/missing value disables them. The e2e
harnesses register a per-token copilot user that omitted is_mcp_enabled, so
the new runtime skipped non-default MCP servers (e.g. meta-echo). That made
the model report the MCP tool as nonexistent, so the next /chat/completions
request no longer matched a recorded snapshot and the replay proxy returned
HTTP 500 (surfacing as CAPIError: 500 Proxy error), failing every MCP e2e
test that exercises a third-party server.
Default is_mcp_enabled to true when serving /copilot_internal/user for a
registered token (explicit values still win), mirroring the connect-proxy
mock. One shared change fixes the e2e harness for all language SDKs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f1242cf commit 9d176b7
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
289 | 295 | | |
290 | 296 | | |
291 | 297 | | |
| |||
1504 | 1510 | | |
1505 | 1511 | | |
1506 | 1512 | | |
| 1513 | + | |
1507 | 1514 | | |
1508 | 1515 | | |
1509 | 1516 | | |
| |||
0 commit comments