# Connect Gitea to Your AI Agent (Universal MCP)

> Use your AI to build software, track issues, and run deployments in Gitea — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http gitea https://api.universalmcp.app/mcp/gitea`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/gitea` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "gitea", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Gitea (Gitea is open source, with leadership and commercial support from CommitGo) | Category: DevOps & IT/Security | Auth: Guided local/on-prem connector setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Repositories and PRs, CI runners and jobs, Comment drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/gitea | Guide: https://universalmcp.app/mcp/gitea
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (12 actions: 7 Read, 5 Write)
Perform over 10 actions across organizations, repositories, admin, notifications, users, issues, and packages. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Organizations (3):** List Organizations (read), Create Organization (write), Update Team (write)
- **Repositories (2):** Search Repositories (read), Create Repository Migration (write)
- **Admin (2):** List Users (read), Create User (write)
- **Notifications (2):** List Notifications (read), Update Notification Status (write)
- **Users (1):** Get Authenticated User (read)
- **Issues (1):** Search Issues (read)
- **Packages (1):** Get Package (read)

## Example Prompts for Gitea
- **Blocked pull requests:** "In Gitea, list every pull request with failing CI checks and the reviewer still assigned to each."
- **Runner health:** "In Gitea, show runner status and the last ten job durations for the build pool this week."
- **Permission audit:** "In Gitea, list users with write access to the payments-api repository and when they last pushed."
- **Guarded comment draft:** "In Gitea, draft a review comment on PR #482 for my approval before it is posted to the thread."
