TBNilles d3abd4416e Fix MCP tools/list rejection: wrap list_repos slice in object
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>
2026-09-20 08:00:30 -04:00
2026-09-19 15:23:16 -04:00
2026-09-19 15:23:16 -04:00
S
Description
Visual git manager
Readme Apache-2.0
165 KiB
Languages
Go 65.9%
JavaScript 20.3%
HTML 8.3%
CSS 3%
Dockerfile 2.5%