mirror of
				https://gitea.com/gitea/gitea-mcp.git
				synced 2025-10-30 09:51:50 +00:00 
			
		
		
		
	feat: add server version
This commit is contained in:
		| @@ -14,13 +14,13 @@ const ( | ||||
| ) | ||||
|  | ||||
| var ( | ||||
| 	GetMyReposTool = mcp.NewTool( | ||||
| 	ListMyReposTool = mcp.NewTool( | ||||
| 		ListMyReposToolName, | ||||
| 		mcp.WithDescription("List My Repositories"), | ||||
| 	) | ||||
| ) | ||||
|  | ||||
| func MyUserReposFn(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) { | ||||
| func ListMyReposFn(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) { | ||||
| 	opts := gitea.ListReposOptions{ | ||||
| 		ListOptions: gitea.ListOptions{ | ||||
| 			Page:     1, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user