gitea/gitea-mcp
FreeGitea 官方集成,通过 MCP 与 Gitea 实例交互。
FreeFree tier
About gitea/gitea-mcp
Official Gitea integration for interacting with Gitea instances via the Model Context Protocol (MCP). This open-source tool serves as an MCP server that allows AI agents and other clients to perform operations on Gitea repositories, issues, pull requests, and more. It supports configurable tool exposure via a --tools flag, a read-only mode (-r / GITEA_READONLY), fine-grained scopes for each tool, and is available in both English and Chinese. The integration is maintained by the Gitea project and is built with Go 1.26+.
Key Features
MCP server for interacting with Gitea instances
Filter exposed MCP tools with --tools flag
Read-only mode via -r flag or GITEA_READONLY environment variable
Fine-grained scopes for each tool
Built for Go 1.26+ and runs as a standalone binary
Supports multiple languages (English, Chinese)
Official integration maintained by the Gitea team
Pros & Cons
Pros
- Official integration ensures compatibility with Gitea updates
- Configurable tool exposure allows fine-grained control
- Read-only mode provides safe access for monitoring bots
- Open source and actively maintained
- Supports multiple languages for documentation
Cons
- Requires a running Gitea instance to function
- Setup may be complex for non-technical users
- Documentation assumes familiarity with MCP protocol
Best For
Integrating AI agents with Gitea repositoriesAutomating repository management tasks via MCPBuilding custom tools that interact with Gitea issues, pull requests, and milestonesEnabling read-only access for monitoring and reporting