using GiteaMcp.Services;
using ModelContextProtocol.Server;
using System.ComponentModel;
namespace GiteaMcp.Tools;
/// Organization Tool:list_orgs / read_org
[McpServerToolType]
public class OrgTools(GiteaApiClient gitea)
{
[McpServerTool]
[Description(
"List all Gitea organizations visible to the admin token. " +
"Returns: org name, full name, description, visibility, and website. " +
"Use read_org to get repo/member counts for a specific org. " +
"Tip: after listing orgs, call list_repos with owner= to see that org's repos.")]
public async Task