Azure-Samples / Azure-Samples/azure_support_ticket_mcp

Bug: Claude Code rejects boolean outputSchema entries

Open
#18 1 comment 1 reaction 2 assignees Claimed by @artlovan View on GitHub
Dominant language
Rust
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Description

Claude Code can launch the v0.1.1 stdio server, but tool discovery fails because five `outputSchema.properties` entries are JSON Schema booleans (`true`) rather than schema objects. Claude reports:

```text
Invalid input (at tools.5.outputSchema.properties.raw) (+4 more)
```

### Reproduction

1. Install v0.1.1 on Linux.
2. Add the stdio server to Claude Code:

```bash
claude mcp add azure-support-ticket-mcp -- azure-support-ticket-mcp serve
claude mcp get azure-support-ticket-mcp
```

3. Observe `Connected · tools fetch failed`.

A direct `tools/list` response contains boolean schemas at:

- `create_support_ticket.outputSchema.properties.raw`
- `get_support_ticket.outputSchema.properties.raw`
- `reply_to_ticket.outputSchema.properties.created`
- `reply_to_ticket.outputSchema.properties.intent`
- `update_support_ticket.outputSchema.properties.patch_properties`

### Expected behavior

All tool schemas are accepted by Claude Code, allowing the MCP tools to load. Replacing unconstrained `true` schemas with object schemas such as `{}` (or a more specific schema) should preserve intent while satisfying the client validator.

### Environment

- azure-support-ticket-mcp: v0.1.1
- Claude Code: 2.1.210
- Linux x86_64

_Filed from Slack by Buddy_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.