In internal/mcp/server.go, the initialize response has the server version hardcoded as "0.1.5":
"serverInfo": map[string]interface{}{
"name": "codag",
"version": "0.1.5",
},
The actual CLI version is injected via ldflags in .goreleaser.yml into cmd.Version, but the MCP server never reads it. So every release since 0.1.5 has been reporting the wrong version to MCP clients.
Should be a one line fix, just wire cmd.Version (or pass it into NewServer/Serve) instead of the string literal. Happy to PR this.
In
internal/mcp/server.go, theinitializeresponse has the server version hardcoded as"0.1.5":The actual CLI version is injected via ldflags in
.goreleaser.ymlintocmd.Version, but the MCP server never reads it. So every release since 0.1.5 has been reporting the wrong version to MCP clients.Should be a one line fix, just wire
cmd.Version(or pass it intoNewServer/Serve) instead of the string literal. Happy to PR this.