MCP-Inspector-v0.6.0
GitHub MCP Server
A Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.
Features
- Repository Search: Find GitHub repositories based on search queries
- Issue Management: Get, create, and comment on issues
- Pull Request Handling: View and manage pull requests
- Repository Analysis: Get statistics and insights about repositories
Installation
Prerequisites
- Python 3.8+
- GitHub API token
Steps
Clone this repository:
git clone https://github.com/yourusername/github-mcp-server.git cd github-mcp-serverInstall dependencies:
pip install -r requirements.txtSet up your GitHub token as an environment variable:
export GITHUB_TOKEN=your_github_token_hereRun the server:
python server.py
The server will start running on http://localhost:5000.
Usage
Endpoints
The MCP server provides the following endpoints:
- GET /mcp/discover: Returns available operations and their parameters
- POST /mcp/execute: Executes operations based on provided parameters
Example Requests
Discovery
curl -X GET http://localhost:5000/mcp/discover
Execute Repository Search
curl -X POST http://localhost:5000/mcp/execute
-H "Content-Type: application/json"
-d '{
"endpoint": "search_repositories",
"parameters": {
"query": "machine learning"
}
}'
Get Repository Issues
curl -X POST http://localhost:5000/mcp/execute
-H "Content-Type: application/json"
-d '{
"endpoint": "get_repo_issues",
"parameters": {
"owner": "openai",
"repo": "whisper"
}
}'
Architecture
The server follows the Model Context Protocol specification to allow AI assistants to:
- Discover available operations
- Execute operations with appropriate parameters
- Process and return results in a structured format
Extending the Server
You can extend this server by:
- Adding new endpoints in the
discover()function - Implementing corresponding handler functions
- Updating the routing in the
execute()function
Security Considerations
- The server uses an API token for authentication with GitHub
- Implement rate limiting to prevent abuse
- Add input validation for all parameters
- Consider implementing OAuth for more secure token management
Demo
See the demo video for a walkthrough of the server’s capabilities.
License
MIT License
Contact
For questions or support, please open an issue on this repository.
GitHub MCP Server
Project Details
- Jehan26/MCP-Inspector-v0.6.0
- Last Updated: 3/16/2025
Recomended MCP Servers
A powerful Neovim plugin for managing MCP (Model Context Protocol) servers
A Model Context Protocol (MCP) server that provides web search functionality using Perplexity AI's API.
A FastMCP-based server that provides seamless integration with Confluence's REST API, enabling programmatic access to Confluence spaces, pages,...
A Model Context Protocol (MCP) server that enables Claude Desktop to generate images using Google's Gemini AI
FRED (Federal Reserve Economic Data) API integration with Model Context Protocol (MCP)
MCP implementation of Claude Code capabilities and more
An MCP server implementation that provides tools for interacting with the [Telegram Bot API](https://core.telegram.org/bots/api).
An MCP server to use the LinkedIn API.
MCP Advisor & Installation - Use the right MCP server for your needs
An MCP server for retrieving papers from arXiv based on keywords
Template to quickly set up your own MCP server





