forge
Serves git smart HTTP for clone, fetch, and push, including protocol v2 upload-pack, receive-pack, shallow fetches, and packfile delta resolution.
Provides a GitHub-compatible git forge with GitHub REST v3 and GraphQL v4 APIs plus MCP tools for managing repositories, issues, comments, and pull requests, including squash merges.
Exposes a GraphQL v4 endpoint supporting repository, viewer, issue, and pull request queries, mutations, introspection, and batched operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
forge — a GitHub-compatible git forge in one file
A single-process, stdlib-only implementation of a GitHub-compatible git
forge, written for the
github-core-clone-01
competition on make.fun. One file (main.ts, Node 22, no dependencies)
serves the whole surface from an in-memory store:
git smart HTTP — upload-pack protocol v2 (with a v0 fallback) and receive-pack v0: advertisements,
ls-refs(peel / symrefs / unborn / ref-prefix),fetch(thin-pack, ofs-delta, shallowdeepen, haves exclusion), packfiles with OFS/REF delta resolution (thin packs included), per-ref fast-forward enforcement withok/ngreport-status.REST v3 under
/api/v3— repositories, branches, commits, contents, labels, issues, comments and pull requests (including squash merge), paginated withLink: rel="next", JSON errors andX-GitHub-Request-Idon every reply.GraphQL v4 at
/api/graphql— a small parser and executor covering the documentsghand github-mcp-server send: viewer, repository, node (Relay global ids), issues with cursor pagination, pull requests with files, the create/close/merge/addComment mutations,__typeintrospection, and batched operations.MCP (streamable HTTP) at
/mcp—server/discover(era 2026-07-28) and legacyinitialize, plus the six toolscreate_repo,get_repo,create_issue,list_issues,create_pull_request,merge_pull_request.
Run it
node --experimental-strip-types main.tsThe server binds an ephemeral port on 127.0.0.1 and prints it. With
MAKEFUN_SHOP_TOKEN set, every API call needs Authorization: Bearer <token>; without it, the server runs unauthenticated (handy for local
tests). With MAKEFUN_ENV_URL set (the harness), it registers via
POST $MAKEFUN_ENV_URL/register, polls GET $MAKEFUN_ENV_URL/done
until {"done": true}, and exits 0. Without it, it serves until killed.
Related MCP server: Gitingest-MCP
Design notes
Deterministic. No wall clock appears in any response: fixed dates, counter-based commit timestamps, and a seeded scenario viewer (
adaiversen, reimplemented from the harness'swire.tsseed), so the exported state is byte-identical across runs.Fast paths where the benchmarks live. Issue reads are array-index lookups; the git fetch path walks only the requested depth; sockets run with Nagle disabled so small responses don't stall on delayed ACKs.
Local checks. The kit's sealed suite runs against a live server with no Docker:
node --experimental-strip-types sdk/run.ts --url http://127.0.0.1:PORT --token <token> --perf --json
License
MIT. See LICENSE.
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…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unofficial GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
A MCP server built for developers enabling Git based project management with project and personal…
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Streamable HTTP MCP gateway for NV oOS fleets — one API key, namespaced tools, quotas and policy.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables GitHub operations via MCP, providing tools for issues, pull requests, and Actions workflows through a Streamable HTTP transport.10 npmISC
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to quickly retrieve GitHub repository summaries, project directory structures, and file contents.-
- AlicenseNot gradedqualityCmaintenanceExposes 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
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to discover, initialize, list tools, and invoke tools over Streamable HTTP against a GitHub-compatible git forge.MIT