anthropics / anthropics/claude-ai-mcp

Claude unhappy when a server has an MCP Apps tool and anyOf in outputSchema

Abierto
#485 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Sin datos de lenguaje
Estrellas
471
Forks
76
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### What happened?

Claude MCP client seems broken for MCP server that has an MCP Apps tool and anyOf in outputSchema.

Observed pattern:
1. MCP Server responds successfully to initialize.
2. Claude MCP client sends notifications/initialized.
3. Claude MCP client calls tools/list and receives a valid tool list.
4. If one tool has outputSchema: { "anyOf": [...] }, Claude does not proceed normally.
5. It never calls resources/read for the MCP App widget and never calls tools/call.
6. In the Claude UI, the connector may spin on “Checking connection…”, show a connection issue, disappear from the tool list and appear to have no usable tools.
7. There is no useful schema error surfaced to the user.

### What did you expect to happen?

Connection should go through and a single tool listed. But the tools disappear, and the connector becomes unusable.

### Steps to reproduce

Steps to reproduce the behavior:
1. python mcp_ui_repro_server.py --port 8767 (https://gist.github.com/pradh/7cef384106592254640b6e609f59bf63)
2. ssh -o StrictHostKeyChecking=accept-new -o ServerAliveInterval=30 -R 80:localhost:8767 nokey@localhost.run
3. Connect to the returned URL on Claude UI's Custom Connector

### Area

MCP Connector (adding/managing servers)

### MCP Server (if applicable)

_No response_

### Error messages or logs

```shell

```

### Additional context

_No response_

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.