Sakshidwivedi017/mcp_server
If you are the rightful owner of mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP GitHub API Server is designed to interact with the GitHub API, allowing users to fetch repositories and commits efficiently.
The MCP GitHub API Server is a specialized server that leverages the Model Context Protocol (MCP) to interact with the GitHub API. This server is designed to facilitate the retrieval of user repositories and their respective commits, providing a streamlined and efficient way to access GitHub data. By utilizing MCP, the server ensures a structured and consistent approach to data handling, making it easier for developers to integrate GitHub functionalities into their applications. The server is particularly useful for developers who need to programmatically access GitHub data for analysis, reporting, or integration into other systems. With its focus on simplicity and efficiency, the MCP GitHub API Server is an essential tool for developers working with GitHub data.
Features
- Fetch user repositories from GitHub
- Retrieve commits of a specific repository
Usages
usage with local integration stdio
python mcp.run(transport='stdio') # Tools defined via @mcp.tool() decorator
usage with local integration ide plugin
{ "mcpServers": { "github-api": { "command": "python", "args": ["github_api_server.py"] } } }
usage with remote integration sse
python mcp.run(transport='sse', host="0.0.0.0", port=8000) # Specify SSE endpoint
usage with remote integration streamable http
yaml paths: /mcp: post: x-ms-agentic-protocol: mcp-streamable-1.0 # Copilot Studio integration
usage with platform integration github
{"command": "docker", "args": ["run", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"]}