d3abd4416e7a96bc822765863d66c5a6d88c615c
The go-sdk infers each tool's outputSchema from its handler result
type, and MCP structured output must be type "object". list_repos
returned []repos.State, yielding outputSchema.type "array", which
Claude Desktop rejects at tools/list — taking the whole server down.
Wrap the slice in listReposOutput{Repos: ...} so the schema is an
object, update the round-trip test, and record the struct-result rule
in AGENT.md §8.1.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
GitManager
Visual git manager
Languages
Go
64.6%
JavaScript
27.1%
HTML
6.1%
CSS
1.2%
Dockerfile
1%