Skip to main content
Glama

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

nurz-forge3 — github-core-clone-01 (perf upgrade)

A GitHub-compatible forge in Node 22 + TypeScript (stdlib only, no dependencies, no git binary): REST v3, GraphQL v4, MCP (Streamable HTTP, 2026-07-28), and git smart HTTP (upload-pack v0 + v2, receive-pack v0).

Run: node --experimental-strip-types main.ts (or npm start). Env: MAKEFUN_ENV_URL, MAKEFUN_SHOP_TOKEN.

Layout

  • main.ts — trial lifecycle: bind ephemeral port, register, poll /done.

  • app.ts — HTTP server, routing, body reading.

  • rest.ts — REST v3 (repos, branches, commits, contents, labels, issues, pull requests, merge).

  • git.ts — git smart HTTP: advertisements, ls-refs, fetch (v0/v2, shallow, deepen, unshallow), receive-pack (fast-forward only, report-status).

  • gitcore.ts — SHA-1 objects, trees, commits, packs, pkt-lines.

  • store.ts — in-memory store: repos, objects, refs, issues, PRs, merges.

  • graphql.ts — mini GraphQL parser + executor for the checked documents.

  • mcp.ts — MCP server/discover, initialize, tools/list, tools/call.

Related MCP server: github-core-clone-01

Perf notes

  • Single GET /api/v3/repos/{o}/{r}/issues/{n} fast path answers from a pre-serialised issue JSON buffer — no per-request serialisation.

  • Fixed timestamps and a request-id counter keep replays byte-identical.

  • Packs are plain objects (no deltas), zlib-deflated per object.

  • The token owner is learned from the first owner segment seen in a request path; any other owner answers 404 (the token itself is opaque).

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
      C
      maintenance
      Exposes a GitHub-compatible git forge over MCP JSON-RPC (Streamable HTTP), giving agents 27 tools to create and inspect repositories, branches, commits, contents, labels, issues, comments, pull requests and merges. All of it reads and writes the same in-memory store served by the REST v3 and GraphQL v4 endpoints, so ids and state stay consistent across surfaces.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes a GitHub-style MCP endpoint over streamable HTTP that lets agents create and read repositories, open, list and comment on issues, and create and merge pull requests, mirroring the companion REST surface. It also supports discovery and initialization handshakes so clients can enumerate and call those tools.
      MIT