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
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 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

    Table of Contents

    • What It Does
    • Quick Start
    • 1. Install
    • 2. Get Your Access Token
    • 3. Configure Your AI Assistant
    • 4. Start Using It
    • Available Tools
    • Configuration Options
    • Troubleshooting
    • Getting Help
    • For Developers
    • License

    Table of Contents

    • What It Does
    • Quick Start
    • 1. Install
    • 2. Get Your Access Token
    • 3. Configure Your AI Assistant
    • 4. Start Using It
    • Available Tools
    • Configuration Options
    • Troubleshooting
    • Getting Help
    • For Developers
    • License

    Documentation

    Forgejo MCP Server

    Connect your AI assistant to Forgejo repositories. Manage issues, pull requests, files, and more through natural language.

    What It Does

    Forgejo MCP Server is an integration plugin that connects Forgejo with Model Context Protocol (MCP) systems. Once configured, you can interact with your Forgejo repositories through any MCP-compatible AI assistant like Claude, Cursor, or VS Code extensions.

    Example commands you can use:

    • "List all my repositories"
    • "Create an issue titled 'Bug in login page'"
    • "Show me open pull requests in my-org/my-repo"
    • "Get the contents of README.md from the main branch"

    Quick Start

    1. Install

    Option A: Using Go (Recommended)

    bash
    go install codeberg.org/goern/forgejo-mcp/v2@latest

    Ensure $GOPATH/bin (typically ~/go/bin) is in your PATH.

    Option B: Download Binary

    Download the latest release from the releases page.

    2. Get Your Access Token

    1. Log into your Forgejo instance

    2. Go to Settings → Applications → Access Tokens

    3. Create a new token with the permissions you need (repo, issue, etc.)

    3. Configure Your AI Assistant

    Add this to your MCP configuration file:

    For stdio mode (most common):

    json
    {
      "mcpServers": {
        "forgejo": {
          "command": "forgejo-mcp",
          "args": [
            "--transport", "stdio",
            "--url", "https://your-forgejo-instance.org"
          ],
          "env": {
            "FORGEJO_ACCESS_TOKEN": ""
          }
        }
      }
    }

    For SSE mode (HTTP-based):

    json
    {
      "mcpServers": {
        "forgejo": {
          "url": "http://localhost:8080/sse"
        }
      }
    }

    When using SSE mode, start the server first:

    bash
    forgejo-mcp --transport sse --url https://your-forgejo-instance.org --token

    4. Start Using It

    Open your MCP-compatible AI assistant and try:

    code
    List all my repositories

    Available Tools

    ToolDescription
    User
    get_my_user_infoGet information about the authenticated user
    search_usersSearch for users
    Repositories
    list_my_reposList all repositories you own
    create_repoCreate a new repository
    fork_repoFork a repository
    search_reposSearch for repositories
    Branches
    list_branchesList all branches in a repository
    create_branchCreate a new branch
    delete_branchDelete a branch
    Files
    get_file_contentGet the content of a file
    create_fileCreate a new file
    update_fileUpdate an existing file
    delete_fileDelete a file
    Commits
    list_repo_commitsList commits in a repository
    Issues
    list_repo_issuesList issues in a repository
    get_issue_by_indexGet a specific issue
    create_issueCreate a new issue
    add_issue_labelsAdd labels to an issue
    update_issueUpdate an existing issue
    issue_state_changeOpen or close an issue
    Comments
    list_issue_commentsList comments on an issue or PR
    get_issue_commentGet a specific comment
    create_issue_commentAdd a comment to an issue or PR
    edit_issue_commentEdit a comment
    delete_issue_commentDelete a comment
    Pull Requests
    list_repo_pull_requestsList pull requests in a repository
    get_pull_request_by_indexGet a specific pull request
    create_pull_requestCreate a new pull request
    update_pull_requestUpdate an existing pull request
    list_pull_reviewsList reviews for a pull request
    get_pull_reviewGet a specific pull request review
    list_pull_review_commentsList comments on a pull request review
    Organizations
    search_org_teamsSearch for teams in an organization
    Server
    get_forgejo_mcp_server_versionGet the MCP server version

    Configuration Options

    You can configure the server using command-line arguments or environment variables:

    CLI ArgumentEnvironment VariableDescription
    --urlFORGEJO_URLYour Forgejo instance URL
    --tokenFORGEJO_ACCESS_TOKENYour personal access token
    --debugFORGEJO_DEBUGEnable debug mode
    --transport-Transport mode: stdio or sse
    --sse-port-Port for SSE mode (default: 8080)

    Command-line arguments take priority over environment variables.

    Troubleshooting

    Enable debug mode to see detailed logs:

    bash
    forgejo-mcp --transport sse --url  --token  --debug

    Or set the environment variable:

    bash
    export FORGEJO_DEBUG=true

    Getting Help

    • Report issues
    • View source code

    For Developers

    See DEVELOPER.md for build instructions, architecture overview, and contribution guidelines.

    License

    This project is open source. See the repository for license details.

    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