forgejo-mcp/go.mod
Ronmi Ren c3d95226b9 refactor: update MCP SDK to v0.2.1 and fix tool handlers
- Upgrade github.com/modelcontextprotocol/go-sdk to v0.2.1-0.20250812214950-6e03217c831b
- Add github.com/google/jsonschema-go v0.2.0 dependency
- Update all tool handlers to use new ServerRequest signature
- Replace jsonschema import path from MCP SDK to Google's library

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 21:47:12 +08:00

35 lines
1.3 KiB
Modula-2

module github.com/raohwork/forgejo-mcp
go 1.24.5
require (
codeberg.org/mvdkleijn/forgejo-sdk/forgejo/v2 v2.2.0
github.com/google/jsonschema-go v0.2.0
github.com/modelcontextprotocol/go-sdk v0.2.1-0.20250812214950-6e03217c831b
github.com/spf13/cobra v1.9.1
github.com/spf13/viper v1.20.1
)
require (
github.com/42wim/httpsig v1.2.3 // indirect
github.com/davidmz/go-pageant v1.0.2 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/go-fed/httpsig v1.1.0 // indirect
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/sagikazarmark/locafero v0.7.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.12.0 // indirect
github.com/spf13/cast v1.7.1 // 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/atomic v1.9.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/crypto v0.39.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/text v0.26.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)