Forgejo MCP
未认领MIRROR ONLY!! This Model Context Protocol (MCP) server provides tools and resources for interacting with the Forgejo (specifically Codeberg.org) REST API.
安装
go install .更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
40 个工具中显示 40 个
文档中列出的工具 (40)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
add_issue_dependency
Make one issue depend on another
add_issue_labels
Add labels to an issue (requires numeric label IDs)
check_notifications
Check and list user notifications
create_branch
Create a new branch
create_branch_protection
Create a rule. Requires branchname; statuscheckcontexts is a comma-separated list of required checks (e.g. "ci/build,ci/test").
create_file
Create a new file
create_issue
Create a new issue
create_repo
Create a new repository
create_repo_label
Create a repository label (name, color as 6-digit hex, optional description). Returns numeric id for immediate use in addissuelabels.
delete_branch
Delete a branch
delete_branch_protection
Delete a rule by rule name
delete_file
Delete a file
edit_branch_protection
Edit a rule by rule name. Only fields you pass change; omitted fields are left unchanged.
fork_repo
Fork a repository
get_branch_protection
Get a single rule by rule name
get_file_content
Get the content of a file. Optional startline/endline request a 1-indexed inclusive line range (clamps to file extent; ignored when withmetadata=true).
get_issue_by_index
Get a specific issue
get_my_user_info
Get information about the authenticated user
get_notification_thread
Get detailed info on a single notification thread
issue_state_change
Open or close an issue
list_branch_protections
List a repository's branch protection rules. Bounded by page (1-based) + limit (page size); the response echoes page/limit so callers can fetch the next page.
list_branches
List all branches in a repository
list_issue_dependencies
List issues the given issue depends on. Bounded by page (1-based) + limit (page size); the response echoes page/limit so callers can fetch the next page.
list_issue_dependents
List issues that depend on the given issue. Bounded by page (1-based) + limit (page size); the response echoes page/limit so callers can fetch the next page.
list_my_repos
List all repositories you own
list_org_labels
List organization-level labels with their IDs (use with addissuelabels, removeissuelabels).
list_repo_commits
List commits in a repository
list_repo_issues
List issues in a repository (page/limit)
list_repo_labels
List labels with their IDs. Merges org-level labels for org-owned repos (set includeorglabels=false to opt out). Each entry carries a scope field ("repo" or "org").
list_repo_milestones
List milestones with their IDs (use with updateissue)
list_repo_notifications
Filter notifications scoped to a single repository
mark_all_notifications_read
Acknowledge all notifications
mark_notification_read
Mark a single notification thread as read
mark_repo_notifications_read
Mark all notifications in a specific repo as read
remove_issue_dependency
Remove a dependency from an issue
remove_issue_labels
Remove labels from an issue (requires numeric label IDs)
search_repos
Search for repositories
search_users
Search for users
update_file
Update an existing file
update_issue
Update an existing issue (requires numeric milestone ID)