Last updated: 4 July 2026
GitHub
LiveList repos, query issues, create tickets, and search code across your GitHub organisation.
Who needs this: Engineering teams who want AI to query their GitHub repositories and issue tracker without leaving their AI assistant.
Example questions once connected
- List all open issues assigned to me
- How many pull requests are awaiting review?
- Create a bug: login fails on iOS 18 — high priority
- Search the codebase for uses of the deprecated payment function
Step-by-step setup
- Open the connector in your Msharti dashboard. Go to Connectors → GitHub → Connect. Msharti creates a unique OAuth link. Click Open in Browser.
- Log in with your GitHub account. A consent screen lists what Msharti can access. Review the permissions and click Accept or Continue.
- Confirm the connection in Msharti. You will be redirected back to the dashboard. The connector shows Connected with a green dot. Tokens are stored securely and refreshed automatically.
Tool reference
These are the tools the AI can call on this connector. Each tool fires automatically when you ask a relevant question.
list_repos() List repositories in the connected GitHub account or organisation. Inputs optional: org, visibility (public/private/all), sort, limit
Try asking "Show me all private repos in the msharti-platform org"
Returns 6 private repos: msharti-gateway, msharti-dashboard, connector-mpesa, connector-kra, infra, docs-site.
get_issues() List issues for a repository with optional filters. Inputs repo, optional: state (open/closed), assignee, labels, milestone
Try asking "Show me all open bugs in the msharti-gateway repo"
Returns 4 open bugs. Oldest: #142 "Token refresh race condition" (2 days, unassigned). Critical: #148 "STK timeout not surfaced to client".
create_issue() Create a new GitHub issue in a repository. Inputs repo, title, optional: body, labels, assignee, milestone
Try asking "Create a bug in msharti-dashboard: the connector status badge shows red even after reconnect"
Returns Issue #156 created: "Connector status badge shows red after reconnect". Repo: msharti-dashboard. Labels: bug.
search_code() Search for a code pattern or symbol across repositories. Inputs query, optional: repo, language, path
Try asking "Find all uses of the old mpesa_auth function in the codebase"
Returns 3 matches across 2 files: connector-mpesa/src/auth.ts (lines 42, 88), connector-mpesa/tests/auth.test.ts (line 17).
list_pull_requests() List pull requests for a repository with optional filters. Inputs repo, optional: state (open/closed/merged), author, base branch
Try asking "How many pull requests are open and waiting for review?"
Returns 5 open PRs. 3 awaiting review: #201 "Add Zoho connector" (Lucy, 2 days), #198 "Rate limiter refactor" (James, 4 days), #195 "Fix CRB placeholder" (David, 1 week).
Limits
- OAuth token scopes: repo (full) and read:org. The AI cannot delete repos or manage billing.
- Code search uses GitHub's search index — recently pushed files may take up to a few minutes to appear.
- Rate limit: 5,000 API requests/hour for authenticated users. Heavy repo-scanning tasks spread across requests automatically.
Need help? [email protected] — Nairobi-based, same time zone.