gitea-mcp

io.github.werebear73/gitea-mcp

Model Context Protocol server for Gitea (and Forgejo, Codeberg).

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "gitea-mcp": {
      "command": "uvx",
      "args": [
        "gitea-mcp"
      ],
      "env": {
        "GITEA_URL": "<your GITEA_URL>",
        "GITEA_TOKEN": "<your GITEA_TOKEN>",
        "GITEA_TIMEOUT": "30",
        "GITEA_MAX_RETRIES": "3",
        "GITEA_RETRY_BASE_DELAY": "0.5"
      }
    }
  }
}
Environment variables
  • GITEA_URLrequiredBase URL of your Gitea/Forgejo/Codeberg instance
  • GITEA_TOKENrequiredsecretPersonal access token for the configured instance
  • GITEA_TIMEOUTHTTP request timeout in seconds
  • GITEA_MAX_RETRIESRetry count for transient failures
  • GITEA_RETRY_BASE_DELAYRetry backoff base delay in seconds

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.5.1
Registry
active
Published
5/29/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that gitea-mcp is listed here — it’s also the link we check for a free listing.

gitea-mcp — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-werebear73-gitea-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="gitea-mcp — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![gitea-mcp — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-werebear73-gitea-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.