Copilot CLI couldn't handle BigInt in structured MCP response
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
### Describe the bug
When a MCP server returns big numbers in its response, Copilot CLI cannot handle it and fails with the following error. All ongoing tasks will be aborted
```
Execution failed: TypeError: Do not know how to serialize a BigInt
```

### Affected version
1.0.74-0
### Steps to reproduce the behavior
Requires dotnet 10.
1. Clone the repo https://github.com/xj-ms/StructuredContentBigIntMcp
2. Launch Copilot CLI in the repo. The MCP server should be already configured with the local .mcp.json
3. Ask Copilot to call the `return_big_numbers` tool
4. Observe the failure

### Expected behavior
_No response_
### Additional context
_No response_
Guía de contribución
Línea de trabajo
Reproduce el fallo de la configuración .mcp.json del repositorio llamando a la herramienta return_big_numbers del proyecto StructuredContentBigIntMcp. Traza dónde se serializa la respuesta MCP estructurada e identifica el tratamiento de los valores BigInt. Se considera completado cuando la respuesta ya no provoca el error de serialización ni aborta las tareas en curso.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- api, cli
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100