Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,6 @@ module github.com/tuannvm/haproxy-mcp-server
go 1.24.2

require (
github.com/mark3labs/mcp-go v0.25.0
github.com/mark3labs/mcp-go v0.35.0
github.com/spf13/viper v1.20.1
)
Comment on lines 5 to 8
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Confirm build + tidy after major library bump

The direct upgrade of github.com/mark3labs/mcp-go from v0.25.0 ➜ v0.35.0 spans 10 minor releases and multiple breaking-change candidates (protocol negotiation, API additions, race-condition fixes, etc.).
Please make sure the repo still compiles and all tests pass after the bump, and run a go mod tidy so that the accompanying go.sum (not part of the PR) is regenerated and any newly-required transitive modules are added.


🏁 Script executed:

#!/bin/bash
# Compile, run unit tests, and ensure go.mod / go.sum are tidy.
set -euo pipefail
go test ./...        # expect: all green
go vet ./...         # expect: no issues
go mod tidy
git diff --exit-code go.mod go.sum   # expect: no further changes

Length of output: 6444


Add missing go.sum entries and commit updates

The build is currently failing due to missing go.sum entries for the bumped github.com/mark3labs/mcp-go module (and its transitive dependencies in viper). Please:

  • Run:
    go mod tidy
  • Commit the updated go.mod and go.sum files.
  • Re-run:
    go test ./...
    go vet ./...
    to confirm all tests pass and no vet issues remain.

Affected import locations:

  • cmd/main.go:15:2 (imports github.com/mark3labs/mcp-go/server)
  • internal/mcp/register_backend_tools.go:7:2 (imports github.com/mark3labs/mcp-go/mcp)
🤖 Prompt for AI Agents
In go.mod lines 5 to 8, the go.sum file is missing entries for the updated
github.com/mark3labs/mcp-go module and its dependencies, causing build failures.
Run 'go mod tidy' to update both go.mod and go.sum files with the necessary
checksums, then commit these changes. Afterward, run 'go test ./...' and 'go vet
./...' to ensure all tests pass and no vet warnings remain.


require (
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
github.com/sagikazarmark/locafero v0.9.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.14.0 // indirect
github.com/spf13/cast v1.8.0 // indirect
github.com/spf13/pflag v1.0.6 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/sys v0.32.0 // indirect
golang.org/x/text v0.24.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading