{"id":27928542,"url":"https://github.com/sami-07/custom-github-mcp-server","last_synced_at":"2026-05-09T04:31:17.561Z","repository":{"id":291429756,"uuid":"977597300","full_name":"Sami-07/custom-github-mcp-server","owner":"Sami-07","description":"A Simple custom-built MCP server that provides GitHub integration features through various tools and resources.","archived":false,"fork":false,"pushed_at":"2025-05-04T15:17:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T16:26:57.796Z","etag":null,"topics":["claude","github","llm","mcp","mcp-server"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Sami-07.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}},"created_at":"2025-05-04T15:13:43.000Z","updated_at":"2025-05-04T15:20:29.000Z","dependencies_parsed_at":"2025-05-04T16:37:08.461Z","dependency_job_id":null,"html_url":"https://github.com/Sami-07/custom-github-mcp-server","commit_stats":null,"previous_names":["sami-07/custom-github-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sami-07%2Fcustom-github-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sami-07%2Fcustom-github-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sami-07%2Fcustom-github-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sami-07%2Fcustom-github-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sami-07","download_url":"https://codeload.github.com/Sami-07/custom-github-mcp-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252802346,"owners_count":21806479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["claude","github","llm","mcp","mcp-server"],"created_at":"2025-05-07T02:40:39.434Z","updated_at":"2026-05-09T04:31:17.487Z","avatar_url":"https://github.com/Sami-07.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub MCP Server\n\nA Simple custom-built MCP server that provides GitHub integration features through various tools and resources.\n\n\n## Demo\n\nhttps://github.com/user-attachments/assets/63b92a95-56f3-4290-9c73-acc4ad407246\n\n## Features\n\n- Get user information and profile details\n- List user repositories and followers\n- Get repository issues\n- Create new issues\n- Get commit statuses\n- Get owner information\n- Resource-based access to GitHub data\n\n## Setup\n\n1. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n2. Create a `.env` file in the project root and add your GitHub token:\n```\nGITHUB_TOKEN=your_github_token_here\n```\n\nYou can create a GitHub token at: https://github.com/settings/personal-access-tokens with the following permissions:\n- `repo` (Full control of private repositories)\n- `read:user` (Read user profile data)\n- `user:follow` (Follow and unfollow users)\n\n## Available Tools\n\n- `owner_info()`: Get information about the authenticated GitHub user\n- `get_user_info(username)`: Get information about a GitHub user\n- `list_followers(username, limit=10)`: List followers for a GitHub user\n- `list_repositories(username, limit=5)`: List repositories for a GitHub user\n- `get_repo_issues(owner, repo, state=\"open\")`: Get issues for a repository\n- `create_issue(owner, repo, title, body, labels=None)`: Create a new issue\n- `get_commit_statuses(owner, repo, sha)`: Get commit statuses for a specific commit SHA\n\n## Available Resources\n\n- `github://user/{username}`: Get a user's GitHub profile\n- `github://followers/{username}`: List a user's followers\n- `github://repos/{username}`: List a user's repositories\n- `github://issues/{owner}/{repo}`: Get issues for a repository\n- `github://commit-status/{owner}/{repo}/{sha}`: Get commit statuses for a specific commit\n\n## Running the Server\n\n```bash\npython server.py\n```\n\n## Example Usage\n\n```python\n# Get authenticated user information\nuser_info = owner_info()\n\n# Get user information\nuser_info = get_user_info(\"octocat\")\n\n# List followers\nfollowers = list_followers(\"octocat\", limit=5)\n\n# List repositories\nrepos = list_repositories(\"octocat\", limit=3)\n\n# Get repository issues\nissues = get_repo_issues(\"octocat\", \"Hello-World\")\n\n# Create a new issue\nnew_issue = create_issue(\n    \"octocat\",\n    \"Hello-World\",\n    \"Bug Report\",\n    \"Found a bug in the code\",\n    labels=[\"bug\"]\n)\n\n# Get commit statuses\nstatuses = get_commit_statuses(\"octocat\", \"Hello-World\", \"abc123\")\n```\n\n## Response Format Examples\n\n### User Information\n```json\n{\n    \"name\": \"The Octocat\",\n    \"login\": \"octocat\",\n    \"bio\": \"GitHub's mascot\",\n    \"public_repos\": 8,\n    \"followers\": 1000,\n    \"following\": 9\n}\n```\n\n### Repository Information\n```json\n{\n    \"name\": \"Hello-World\",\n    \"description\": \"My first repository\",\n    \"stars\": 100,\n    \"forks\": 50,\n    \"language\": \"Python\"\n}\n```\n\n### Issue Information\n```json\n{\n    \"number\": 1,\n    \"title\": \"Bug Report\",\n    \"state\": \"open\",\n    \"created_at\": \"2024-05-04T14:35:40.784Z\",\n    \"user\": \"octocat\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsami-07%2Fcustom-github-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsami-07%2Fcustom-github-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsami-07%2Fcustom-github-mcp-server/lists"}