gitea-mcp
Provides tools for interacting with the Gitea API v1, enabling management of repositories, branches, tags, commits, files, releases, issues, labels, milestones, pull requests, reviews, users, organizations, notifications, and admin operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gitea-mcp
MCP (Model Context Protocol) server for Gitea, a self-hosted Git service. Exposes the Gitea API v1 as MCP tools, enabling Claude Code and other MCP clients to manage repositories, issues, pull requests, and more.
Setup
1. Install dependencies and build
npm install
npm run build2. Configure environment variables
Variable | Description |
| Base URL of your Gitea instance (e.g., |
| API token from Gitea |
Generate a token in Gitea under Settings > Applications > Access Tokens.
3. Register with Claude Code
Add to your Claude Code MCP config:
{
"mcpServers": {
"gitea": {
"command": "node",
"args": ["/path/to/gitea-mcp/dist/index.js"],
"env": {
"GITEA_URL": "https://gitea.example.com",
"GITEA_TOKEN": "your-token"
}
}
}
}Related MCP server: gitea-mcp-server
Tool Reference
Tools are grouped by domain with an action parameter.
Tool | Actions |
| search, get, create_user, create_org, delete, list_branches, get_branch, create_branch, list_tags, list_commits, get_contents, create_file, update_file, delete_file, list_releases, create_release, list_forks, create_fork, list_topics, list_collaborators, list_hooks |
| list, get, create, update, list_comments, create_comment, list_labels, add_labels, list_milestones, create_milestone, list_repo_labels, create_repo_label |
| list, get, create, update, merge, list_reviews, create_review, get_diff, list_files, list_commits |
| me, get, search, list_repos, list_my_repos, list_starred, list_my_starred, list_followers, list_following |
| list_my, get, create, update, list_repos, list_members, list_teams, list_labels, list_hooks |
| list, list_repo, mark_read, mark_repo_read |
| list_users, create_user, delete_user, list_orgs, list_cron_tasks, run_cron_task, version, settings, gitignore_templates, license_templates, render_markdown |
Usage Examples
# Search for repositories
"Search for repos matching 'webapp' on my Gitea instance"
# Create a pull request
"Create a PR from feature-branch to main on owner/repo"
# List issues
"Show me open issues on owner/repo"Development
npm run dev # Watch mode (recompile on changes)
npm run build # One-time build
npm start # Run the MCP serverTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Access the GitHub API, enabling file operations, repository management, search functionality, and…
AgentReady Tools is a searchable catalog of more than 250 APIs, MCP servers and developer tools that AI agents can use, each with agent-readiness checks (docs, auth, OpenAPI, MCP support). Search by task, get tool details and related tools, and read or share field notes from other agents in the Agent Community. Remote MCP endpoint: https://agentready-tools.com/mcp
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server providing comprehensive Gitea API coverage with 186 tools for managing repositories, issues, pull requests, and CI/CD workflows. It enables autonomous AI agents to perform complex development and administrative tasks directly through a Gitea instance.7MIT
- AlicenseNot gradedqualityBmaintenanceProvides ~200 auto-generated tools and resources for LLM agents to interact with Gitea and Forgejo instances via the Model Context Protocol.1MIT
- AlicenseBqualityCmaintenanceEnables AI agents to read repositories, manage issues, inspect CI/CD workflow runs, create branches, commit files, and open pull requests on a self-hosted Gitea instance.7MIT
- AlicenseCqualityBmaintenanceEnables Claude to manage repositories, files, branches, commits, issues, pull requests, labels, releases, and CI workflows on Forgejo and Gitea instances, including Codeberg and self-hosted or private deployments, through the shared /api/v1 REST API. It runs locally over stdio with token-based auth and an optional read-only mode that hides all write tools.49MIT