Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2025 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Forgejo Mcp

    MIRROR ONLY!! This Model Context Protocol (MCP) server provides tools and resources for interacting with the Forgejo (specifically Codeberg.org) REST API.

    13 stars
    Go
    Updated Oct 15, 2025

    Documentation

    Forgejo MCP Server

    Forgejo MCP Server is an integration plugin designed to connect Forgejo with Model Context Protocol (MCP) systems. This allows for seamless command execution and repository management through an MCP-compatible chat interface.

    🚧Installation

    🔧Build from Source

    You can download the source code by cloning the repository using Git:

    bash
    git clone https://codeberg.org/goern/forgejo-mcp.git

    Before building, make sure you have the following installed:

    • make
    • Golang (Go 1.24 or later recommended)

    Then run:

    bash
    make build

    📁Add to PATH

    After building, copy the binary forgejo-mcp to a directory included in your system's PATH. For example:

    bash
    cp forgejo-mcp /usr/local/bin/

    🚀Usage

    This example is for Cursor, you can also use plugins in VSCode.

    To configure the MCP server for Forgejo, add the following to your MCP configuration file:

    • stdio mode
    json
    {
      "mcpServers": {
        "forgejo": {
          "command": "forgejo-mcp",
          "args": [
            "--transport", "stdio",
            "--url", "https://forgejo.example.org"
            // "--token", ""
          ],
          "env": {
            // "FORGEJO_URL": "https://forgejo.example.org",
            "FORGEJO_ACCESS_TOKEN": ""
          }
        }
      }
    }
    • sse mode
    json
    {
      "mcpServers": {
        "forgejo": {
          "url": "http://localhost:8080/sse"
        }
      }
    }

    [!NOTE]

    You can provide your Forgejo URL and access token either as command-line arguments or environment variables.

    Command-line arguments have the highest priority. Environment variables have been updated:

    - Use FORGEJO_URL instead of the deprecated GITEA_HOST

    - Use FORGEJO_ACCESS_TOKEN instead of the deprecated GITEA_ACCESS_TOKEN

    - Use FORGEJO_DEBUG instead of the deprecated GITEA_DEBUG

    The old GITEA_* variables are still supported for backward compatibility but will show deprecation warnings.

    Once everything is set up, try typing the following in your MCP-compatible chatbox:

    text
    list all my repositories

    ✅Available Tools

    The Forgejo MCP Server supports the following tools:

    ToolScopeDescription
    get_my_user_infoUserGet the information of the authenticated user
    create_repoRepositoryCreate a new repository
    fork_repoRepositoryFork a repository
    list_my_reposRepositoryList all repositories owned by the authenticated user
    create_branchBranchCreate a new branch
    delete_branchBranchDelete a branch
    list_branchesBranchList all branches in a repository
    list_repo_commitsCommitList all commits in a repository
    get_file_contentFileGet the content and metadata of a file
    create_fileFileCreate a new file
    update_fileFileUpdate an existing file
    delete_fileFileDelete a file
    get_issue_by_indexIssueGet an issue by its index
    list_repo_issuesIssueList all issues in a repository
    create_issueIssueCreate a new issue
    create_issue_commentIssueCreate a comment on an issue
    list_issue_commentsIssueList all comments on an issue or pull request
    get_issue_commentIssueGet a specific comment by its ID
    edit_issue_commentIssueEdit an existing comment
    delete_issue_commentIssueDelete a comment
    get_pull_request_by_indexPull RequestGet a pull request by its index
    list_repo_pull_requestsPull RequestList all pull requests in a repository
    create_pull_requestPull RequestCreate a new pull request
    update_pull_requestPull RequestUpdate an existing pull request
    search_usersUserSearch for users
    search_org_teamsOrganizationSearch for teams in an organization
    search_reposRepositorySearch for repositories
    get_forgejo_mcp_server_versionServerGet the version of the Forgejo MCP Server

    🐛Debugging

    To enable debug mode, add the -d flag when running the Forgejo MCP Server with sse mode:

    sh
    ./forgejo-mcp --transport sse --url  [--sse-port 8080] --token  --debug

    Enjoy exploring and managing your Forgejo repositories via chat!

    Similar MCP

    Based on tags & features

    • OC

      Ocireg Mcp

      Go·
      11
    • MC

      Mcp Nutanix

      Go·
      10
    • MC

      Mcpjungle

      Go·
      617
    • AN

      Anyquery

      Go·
      1.4k

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • OC

      Ocireg Mcp

      Go·
      11
    • MC

      Mcp Nutanix

      Go·
      10
    • MC

      Mcpjungle

      Go·
      617
    • AN

      Anyquery

      Go·
      1.4k

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k