1.6 KiB
1.6 KiB
forgejo-mcp
MCP server for interacting with a Forgejo instance.
Source: @openmanbo/forgejo-mcp
Environment Variables
| Variable | Required | Description |
|---|---|---|
FORGEJO_URL |
Yes | Base URL of the Forgejo instance (e.g. https://forgejo.corentic.eu) |
FORGEJO_TOKEN |
Yes | Personal access token with required scopes. Generate at /user/settings/applications |
Usage
docker run -d \
--name forgejo-mcp \
-p 8101:8101 \
-e FORGEJO_URL=https://forgejo.corentic.eu \
-e FORGEJO_TOKEN=your_token_here \
forgejo.corentic.eu/corentic/mcp-fleet-forgejo:latest
Tools
search_issues— Search issues & PRs across all reposlist_issues— List issues in a repositoryget_issue— Get a single issuecreate_issue— Create a new issueedit_issue— Edit an issuelist_issue_comments— List comments on an issuecreate_comment— Add a comment to an issuesearch_repos— Search repositoriesget_repo— Get repository infoget_user— Get authenticated user profileget_user_info— Get any user's public profilelist_notifications— List notificationslist_pull_requests— List pull requests in a repositoryget_pull_request— Get a single pull requestcreate_pull_request— Create a pull requestedit_pull_request— Edit a pull requestmerge_pull_request— Merge a pull requestget_pull_request_diff— Get PR diff as plain textget_pull_request_files— List files changed in a PRlist_pull_request_reviews— List reviews on a PR