Copilot CLI couldn't handle BigInt in structured MCP response
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### 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_
Guia de contribuição
Direção de pesquisa
Reproduza a falha da configuração .mcp.json do repositório chamando a ferramenta return_big_numbers do projeto StructuredContentBigIntMcp. Rastreie onde a resposta MCP estruturada é serializada e identifique o tratamento dos valores BigInt. Considera-se concluído quando a resposta não gerar mais o erro de serialização nem abortar as tarefas em andamento.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell
- Domínio
- api, cli
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Ativa
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100