{"id":26021849,"url":"https://github.com/parassolanki/github-mcp-server","last_synced_at":"2026-03-09T20:06:10.196Z","repository":{"id":280471831,"uuid":"942110913","full_name":"ParasSolanki/github-mcp-server","owner":"ParasSolanki","description":"A model context protocol server for GitHub API","archived":false,"fork":false,"pushed_at":"2025-03-06T15:28:43.000Z","size":121,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T13:16:07.219Z","etag":null,"topics":["modelcontextprotocol","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ParasSolanki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-03T15:36:07.000Z","updated_at":"2025-04-30T01:57:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9f39cc8-1ce7-47c0-9a0f-beb07ef93689","html_url":"https://github.com/ParasSolanki/github-mcp-server","commit_stats":null,"previous_names":["parassolanki/github-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ParasSolanki/github-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fgithub-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fgithub-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fgithub-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fgithub-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ParasSolanki","download_url":"https://codeload.github.com/ParasSolanki/github-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fgithub-mcp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30310050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["modelcontextprotocol","typescript"],"created_at":"2025-03-06T09:53:19.496Z","updated_at":"2026-03-09T20:06:10.178Z","avatar_url":"https://github.com/ParasSolanki.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github MCP Server\n\nA [Model Context Protocol](https://github.com/modelcontextprotocol) Server for Github.\n\nProvides integration with Github through MCP, allowing LLMs to interact with it.\n\n[Github REST Api Docs](https://docs.github.com/en/rest)\n\n## Installation\n\n### Manual Installation\n\n1. Create or get access token for your Github Account: [Guide](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token)\n\n2. Add server config to Claude Desktop:\n\n   - MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json\n   - Windows: [Check this Guide](https://gist.github.com/feveromo/7a340d7795fca1ccd535a5802b976e1f)\n\n```json\n{\n  \"mcpServers\": {\n    \"github\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"github-mcp-server\"],\n      \"env\": {\n        \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"your_personal_github_access_token\"\n      }\n    }\n  }\n}\n```\n\n## Components\n\n### Tools\n\n1.  `search_repositories`: Search GitHub for a repository.\n\n    - Required inputs:\n      - `query` (string): The query to search for repository.\n      - `page` (number, default: 30, max: 100): Page number for pagination.\n      - `per_page` (number, default: 30, max: 100): Number of results per page.\n\n2.  `search_issues`: Search issues from a repository.\n\n    - Required inputs:\n      - `query` (string): The query to search for repository.\n      - `page` (number, default: 1): Page number for pagination.\n      - `per_page` (number, default: 30, max: 100): Number of results per page.\n      - `order` (optional string, default: `desc`): Sort of order (`asc` or `desc`).\n      - `sort` (optional string, default: `best match`): Sort field (can be one of: `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, `interactions`, `created` or `updated`).\n\n3.  `search_commits`: Search commits from a repository.\n\n    - Required inputs:\n      - `query` (string): The query to search for repository.\n      - `page` (number, default: 1): Page number for pagination.\n      - `per_page` (number, default: 30, max: 100): Number of results per page.\n      - `order` (optional string, default: `desc`): Sort of order (`asc` or `desc`).\n      - `sort` (optional string, default: `best match`): Sort field (can be one of: `committer-date` or `author-date`).\n\n4.  `search_code`: Search code from a repository.\n\n    - Required inputs:\n      - `query` (string): The query to search for repository.\n      - `page` (number, default: 1): Page number for pagination.\n      - `per_page` (number, default: 30, max: 100): Number of results per page.\n\n5.  `search_users`: Search users from a repository.\n\n    - Required inputs:\n      - `query` (string): The query to search for repository.\n      - `page` (number, default: 1): Page number for pagination.\n      - `per_page` (number, default: 30, max: 100): Number of results per page.\n      - `order` (optional string, default: `desc`): Sort of order (`asc` or `desc`).\n      - `sort` (optional string, default: `best match`): Sort field (can be one of: `followers`, `repositories` or `joined`).\n\n6.  `search_topics`: Search topics.\n\n    - Required inputs:\n      - `query` (string): The query to search for repository.\n      - `page` (number, default: 1): Page number for pagination.\n      - `per_page` (number, default: 30, max: 100): Number of results per page.\n\n7.  `search_labels`: Search labels in a repository.\n\n    - Required inputs:\n      - `query` (string): The query to search for repository.\n      - `page` (number, default: 1): Page number for pagination.\n      - `per_page` (number, default: 30, max: 100): Number of results per page.\n      - `order` (optional string, default: `desc`): Sort of order (`asc` or `desc`).\n      - `sort` (optional string, default: `best match`): Sort field (can be one of: `created` or `updated`).\n\n8.  `list_repositories_issues`: List issues from a repository.\n\n    - Required inputs:\n      - `owner` (string): The owner of the repository.\n      - `repo` (string): The repository name.\n      - `page` (optional number, default: 1): Page number for pagination.\n      - `per_page` (optional number, default: 30, max: 100): Number of results per page.\n      - `direction` (optional string, default: `desc`): Direction of sort (`asc` or `desc`).\n      - `sort` (optional string, default: `created`): Sort field (can be one of: `created`, `comments` or `updated`).\n      - `since` (optional string): Results last updated after the given time (ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.).\n      - `labels` (optional string): Comma separated label names. Example: bug,ui,@high.\n      - `milestone` (optional string): Milestone number.\n      - `assignee` (optional string): Name of assignee user (`*` for all).\n      - `creator` (optional string): The user that created the issue. (`*` for all).\n      - `mentioned` (optional string): A user that's mentioned in the issue.\n\n9.  `get_issue`: Get an issue from a repository.\n\n    - Required inputs:\n      - `owner` (string): The owner of the repository.\n      - `repo` (string): The repository name.\n      - `issue_number` (number): The issue number.\n\n10. `list_repositories_pull_requests`: List pull requests from a repository.\n\n    - Required inputs:\n      - `owner` (string): The owner of the repository.\n      - `repo` (string): The repository name.\n      - `page` (optional number, default: 1): Page number for pagination.\n      - `per_page` (optional number, default: 30, max: 100): Number of results per page.\n      - `direction` (optional string, default: `desc`): Direction of sort (`asc` or `desc`).\n      - `sort` (optional string, default: `created`): Sort field (can be one of: `created`, `popularity`, `long-running` or `updated`).\n      - `head` (optional string): Filter pulls by head user or head organization and branch name in the format of user:ref-name or organization:ref-name (For example: github:new-script-format or octocat:test-branch).\n      - `base` (optional string): Filter pulls by base branch name. (For example: gh-pages).\n\n11. `get_pull_request`: Get a pull request from a repository.\n    - Required inputs:\n      - `owner` (string): The owner of the repository.\n      - `repo` (string): The repository name.\n      - `pull_request_number` (number): The pull request number.\n\n## Usage examples\n\nSome example prompts you can use to interact with Github:\n\n1. \"modelcontextprotocol\" → execute the `search_repositories` tool to find repositories where modelcontextprotocol mentioned.\n2. \"What is the 739 issue on modelcontextprotocol servers repo\" → execute the `get_issue` tool to find 739 issue from modelcontextprotocol servers repo.\n3. \"What is the 717 PR on modelcontextprotocol servers repo\" → execute the `get_pull_request` tool to find 717 PR from modelcontextprotocol servers repo.\n\n## Development\n\n1. Install dependencies:\n\n```shell\npnpm install\n```\n\n2. Configure Github Access token in `.env`:\n\n```shell\nGITHUB_PERSONAL_ACCESS_TOKEN=\u003cyour_personal_github_access_token\u003e\n```\n\n3. Run locally with watch:\n\n```shell\npnpm dev\n```\n\n4. Build the server:\n\n```shell\npnpm build\n```\n\n5. Local debugging with inspector:\n\n```shell\npnpm inspector\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparassolanki%2Fgithub-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparassolanki%2Fgithub-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparassolanki%2Fgithub-mcp-server/lists"}