github-core-clone
Implements Git smart HTTP endpoints for repository fetch and push, including upload-pack v2/v0, receive-pack, shallow/deepen fetches, sideband packs, and packfile delta handling.
Provides a GitHub-compatible forge and API surface, including REST v3 and GraphQL v4 for repositories, branches, commits, contents, labels, issues, comments, and pull requests, plus MCP tools for common GitHub-like operations.
Exposes a GitHub-style GraphQL v4 endpoint with repository reads, issue and pull request connections, cursor pagination, introspection, node lookup, batched operations, and mutations for issues, pull requests, merges, and comments.
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
A standalone GitHub-compatible git forge in one Node process — no git binary, no database. One in-memory store serves all four surfaces:
Git smart HTTP (
/{owner}/{repo}.git): upload-pack v2 (ls-refs, fetch with shallow/deepen, ACK/NAK, sideband packs) and v0, receive-pack v0 with fast-forward-only pushes and per-refok/ngreport lines. Plain-object packs on the wire; OFS/REF delta packs are read back.REST v3 (
/api/v3): repositories, branches, commits, contents, labels, issues, comments and pull requests, with Link pagination,X-GitHub-Request-Idon every reply, JSON errors ({message}), 409 on a stale content sha, 422 on an unknown label, 405 on a conflicted merge.GraphQL v4 (
/api/graphql): viewer, repository reads, issue/pull-request connections with cursor pagination,__typeintrospection, the five mutations (createIssue, closeIssue, createPullRequest, mergePullRequest, addComment),node(id:)and batched operation bodies. Unknown fields answer HTTP 200 with an errors array; an unknown repository answersdata.repository: null.MCP (
/mcp): JSON-RPC 2.0 Streamable HTTP, revision 2026-07-28 (server/discover) with theinitializehandshake era as a fallback. Six tools: create_repo, get_repo, create_issue, list_issues, create_pull_request, merge_pull_request.
Running
MAKEFUN_SHOP_TOKEN=shpat_… node --experimental-strip-types main.tsmain.ts binds an ephemeral port, registers it at $MAKEFUN_ENV_URL/register,
and polls $MAKEFUN_ENV_URL/done until the harness says the run is over. The
bearer token is the viewer: the server answers as adaiversen for it, and
repositories under any other owner answer 404.
Related MCP server: github-core-clone-01
Layout
main.ts— process lifecycle (bind, register, wait for done).app.ts— HTTP entry point: auth, JSON parsing, routing.store.ts— the shared in-memory store (repos, issues, pulls, git objects).gitobj.ts— git object model and packfile codec (write/read, delta apply).gitproto.ts— pkt-lines, sideband, v0/v2 advertisements, fetch and push.rest.ts— the REST v3 router.graphql.ts— parser + executor.mcp.ts— JSON-RPC dispatcher and the six tools.
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
Manage repositories, users, releases, and automate GitHub workflows
Access the GitHub API, enabling file operations, repository management, search functionality, and…
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
Hosted coding agent: start, follow up on and stop tasks that can open GitHub pull requests.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables compatible AI clients to open, inspect, edit, test, commit, and manage GitHub repositories through local STDIO or authenticated remote Streamable HTTP, including issues, pull requests, workflows, and repository creation.30MIT
- AlicenseNot gradedqualityCmaintenanceExposes an MCP endpoint over JSON-RPC 2.0 with six tools, enabling agents to create and retrieve repositories, file and list issues, open pull requests, and merge them. It also supports discovery and initialization handshakes for client integration.MIT
- 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