Forgejo MCP logo

Forgejo MCP

by raohwork

Manage Forgejo and Gitea issues, labels, releases, wiki pages, pull requests, and repository tasks through MCP.

Install Forgejo MCP

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://localhost:8080/sse

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The raohwork/forgejo-mcp MCP server connects AI assistants to Forgejo or Gitea repositories through MCP. It supports local stdio operation and HTTP access, including SSE and Streamable HTTP configurations. Use it to manage issues, labels, milestones, releases, comments, wiki pages, and related repository data with an access token. It also exposes repository search, pull request viewing, and Forgejo/Gitea Actions task viewing.

Use cases

  • Create and update repository issues
  • Organize labels and milestones
  • Review pull requests and Actions tasks
  • Manage releases and attachments
  • Maintain wiki pages and issue discussions

Key features

  • Forgejo and Gitea repository management
  • Issue, comment, attachment, and dependency operations
  • Label and milestone management
  • Release and release attachment management
  • Stdio and HTTP MCP modes
  • Repository search and pull request viewing

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

19/20 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars69Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Forgejo MCP works

What raohwork/forgejo-mcp MCP server does

The raohwork/forgejo-mcp MCP server lets an MCP-compatible AI assistant work with repositories hosted on Forgejo or Gitea. It is intended for repository administration and project coordination rather than local source-code editing. Operations are performed against the configured Forgejo or Gitea instance using an access token.

Issue workflows include creating, editing, and viewing issues, along with adding, removing, or replacing labels. The server can also manage issue comments and attachments and set issue dependencies. For project organization, it supports label and milestone creation, modification, and deletion, plus repository search and listing.

Release features cover version releases and their attachments. Other supported areas include viewing pull requests, managing wiki pages, and viewing Forgejo or Gitea Actions tasks. These capabilities make it a fit for assistants that need to inspect repository status or carry out structured project-management changes.

How it works

The raohwork/forgejo-mcp MCP server provides two operating modes. Stdio mode runs locally and communicates with an AI client over standard input and output. HTTP mode starts a web service for remote MCP connections and can be configured for SSE or Streamable HTTP.

HTTP deployments support either a single shared token or multi-user authentication. Supplying a token when the service starts makes that token apply to operations handled by the server. Without a startup token, clients must send an Authorization: Bearer <token> header with each request. The latter arrangement allows different users to provide their own tokens.

Clients send natural-language requests to the configured MCP connection, while the server translates the requested repository operations for the Forgejo or Gitea instance. The README identifies Claude Desktop and Gemini CLI as local integration examples.

Setup and configuration

Create an access token in the Forgejo or Gitea user settings under Applications and Access Tokens before configuring a client. The README recommends repository and issue write permissions when write operations are needed; choose scopes appropriate to the actions the assistant must perform.

You can run the server with Docker, install it using Go, or download a precompiled binary from the project releases. Stdio configurations pass the server URL and token as command-line arguments. For HTTP, start the service with an address such as :8080 and the target server URL, then configure a client with an SSE endpoint or the Streamable HTTP endpoint.

The supported environment variables are FORGEJOMCP_SERVER for the Forgejo or Gitea URL and FORGEJOMCP_TOKEN for the access token. Using environment variables keeps these values out of client configuration files. The README also recommends limiting token permissions and rotating tokens periodically.

Tools and capabilities

The raohwork/forgejo-mcp MCP server supports these repository-management areas:

  • Create, edit, and view issues
  • Add, remove, and replace issue labels
  • Manage issue comments, attachments, and dependencies
  • Create, edit, and delete labels and milestones
  • Search and list repositories
  • Manage releases and release attachments
  • View pull requests
  • Manage wiki pages
  • View Forgejo or Gitea Actions tasks

Limitations and notes

The material describes repository management through Forgejo and Gitea, but does not document support for other hosting platforms. It also does not specify individual MCP tool names, detailed API coverage, or client-specific setup beyond the provided stdio and HTTP examples.

Write access depends on the permissions granted to the access token. A token with insufficient scopes may not be able to perform issue, repository, label, milestone, or release changes. HTTP deployments should be configured with the appropriate authentication mode: a startup token for one shared identity, or per-request bearer tokens for multi-user access.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Forgejo MCP

raohwork/forgejo-mcp is an MCP server that connects AI assistants to Forgejo and Gitea repositories. Its main tools manage issues, labels, milestones, releases, comments, attachments, dependencies, repository searches, pull requests, wiki pages, and Actions tasks. It supports local stdio connections and remote HTTP access with token authentication.

Install it with Docker, `go install github.com/raohwork/forgejo-mcp@latest`, or a precompiled release binary. Docker can run either stdio or HTTP mode. After installation, configure the target Forgejo or Gitea URL and an access token in the MCP client or environment.

Configure the Forgejo or Gitea URL and access token with `FORGEJOMCP_SERVER` and `FORGEJOMCP_TOKEN`, or pass them as command-line options. In HTTP multi-user mode, send an `Authorization: Bearer <token>` header with each request.

Yes, it supports both local stdio connections and remote HTTP connections. HTTP mode provides SSE and Streamable HTTP configurations, while stdio mode is intended for local clients such as Claude Desktop and Gemini CLI.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewForgejo MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/raohwork-forgejo-mcp?style=directory)](https://allmcps.com/mcp/raohwork-forgejo-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/raohwork-forgejo-mcp"><img src="https://allmcps.com/api/badge/raohwork-forgejo-mcp?style=directory" alt="Forgejo MCP on AllMCPs" /></a>