MCP server enabling AI assistants to manage Forgejo/Gitea repositories, issues, PRs, releases, and wikis.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Forgejo MCP.
Turn AI into your code repository management assistant
A Model Context Protocol (MCP) server that enables you to manage Gitea/Forgejo repositories through AI assistants like Claude, Gemini, and Copilot.
If you want to:
Then this tool is made for you!
For STDIO mode, you can skip to Usage section.
For SSE/Streamable HTTP mode, you should run forgejo-mcp as server before configuring your MCP client.
Download the appropriate version for your operating system from the Releases page.
This tool provides two primary modes of operation: stdio for local integration and http for remote access.
Before actually setup you MCP client, you have to create an access token on the Forgejo/Gitea server.
repository and issue write permissions)π‘ Tip: For security, consider setting environment variables instead of using tokens directly in config:
This is the recommended mode for integrating with local AI assistant clients like Claude Desktop or Gemini CLI. It uses standard input/output for direct communication.
Using docker:
Installed from source or pre-built binary:
You might want to take a look at Security Recommendations section for best practice.
This mode starts a web server, allowing remote clients to connect via HTTP. It's ideal for web-based services or setting up a central gateway for multiple users.
Run the following command to start the server:
The server supports two operational modes:
--token (or environment variable FORGEJOMCP_TOKEN) at startup, all operations will use that token.
Authorization: Bearer <token> header with each request, allowing it to serve multiple users securely.For clients that support connecting to a remote MCP server via HTTP, you can add a configuration like this. This example shows how to connect to a server running in multi-user mode:
or http type (for Streamable HTTP, use different path in URL)
If connecting to a server in single-user mode, you can omit the headers field.
FORGEJOMCP_SERVER and FORGEJOMCP_TOKEN, then remove --server and --token from your configurationAfter configuration, you can use natural language in your AI assistant to manage your repositories:
This project is licensed under the Mozilla Public License 2.0.
Start making AI your code repository management partner! π
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/raohwork-forgejo-mcp)<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>