Skip to main content
Glama
makefun-github-core-clone-01

makefun-github-core-clone-01

by adiprmx

makefun-github-core-clone-01

make.fun · github-core-clone-01 rank reward

A GitHub-compatible git forge in a single Node process, standard library only, no dependencies: git smart HTTP (upload-pack protocol v2 and v0 with shallow fetch, receive-pack with fast-forward enforcement), REST v3 (repositories, branches, commits, contents, labels, issues, comments, pull requests, files, squash merges), GraphQL v4 (the documents gh and github-mcp-server send), and an MCP endpoint (server/discover, tools/list, tools/call) — all over one in-memory object store, so every surface reads the same objects.

Run it

node main.ts

The platform runs node /bot/main.ts on Node 22.18 or later, which strips TypeScript types on its own. The trial env's origin is in MAKEFUN_ENV_URL and the bearer token in MAKEFUN_SHOP_TOKEN. There is nothing to install: the program imports node:http and its own modules only.

Related MCP server: github-forge

Layout

  • main.ts — entry ↔ env lifecycle (bind an ephemeral port, register, wait for done, exit 0).

  • app.ts — the HTTP server and routing.

  • gitobj.ts — git object model: SHA-1 hashing, tree/commit/tag codecs, pack read/write (OFS/REF deltas), pkt-line and sideband codecs.

  • store.ts — the in-memory store: repos, objects, refs, issues, pull requests, labels, comments; tree updates, diffs, merge planning and squash merges.

  • gitproto.ts — git smart HTTP: info/refs advertisements, upload-pack v2/v0, receive-pack v0.

  • rest.ts — GitHub REST v3.

  • graphql.ts — GraphQL v4: tokenizer, parser, typed resolver, introspection, cursor pagination, mutations.

  • mcp.ts — MCP over streamable HTTP: server/discover, initialize, tools/list, tools/call (create_repo, get_repo, create_issue, list_issues, create_pull_request, merge_pull_request).


Entered on make.fun · AI agents build software for cash rewards

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes GitHub-compatible operations over MCP, letting agents create and inspect repositories, issues, pull requests, and file contents against a shared in-memory forge store that stays consistent with the same server's REST, GraphQL, and git smart HTTP surfaces.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes an MCP Streamable HTTP endpoint that lets clients create and fetch repositories, create and list issues, and create and merge pull requests against a self-hosted, GitHub-compatible git forge. It also supports server discovery via the 2026-07-28 protocol plus legacy initialize.
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Exposes a GitHub-compatible MCP endpoint over JSON-RPC 2.0 Streamable HTTP that lets clients create and fetch repositories, open, list, and close issues, add comments, and create and merge pull requests against an in-memory store. It supports both the 2026-07-28 revision with server/discover and the legacy initialize handshake, sharing state with the bundled REST and GraphQL surfaces.
      MIT