{
  "markdown": "<div align=\"center\">\n\n# 🔌 github-mcp-connector\n\n**Talk to GitHub from an MCP-speaking agent.**\n\n[![CI](https://github.com/FerhatDundar/github-mcp-connector/actions/workflows/ci.yml/badge.svg)](https://github.com/FerhatDundar/github-mcp-connector/actions/workflows/ci.yml)\n[![CodeQL](https://github.com/FerhatDundar/github-mcp-connector/actions/workflows/codeql.yml/badge.svg)](https://github.com/FerhatDundar/github-mcp-connector/actions/workflows/codeql.yml)\n[![Latest release](https://img.shields.io/github/v/release/FerhatDundar/github-mcp-connector?color=blueviolet&label=release)](https://github.com/FerhatDundar/github-mcp-connector/releases/latest)\n[![MCP Registry](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fregistry.modelcontextprotocol.io%2Fv0%2Fservers%3Fsearch%3Dgithub-mcp-connector&query=%24.servers%5B-1%3A%5D.server.version&label=MCP%20Registry&prefix=v&color=6A2FEE&logo=modelcontextprotocol)](https://registry.modelcontextprotocol.io/?q=github-mcp-connector)\n[![Go Reference](https://img.shields.io/badge/go-1.25%2B-00ADD8?logo=go&logoColor=white)](https://go.dev/)\n[![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](LICENSE)\n[![MCP](https://img.shields.io/badge/protocol-MCP-orange)](https://modelcontextprotocol.io/)\n[![Conventional Commits](https://img.shields.io/badge/commits-conventional-ff69b4)](https://www.conventionalcommits.org/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)\n\n</div>\n\n---\n\nA single static Go binary that speaks the [Model Context Protocol](https://modelcontextprotocol.io/)\nand exposes 18 tools for working with GitHub: repositories, branches,\ncommits, file contents, issues, pull requests, and search.\n\nNo Python, no `uv`, no runtime dependency to install — just a binary and\nan `.mcp.json`.\n\n## ✨ Why this exists\n\n> An agent that can only *talk about* your GitHub repos isn't that useful.\n> This gives it hands: it can read and write files in a repo, open and\n> triage issues, push a branch and open a PR, and merge it — all against\n> the real GitHub API, with the same guardrails (size caps, friendly\n> errors, destructive-action annotations) as the sibling connectors.\n\n## 🧰 Tools\n\n| Tool | What it does | Write? |\n|---|---|:---:|\n| `github_whoami` | Get the user authenticated by `GITHUB_TOKEN` | |\n| `github_list_repos` | List repos for a user/org, or the authenticated user | |\n| `github_get_repo` | Get one repository's details | |\n| `github_create_repo` | Create a new repository | ✍️ |\n| `github_list_branches` | List branches in a repository | |\n| `github_list_commits` | List commits, optionally filtered by branch/path | |\n| `github_get_file_contents` | Read a file's content, or list a directory | |\n| `github_create_or_update_file` | Create/update a file via a commit (≤ 5 MB) | ✍️ |\n| `github_list_issues` | List issues in a repository | |\n| `github_get_issue` | Get one issue's full details | |\n| `github_create_issue` | Create a new issue | ✍️ |\n| `github_update_issue` | Update an issue's title/body/state/labels | ✍️ |\n| `github_add_issue_comment` | Comment on an issue or PR | ✍️ |\n| `github_list_pull_requests` | List pull requests | |\n| `github_get_pull_request` | Get one PR's full details, incl. diff stats | |\n| `github_create_pull_request` | Open a pull request | ✍️ |\n| `github_merge_pull_request` | Merge a pull request | 🗑️ destructive |\n| `github_search_repositories` | Search repositories with GitHub search qualifiers | |\n\nEvery tool accepts an optional `response_format`: `markdown` (default,\npretty tables for a chat UI) or `json` (for programmatic use).\n\n## 🚀 Quickstart\n\n**Fastest path:** grab a prebuilt bundle from the [latest release](https://github.com/FerhatDundar/github-mcp-connector/releases/latest) —\ndownload `github-mcp-connector-plugin-<version>-<os>-<arch>.zip`, unzip it,\nand point Cowork/Claude at the `plugin/` folder inside (see step 4 of\n[SETUP.md](SETUP.md)). No Go toolchain required.\n\n**From source:**\n\n```bash\n# 1. Build\ncd go-server\ngo mod tidy\ngo build -o github-connector-server .\ncp github-connector-server ../plugin/servers/go/\n\n# 2. Set up auth — a personal access token, see SETUP.md\nexport GITHUB_TOKEN=ghp_...\n\n# 3. Run\n./go-server/github-connector-server   # serves MCP over stdio\n```\n\nOr `make build` — see the [Makefile](Makefile) for every shortcut\n(`test`, `vet`, `fmt`, `lint`, `tidy`).\n\nFull walkthrough — including wiring this up as a Claude/Cowork plugin — is\nin **[SETUP.md](SETUP.md)**.\n\n## 🔐 Configuration\n\nEverything is environment variables, passed through by the plugin's\n`.mcp.json`:\n\n| Variable | Purpose | Default |\n|---|---|---|\n| `GITHUB_TOKEN` | Personal access token (classic or fine-grained). Needs `repo`/`public_repo` and `read:org` scopes depending on what you use it for. | — (required) |\n| `GITHUB_API_URL` | GitHub Enterprise Server API base URL, e.g. `https://github.example.com/api/v3`. | *(unset — github.com)* |\n\n## 🧪 Quality bar\n\nThis isn't a toy script — it's got the same checks you'd expect from a\nproduction Go service:\n\n- ✅ **Unit tests** for every input-validation path (`go test ./...`)\n- ✅ **`go vet`** + **`gofmt`** clean\n- ✅ **[golangci-lint](https://golangci-lint.run/)** (govet, staticcheck, errcheck, gosec, and more)\n- ✅ **[govulncheck](https://go.dev/blog/vuln)** — no known vulnerabilities in the dependency graph\n- ✅ **[CodeQL](https://codeql.github.com/)** static security analysis on every push\n- ✅ **End-to-end verified** — every tool (repos, branches, commits, file\n  read/write, issues, comments, PRs, merge, search) was exercised against\n  a real, dedicated GitHub sandbox repo, not mocks\n- ✅ **[Dependabot](.github/dependabot.yml)** keeps Go modules and Actions current\n\nAll of it runs in [CI](.github/workflows/ci.yml) on every push and PR.\n\n## 🏷️ Releases & versioning\n\nVersions follow [semver](https://semver.org/) and are cut automatically by\n[release-please](https://github.com/googleapis/release-please) from\n[Conventional Commits](https://www.conventionalcommits.org/) on `main`:\n\n- `fix: ...` → patch (`v0.1.0` → `v0.1.1`)\n- `feat: ...` → minor (`v0.1.1` → `v0.2.0`)\n- `feat!: ...` / `BREAKING CHANGE:` footer → major (`v0.2.0` → `v1.0.0`)\n\nEvery merged PR updates a standing **\"chore(main): release vX.Y.Z\"** PR\nwith an auto-generated [CHANGELOG.md](CHANGELOG.md). Merging that PR:\n\n1. tags the release and publishes it on GitHub\n2. builds and attaches zipped, ready-to-install plugin bundles for\n   linux/darwin/windows × amd64/arm64\n3. regenerates `server.json` from those exact assets (fresh version +\n   SHA-256 hashes) and publishes it to the\n   [official MCP Registry](https://registry.modelcontextprotocol.io/) via\n   `mcp-publisher`, authenticated with GitHub OIDC — no stored secrets\n\nSee [.github/workflows/release-please.yml](.github/workflows/release-please.yml)\nand [.github/workflows/publish-mcp-registry.yml](.github/workflows/publish-mcp-registry.yml)\n(also runnable by hand for an existing tag via `workflow_dispatch`).\n\n## 📁 Layout\n\n```\ngithub-mcp-connector/\n├── README.md                  ← you are here\n├── SETUP.md                   ← step-by-step setup guide\n├── CONTRIBUTING.md             ← how to contribute\n├── CODE_OF_CONDUCT.md\n├── SECURITY.md                 ← vulnerability reporting\n├── CODEOWNERS\n├── LICENSE                     ← MIT\n├── Makefile                    ← build / test / lint shortcuts\n├── .golangci.yml                ← lint rules\n├── release-please-config.json  ← semver/changelog automation config\n├── .release-please-manifest.json\n├── server.json                  ← MCP Registry manifest (regenerated fresh per release by CI)\n├── scripts/\n│   └── render-server-json.sh    ← rebuilds server.json from a release's zip assets\n├── .github/\n│   ├── workflows/\n│   │   ├── ci.yml                     ← build, vet, test, lint, govulncheck\n│   │   ├── codeql.yml                 ← security scanning\n│   │   ├── pr-title.yml               ← Conventional Commits PR title check\n│   │   ├── release-please.yml         ← version PRs, tagging, GitHub releases\n│   │   ├── publish-mcp-registry.yml   ← publishes server.json to the MCP Registry\n│   │   └── rebuild-release-assets.yml ← manual re-attach fallback\n│   ├── ISSUE_TEMPLATE/\n│   ├── PULL_REQUEST_TEMPLATE.md\n│   └── dependabot.yml\n├── go-server/                  ← the MCP server source\n│   ├── main.go\n│   ├── main_test.go\n│   ├── go.mod / go.sum\n│   └── README.md\n└── plugin/                     ← installable Cowork/Claude plugin\n    ├── .claude-plugin/plugin.json\n    ├── .mcp.json                ← holds credentials locally — never commit real ones\n    └── servers/go/              ← compiled binary goes here\n```\n\n## 🤝 Contributing\n\nPRs and issues are very welcome — see **[CONTRIBUTING.md](CONTRIBUTING.md)**\nfor the full guide (setup, coding conventions, how to add a new tool) and\nthe **[Code of Conduct](CODE_OF_CONDUCT.md)**.\n\n`main` is protected: every change, including the maintainer's, lands via\npull request with CI green. PR titles must follow\n[Conventional Commits](https://www.conventionalcommits.org/) — that's what\ndrives the automatic versioning above.\n\nFound a security issue? Please follow **[SECURITY.md](SECURITY.md)**\ninstead of opening a public issue.\n\n## 📄 License\n\n[MIT](LICENSE) © FerhatDundar\n",
  "bytes": 9294,
  "sha": "8e24a3026f8ada40b51de67d57d2f93b4ae8928d1530a31d239781221ebd8d25",
  "repo_slug": "ferhatdundar/github-mcp-connector",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_ferhatdundar_github_mcp_connec_79915a13/readme"
}