Gitea's official MCP Server
open sourceMITself-hostablefreeMCP
Gitea MCP Server is the Gitea project's official Model Context Protocol (MCP) server: it connects a Gitea instance to MCP clients such as Claude Code, VS Code, Cursor and OpenCode, so an agent can browse and manage repositories, issues, pull requests and reviews, Actions runs, releases, wikis, packages and more. It's a single Go binary (or Docker image) that runs over stdio or stateless Streamable HTTP, with a read-only mode, tool filtering by scope or name, and an OAuth 2.1 mode for remote clients such as Claude.ai, where each user acts with their own Gitea account. It is MIT-licensed and lives on gitea.com, not GitHub.
Ways to install
Package managers
Problems it solves
- let Claude or Cursor read and comment on issues and pull requests on our self-hosted git server
- my coding agent can work with GitHub but our code lives on a self-hosted Gitea instance
- have an AI agent review a pull request on our own git forge and reply to review comments
- let an agent check why a CI run failed on our self-hosted forge and re-run the job
- give an AI assistant read-only access to our internal repositories so it can't push or merge anything
- connect Claude on the web to our private git server with each person signing in as themselves
- let an agent cut a release, upload assets and tag it on our self-hosted git hosting
- expose only issue and pull request tools to my agent so its context isn't flooded with tools
- search issues and code across every repository on our internal forge from my AI chat
Features
- tools for repositories, branches, tags, files, commits and repository trees
- issues, comments, labels, milestones, dependencies and attachments
- pull requests: create, update, merge, review, reply to and resolve review comments
- Gitea Actions: workflows, runs, jobs, logs, artifacts, secrets and variables; dispatch, cancel, rerun or approve runs
- releases and assets, wikis, projects, packages, notifications and time tracking
- full-text search of issues and pull requests across repositories
- stdio and stateless Streamable HTTP transports, supporting MCP up to 2026-07-28
- read-only mode that hides write tools
- filter loaded tools by scope (--scope) or by name (--tools)
- OAuth 2.1 mode for remote clients like Claude.ai, using Gitea as the authorization server
View 2 more
- Unix socket, mutual TLS, custom CA and extra headers (Cloudflare Access) for reaching Gitea
- Docker image with health check and /healthz endpoint
Limitations
- No MCP resources, prompts or sessions: it offers tools only, and its HTTP mode is stateless with no SSE streaming or resumability2
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has an MCP server | plan not known |
Alternatives
The same job
These do what Gitea MCP Server does.
- GitHub MCP Server GitHub's official MCP Server