forgejo-mcp

MCP.Pizza Chef: goern

Forgejo is the open-source code hosting behind Codeberg, used by people who would rather not host on the big platforms. This connects it to an assistant so you can browse repositories, read and file issues, review pull requests, and check what changed without leaving your editor. It works in Cursor and VS Code, and needs an access token from your account.

Coding
Communication

Use This MCP server To

Check open issues on my repository File an issue by describing it Review what changed in a pull request Browse a repository's files Find the issue related to a change Get a summary of recent activity

README

Forgejo MCP Server

Forgejo MCP Server is an integration plugin designed to connect Forgejo with Model Context Protocol (MCP) systems. This allows for seamless command execution and repository management through an MCP-compatible chat interface.

🚧Installation

📥Download the official binary release

You can download the official release from here.

🔧Build from Source

You can download the source code by cloning the repository using Git:

git clone https://forgejo.org/forgejo/forgejo-mcp.git

Before building, make sure you have the following installed:

  • make
  • Golang (Go 1.24 or later recommended)

Then run:

make build

📁Add to PATH

After building, copy the binary forgejo-mcp to a directory included in your system's PATH. For example:

cp forgejo-mcp /usr/local/bin/

🚀Usage

This example is for Cursor, you can also use plugins in VSCode. To configure the MCP server for Forgejo, add the following to your MCP configuration file:

  • stdio mode

forgejo-mcp FAQ

Can I use this with Codeberg?
Yes — Codeberg runs Forgejo, and this is written against that.
Do I need a token?
Yes, an access token from your Forgejo or Codeberg account.
Which apps does it work with?
It is documented for Cursor and VS Code.
Can I use this to file issues?
Yes — you can create and read issues as well as review pull requests.
How hard is it to set up?
You download a release or build it, then supply your token, so expect a technical first run.