
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that lets AI assistants manage and interact with Gitea/Forgejo repositories.
Gitea/Forgejo MCP Server is cataloged as an MCP server attributed to raohwork. A Model Context Protocol server that lets AI assistants manage and interact with Gitea/Forgejo repositories. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Mozilla Public License 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Gitea/Forgejo MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
README.md · 861d234dedea · Fetched 2026-11-13 12:20:27 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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.
docker run -p 8080:8080 -e FORGEJOMCP_TOKEN="my-forgejo-api-token" ronmi/forgejo-mcp http --address :8080 --server https://git.example.com
go install github.com/raohwork/forgejo-mcp@latest
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:
export FORGEJOMCP_SERVER="https://your-forgejo-instance.com"
export FORGEJOMCP_TOKEN="your_access_token"
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:
{
"mcpServers": {
"forgejo": {
"command": "docker",
"args": [
"--rm",
"ronmi/forgejo-mcp",
"stdio",
"--server", "https://your-forgejo-instance.com",
"--token", "your_access_token"
]
}
}
}
Installed from source or pre-built binary:
{
"mcpServers": {
"forgejo": {
"command": "/path/to/forgejo-mcp",
"args": [
"stdio",
"--server", "https://your-forgejo-instance.com",
"--token", "your_access_token"
]
}
}
}
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:
# with local binary
/path/to/forgejo-mcp http --address :8080 --server https://your-forgejo-instance.com
# with docker
docker run -p 8080:8080 -d --rm ronmi/forgejo-mcp http --address :8080 --server https://your-forgejo-instance.com
The server supports two operational modes:
--token (or environment variable FORGEJOMCP_TOKEN) at startup, all operations will use that token.
forgejo-mcp http --address :8080 --server https://git.example.com --token your_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:
{
"mcpServers": {
"forgejo-remote": {
"type": "sse",
"url": "http://localhost:8080/sse",
"headers": {
"Authorization": "Bearer your_token"
}
}
}
}
or http type (for Streamable HTTP, use different path in URL)
{
"mcpServers": {
"forgejo-remote": {
"type": "http",
"url": "http://localhost:8080/",
"headers": {
"Authorization": "Bearer your_token"
}
}
}
}
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:
"Show me critical bug reports of this repo on my gitea server"
"According to our discussion above, create a detailed issue about this bug, then leave a comment on the issue to describe how we will fix it."
"Give me a report about current milestone. Recent progression in particular."
"Analyze recent pull requests and tell me which ones need priority review"
This project is licensed under the Mozilla Public License 2.0.
Start making AI your code repository management partner! 🚀
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Gitea/Forgejo MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/forgejo-mcp-raohwork)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.