forgejo-mcp/go.mod
Christoph Görn 5d5b388f4a feat: ✨ add Actions support (dispatch_workflow, list_workflow_runs, get_workflow_run)
- Upgrade forgejo-sdk to v2.2.1-pre (post-PR #103 merge) which adds
  ActionRun, DispatchWorkflowOption, ListRepoActionRuns, etc.
- Add operation/actions package with three MCP tools:
  - dispatch_workflow: trigger a workflow run via workflow_dispatch event
  - list_workflow_runs: list runs with filtering by status/event/SHA
  - get_workflow_run: get details of a specific run by ID
- Add Actions-specific params: Workflow, Inputs, Event, RunNumber, HeadSHA, RunID, Status
- Add pkg/forgejo.GetBaseURL() helper
- Fix operation/pull/pull.go: adapt to SDK change (Body field is now *string)
- Add 11 tests with mock HTTP server

Closes #60

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 14:03:03 +01:00

28 lines
968 B
Modula-2

module codeberg.org/goern/forgejo-mcp/v2
go 1.25.0
require (
codeberg.org/mvdkleijn/forgejo-sdk/forgejo/v2 v2.2.1-0.20260217203524-edf26081b649
github.com/mark3labs/mcp-go v0.43.2
go.uber.org/zap v1.27.1
)
require (
github.com/42wim/httpsig v1.2.3 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/davidmz/go-pageant v1.0.2 // indirect
github.com/go-fed/httpsig v1.1.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/go-version v1.8.0 // indirect
github.com/invopop/jsonschema v0.13.0 // indirect
github.com/mailru/easyjson v0.9.1 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.47.0 // indirect
golang.org/x/sys v0.40.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)