Connect Gitea to AI agents

Connect Gitea to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

list_milestones

List Milestones

List milestones in a repository with their progress (open/closed issue counts). Useful for finding milestone IDs needed when creating or updating issues.

list_pull_requests

List Pull Requests

List pull requests in a repository with optional filtering by state, sort order, and pagination.

merge_pull_request

Merge Pull Request

Merge a pull request using the specified merge strategy. Supports merge commit, rebase, squash, and rebase-merge methods. Optionally deletes the source branch after merging.

get_organization

Get Organization

Retrieve detailed information about an organization including its teams and repositories.

list_pull_request_reviews

List Pull Request Reviews

List all reviews on a pull request including their approval status and review comments.

create_team

Create Team

Create a new team within an organization with specified permissions and unit access.

create_pull_request

Create Pull Request

Create a new pull request to merge changes from a head branch into a base branch. Supports assigning reviewers, labels, and milestones.

create_pull_request_review

Create Pull Request Review

Submit a review on a pull request. Can approve, request changes, or leave a general comment. Optionally include line-level review comments.

delete_wiki_page

Delete Wiki Page

Delete a wiki page from a repository.

create_release

Create Release

Create a new release for a repository. Can create a new tag or use an existing one. Supports draft and pre-release flags.

get_pull_request

Get Pull Request

Retrieve detailed information about a specific pull request including merge status, reviews, and branch info.

get_repo

Get Repository

Retrieve detailed information about a specific repository including its configuration, statistics, and metadata.

update_release

Update Release

Update an existing release's title, notes, tag, or draft/pre-release status.

create_repo

Create Repository

Create a new Git repository under the authenticated user's account or under a specified organization. Supports initialization with README, gitignore, and license files.

list_labels

List Labels

List all labels available in a repository. Useful for finding label IDs needed when creating or updating issues and pull requests.

create_comment

Create Comment

Add a comment to an issue or pull request. Supports Markdown formatting.

search_repos

Search Repositories

Search and list repositories on the Gitea instance. Can search by keyword, list the authenticated user's repositories, or list repositories belonging to a specific organization. Supports pagination and sorting.

create_wiki_page

Create Wiki Page

Create a new wiki page in a repository. Content must be base64-encoded.

delete_release

Delete Release

Delete a release from a repository. This does not delete the associated Git tag.

create_milestone

Create Milestone

Create a new milestone in a repository for tracking progress on a group of issues and pull requests.

update_comment

Update Comment

Edit an existing comment on an issue or pull request.

list_wiki_pages

List Wiki Pages

List all wiki pages in a repository. Returns page titles and URLs without content.

update_pull_request

Update Pull Request

Update an existing pull request's title, description, state, assignees, or base branch. Can be used to close or reopen pull requests.

delete_repo

Delete Repository

Permanently delete a repository. This action is irreversible and removes all associated data including issues, pull requests, releases, and wiki pages.

list_branches

List Branches

List all branches of a repository with their latest commit info and protection status.

fork_repo

Fork Repository

Fork a repository to the authenticated user's account or to a specified organization.

delete_comment

Delete Comment

Delete a comment from an issue or pull request.

delete_file

Delete File

Delete a file from a repository. Requires the current file SHA to prevent accidental deletion of modified files.

get_issue

Get Issue

Retrieve detailed information about a specific issue including its labels, assignees, milestone, and comments count.

manage_collaborator

Manage Collaborator

Add or remove a collaborator from a repository. When adding, you can specify the permission level.

create_branch

Create Branch

Create a new branch in a repository from an existing branch or the default branch.

create_label

Create Label

Create a new label in a repository. Labels can be assigned to issues and pull requests for categorization.

get_wiki_page

Get Wiki Page

Retrieve a specific wiki page's content and metadata. Content is returned base64-encoded.

update_organization

Update Organization

Update an organization's display name, description, website, location, or visibility.

list_releases

List Releases

List releases in a repository including draft and pre-release versions, their assets, and metadata.

update_wiki_page

Update Wiki Page

Update an existing wiki page's content or title. Content must be base64-encoded.

manage_team_member

Manage Team Member

Add or remove a user from an organization team.

create_issue

Create Issue

Create a new issue in a repository with optional labels, assignees, milestone, and due date.

update_repo

Update Repository

Update a repository's settings including name, description, visibility, archive status, feature toggles, topics, and default branch.

get_file_content

Get File Content

Read a file's content from a repository. Returns the file metadata and base64-encoded content. Supports reading from a specific branch or commit ref.

delete_branch

Delete Branch

Delete a branch from a repository. Cannot delete protected or default branches.

list_issues

List Issues

List issues in a repository with filtering by state, labels, milestone, and type. Returns issues excluding pull requests by default.

list_teams

List Teams

List all teams in an organization with their permissions and accessible units.

create_organization

Create Organization

Create a new organization on the Gitea instance.

list_collaborators

List Collaborators

List all collaborators of a repository with their access information.

list_issue_comments

List Issue Comments

List all comments on an issue or pull request. Comments are returned in chronological order.

create_or_update_file

Create or Update File

Create a new file or update an existing file in a repository. Content must be base64-encoded. When updating, provide the current file SHA to prevent conflicts.

update_issue

Update Issue

Update an existing issue's title, body, state, assignees, labels, milestone, or due date. Can be used to close or reopen issues.

list_organizations

List Organizations

List organizations that the authenticated user belongs to.

list_commits

List Commits

List commits in a repository. Can filter by branch/tag/SHA and by file path. Returns commit history with author information.

More integrations teams use with Gitea

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues. Subscribe to real-time webhooks for changes to issues, projects, cycles, comments, documents, and more.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Technical notes for Gitea

Manage Git repositories, branches, tags, and commit history on a self-hosted Gitea instance. Create, review, and merge pull requests with code reviews. Track issues with labels, milestones, assignees, time tracking, and dependencies. Manage organizations, teams, and user permissions. Publish and download packages across 20+ package registries (NPM, PyPI, Maven, Docker, etc.). Configure and monitor CI/CD workflows via Gitea Actions. Manage repository wikis, releases, deploy keys, and collaborators. Receive webhook notifications for push, issue, pull request, release, wiki, and package events.

Connect Gitea to production AI agents

See how Metorial gives Gitea access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Gitea to AI agents with Metorial.

  1. Can Metorial connect Gitea to AI agents?
    Yes. Metorial connects AI agents to Gitea through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.