feat(tools): repo_search with allowlist post-filter

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-04 22:44:44 +02:00
co-authored by Claude Sonnet 4.6
parent 43e016e8fa
commit 61cce37ff5
5 changed files with 203 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ func main() {
reg.Register(tools.NewPRGet(giteaClient, ownerAllow))
reg.Register(tools.NewWorkflowRunTrigger(giteaClient, ownerAllow, cfg.GiteaBaseURL))
reg.Register(tools.NewWorkflowRunStatus(giteaClient, ownerAllow))
reg.Register(tools.NewRepoSearch(giteaClient, ownerAllow))
mcpSrv := mcp.NewServer(mcp.ServerOptions{
Registry: reg,