feat: expand MCP tool coverage from 93 to 299 tools
Some checks failed
release-nightly / release-image (push) Failing after 2m17s
Some checks failed
release-nightly / release-image (push) Failing after 2m17s
Fork the official gitea-mcp and massively extend API coverage: - Organization: orgs, members, teams, hooks, blocks, activity (34 tools) - User: profile, followers, keys, emails, repos, blocks (30 tools) - Repository: collaborators, webhooks, branch/tag protection, deploy keys, topics, git refs/trees/notes, commit status, stars/watchers, forks, transfers, mirrors, templates (53 tools) - Issue: reactions, pins, subscriptions, timeline, templates (16 tools) - Notifications: list, check, read, repo-scoped (7 tools) - Settings: API, attachment, repo, UI settings (4 tools) - Packages: list, get, delete, files, latest, link/unlink (7 tools) - Miscellaneous: server version, gitignore/label/license templates, markdown/markup rendering, node info, signing keys (12 tools) - Admin: user/org/repo CRUD, system webhooks, cron tasks, unadopted repos, emails, badges (23 tools) Module path updated to git.lethalbits.com/lethalbits/gitea-mcp.
This commit is contained in:
@@ -10,20 +10,26 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"gitea.com/gitea/gitea-mcp/operation/actions"
|
||||
"gitea.com/gitea/gitea-mcp/operation/issue"
|
||||
"gitea.com/gitea/gitea-mcp/operation/label"
|
||||
"gitea.com/gitea/gitea-mcp/operation/milestone"
|
||||
"gitea.com/gitea/gitea-mcp/operation/pull"
|
||||
"gitea.com/gitea/gitea-mcp/operation/repo"
|
||||
"gitea.com/gitea/gitea-mcp/operation/search"
|
||||
"gitea.com/gitea/gitea-mcp/operation/timetracking"
|
||||
"gitea.com/gitea/gitea-mcp/operation/user"
|
||||
"gitea.com/gitea/gitea-mcp/operation/version"
|
||||
"gitea.com/gitea/gitea-mcp/operation/wiki"
|
||||
mcpContext "gitea.com/gitea/gitea-mcp/pkg/context"
|
||||
"gitea.com/gitea/gitea-mcp/pkg/flag"
|
||||
"gitea.com/gitea/gitea-mcp/pkg/log"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/actions"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/admin"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/issue"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/label"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/milestone"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/miscellaneous"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/notification"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/organization"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/packages"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/pull"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/repo"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/search"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/settings"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/timetracking"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/user"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/version"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/operation/wiki"
|
||||
mcpContext "git.lethalbits.com/lethalbits/gitea-mcp/pkg/context"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/pkg/flag"
|
||||
"git.lethalbits.com/lethalbits/gitea-mcp/pkg/log"
|
||||
|
||||
"github.com/mark3labs/mcp-go/server"
|
||||
)
|
||||
@@ -64,6 +70,24 @@ func RegisterTool(s *server.MCPServer) {
|
||||
// Time Tracking Tool
|
||||
s.AddTools(timetracking.Tool.Tools()...)
|
||||
|
||||
// Organization Tool
|
||||
s.AddTools(organization.Tool.Tools()...)
|
||||
|
||||
// Notification Tool
|
||||
s.AddTools(notification.Tool.Tools()...)
|
||||
|
||||
// Settings Tool
|
||||
s.AddTools(settings.Tool.Tools()...)
|
||||
|
||||
// Package Tool
|
||||
s.AddTools(packages.Tool.Tools()...)
|
||||
|
||||
// Miscellaneous Tool
|
||||
s.AddTools(miscellaneous.Tool.Tools()...)
|
||||
|
||||
// Admin Tool
|
||||
s.AddTools(admin.Tool.Tools()...)
|
||||
|
||||
s.DeleteTools("")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user