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.
You can download the official release from here.
You can download the source code by cloning the repository using Git:
git clone https://forgejo.org/forgejo/forgejo-mcp.gitBefore building, make sure you have the following installed:
- make
- Golang (Go 1.24 or later recommended)
Then run:
make buildAfter building, copy the binary forgejo-mcp to a directory included in your system's PATH. For example:
cp forgejo-mcp /usr/local/bin/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