mirror of
				https://gitea.com/gitea/gitea-mcp.git
				synced 2025-11-04 04:11:50 +00:00 
			
		
		
		
	This PR adds full support for managing organization-level labels via MCP. It uses the newly added SDK APIs now available on main branch, see https://gitea.com/gitea/go-sdk/issues/732. Registers following tools under label module and wires them into the MCP server as read/write tools: - list_org_labels: list labels defined at the organization level (pagination supported) - create_org_label: create a label in an organization (name, color, description, exclusive) - edit_org_label: edit an organization label (name, color, description, exclusive) - delete_org_label: delete an organization label by ID Dependency note: go.mod/go.sum updated to use the SDK main branch pseudo-version that includes the org-label APIs. If you prefer to merge only after a tagged SDK release, I can bump the dependency to the new tag as soon as it’s available. Thanks for considering! Reviewed-on: https://gitea.com/gitea/gitea-mcp/pulls/102 Reviewed-by: Bo-Yi Wu (吳柏毅) <appleboy.tw@gmail.com> Co-authored-by: Daniel <danielwichers@gmail.com> Co-committed-by: Daniel <danielwichers@gmail.com>
		
			
				
	
	
		
			30 lines
		
	
	
		
			980 B
		
	
	
	
		
			Modula-2
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			980 B
		
	
	
	
		
			Modula-2
		
	
	
	
	
	
module gitea.com/gitea/gitea-mcp
 | 
						|
 | 
						|
go 1.24.0
 | 
						|
 | 
						|
require (
 | 
						|
	code.gitea.io/sdk/gitea v0.22.1-0.20251016220613-060554f46291
 | 
						|
	github.com/mark3labs/mcp-go v0.40.0
 | 
						|
	go.uber.org/zap v1.27.0
 | 
						|
	gopkg.in/natefinch/lumberjack.v2 v2.2.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.7.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.42.0 // indirect
 | 
						|
	golang.org/x/sys v0.36.0 // indirect
 | 
						|
	gopkg.in/yaml.v3 v3.0.1 // indirect
 | 
						|
)
 |