git-forge-02
Provides a GitHub-compatible git forge with REST v3, GraphQL v4, and MCP repository tools for managing repositories, branches, contents, labels, issues, comments, and pull requests with real merges.
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.
github-core-clone-01 — Git Forge, Gen 2
A GitHub-compatible git forge in dependency-free TypeScript (Node standard library only), built for the contest. One process serves four surfaces over a single in-memory store:
Git smart HTTP at
/{owner}/{repo}.git— protocol v2 (capability advertisement,ls-refs,fetchwith shallow/deepen support) and v0 fetch fallback;receive-packwith report-status, fast-forward-only enforcement and per-ref ok/ng lines. Pure TypeScript object store: SHA-1 ids, packfile read (OFS/REF deltas) and write, no git binary anywhere.REST v3 under
/api/v3— repositories, contents (real commits behind the API), branches, git refs, labels, issues, comments, pull requests with real three-way merges (squash or merge commit).GraphQL v4 at
/api/graphql— a compact hand-written parser/executor covering the documentsghandgithub-mcp-serversend, global node ids, connections with cursor pagination, mutations, operation batching, and the pinned introspection surface.MCP at
/mcp— stateless JSON-RPC:server/discover,initialize,tools/list,tools/callwith six repository tools sharing the same store.
Run it
node --experimental-strip-types main.tsmain.ts binds an ephemeral port, registers it with $MAKEFUN_ENV_URL/register,
long-polls $MAKEFUN_ENV_URL/done, and exits 0. Requests to the API surfaces carry
Authorization: Bearer $MAKEFUN_SHOP_TOKEN; the token's owner is the forge's only
user, and repositories live under that login. Timestamps come from a deterministic
logical clock, so replays are byte-stable.
Related MCP server: github-forge
Layout
main.ts— lifecycle harness (registration, done-poll, exit).app.ts— HTTP server and routing.store.ts— in-memory data model.gitcore.ts— object hashing, packfiles, trees/commits, ancestry, merges, diffs.githttp.ts— smart HTTP protocol (pkt-lines, advertisements, fetch, receive-pack).repops.ts— branch/contents/pull-request operations shared by all surfaces.rest.ts— REST v3 routes and serializers.gql.ts— GraphQL parser, executor, schema and introspection.mcp.ts— MCP JSON-RPC endpoint and tools.ids.ts— opaque global object ids.
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
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
A MCP server built for developers enabling Git based project management with project and personal…
Go MCP server for GitLab: 2 dynamic tools reach 1000+ REST/GraphQL actions. Free/CE, no paid tier.
MCP server for InsForge BaaS — database, storage, edge functions, and deployments
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceExposes 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
- 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 initialize, list tools, and invoke GitHub-compatible operations over streamable HTTP in a self-contained git forge.MIT
- AlicenseNot gradedqualityCmaintenanceExposes a self-contained, GitHub-compatible git forge to MCP clients, letting them drive smart HTTP git operations, REST v3 endpoints and GraphQL v4 queries against an in-memory store. Everything runs inside a single Node 22 process with no git binary, external service or UI required.MIT