feat(tools): workflow_run_trigger

This commit is contained in:
Mathias Bergqvist
2026-05-04 22:25:10 +02:00
parent c4874ae8d1
commit ba172e3db8
6 changed files with 376 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ func main() {
reg.Register(tools.NewFileWriteBranch(giteaClient, ownerAllow))
reg.Register(tools.NewPRCreate(giteaClient, ownerAllow))
reg.Register(tools.NewPRGet(giteaClient, ownerAllow))
reg.Register(tools.NewWorkflowRunTrigger(giteaClient, ownerAllow, cfg.GiteaBaseURL))
reg.Register(tools.NewWorkflowRunStatus(giteaClient, ownerAllow))
mcpSrv := mcp.NewServer(mcp.ServerOptions{
Registry: reg,