forgejo-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@forgejo-mcpshow my recent notifications"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
forgejo-mcp
A Model Context Protocol (MCP) server for Forgejo that enables AI agents to interact with a Forgejo instance as an authenticated user.
Features
Tool | Forgejo API endpoint | Description |
|
| Search issues & PRs across all repos |
|
| List issues in a repository |
|
| Get a single issue |
|
| Create a new issue |
|
| Edit an issue |
|
| List comments |
|
| Add a comment |
|
| Search repositories |
|
| Get repository info |
|
| Get authenticated user profile |
|
| Get any user's public profile |
|
| List notifications |
|
| List pull requests in a repository |
|
| Get a single pull request |
|
| Create a new pull request |
|
| Edit a pull request |
|
| Merge a pull request |
|
| Get PR diff as plain text |
|
| List files changed in a PR |
|
| List reviews on a PR |
|
| Update a PR branch |
Related MCP server: GitHub MCP Server
Requirements
Node.js ≥ 18
A Forgejo personal access token
Installation
npm install -g @openmanbo/forgejo-mcpSetup
Generate a Forgejo token:
Go to<your-forgejo-instance>/user/settings/applicationsand create a token with the scopes you need (at minimumread:issuefor searching).Configure environment variables:
export FORGEJO_URL=https://codeberg.org # or your own instance export FORGEJO_TOKEN=your_token_here
Running the server
forgejo-mcp
# or with npx (no install needed):
npx @openmanbo/forgejo-mcpThe server communicates over stdio using the MCP protocol.
Connecting to an MCP client
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"forgejo": {
"command": "npx",
"args": ["-y", "@openmanbo/forgejo-mcp"],
"env": {
"FORGEJO_URL": "https://codeberg.org",
"FORGEJO_TOKEN": "your_token_here"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"forgejo": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@openmanbo/forgejo-mcp"],
"env": {
"FORGEJO_URL": "https://codeberg.org",
"FORGEJO_TOKEN": "${env:FORGEJO_TOKEN}"
}
}
}
}Development
git clone https://github.com/openmanbo/forgejo-mcp.git
cd forgejo-mcp
npm install
npm run build
npm test # run unit testsLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
130Manage repositories, users, releases, and automate GitHub workflows
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitHub through OAuth-authenticated operations including starting authorization flows, listing repositories, and creating issues using stored access tokens.1-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to manage GitHub repositories, branches, issues, pull requests, releases, and actions through natural language.1185MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with GitHub repositories, issues, pull requests, code, and more through a comprehensive set of tools.-
- AlicenseAqualityDmaintenanceEnables AI assistants to manage Gitea repositories, issues, and pull requests via the tea CLI, including full PR review workflows.1516MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/openmanbo/forgejo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server