Skip to content

Commit 260f7df

Browse files
Claudelpcox
andcommitted
Complete JSON marshal pattern refactoring
All changes complete and tested: - Created marshalToResponse helper function - Added comprehensive unit tests (8 test cases, all passing) - Updated all 6 MCP methods (listTools, callTool, listResources, readResource, listPrompts, getPrompt) - Reduced code from 1011 to 972 lines (39 lines removed) - All MCP package tests pass - Build successful, code formatted and linted Note: Pre-existing launcher test failures are unrelated to this refactoring Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 8af521f commit 260f7df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var log = logger.New("main:main")
1313

1414
func main() {
1515
log.Print("Starting MCP Gateway application")
16-
16+
1717
// Build version string with metadata
1818
versionStr := buildVersionString()
1919
log.Printf("Built version string: %s", versionStr)

0 commit comments

Comments
 (0)