MCP-Github-Oauth
This document provides a guide to setting up a Model Context Protocol (MCP) server environment, specifically for integrating with the Claude desktop app and debugging using the MCP Inspector.
Development
Set up your environment
First, let’s install uv and set up our Python project and environment:
MacOS/Linux : curl -LsSf https://astral.sh/uv/install.sh | sh
Windows : powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Make sure to restart your terminal afterwards to ensure that the uv command gets picked up.
Now, let’s create and set up our project:
Running to local claude desktop app
- Make sure you need to update claude_desktop_config.json to register tool
you can find claude_desktop_config.json :
For Windows : code $env:AppData\Claude\claude_desktop_config.json
For Mac/Linux :code ~/Library/Application\ Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"Github-Oauth": {
"command": "C:\\Users\\Hp\\.local\\bin\\uv",
"args": [
"--directory",
"C:\\Users\\Hp\\Github-Oauth\\src\\github_oauth",
"run",
"server.py"
]
}
}
}
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with this command:
npx @modelcontextprotocol/inspector uv --directory C:\Users\Hp\Github-Oauth run github-oauth
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Related MCP Servers
View all python servers →mcp-server-template
by narumiruna
The MCP Server Template is a foundational framework designed to facilitate the development and deployment of model context protocol servers, leveraging LLM and MCP technologies.
mcp-server-examples
by kyungseok-lee
This project includes examples of Model Context Protocol (MCP) servers, implementing functionalities like BMI calculation and weather information retrieval.
benchmark-proxy-mcp
by zengzhuozhen
The benchmark-proxy is an MCP server designed to facilitate the benchmarking of model context protocols, providing a robust environment for testing and evaluation.
binoculo-mcp
by girorme
BinoculoMCP is a Message Control Protocol (MCP) Server designed to interact with the Binoculo tool for banner-grabbing operations.
mcp-testing
by marhoy
This document provides an overview and usage instructions for a Model Context Protocol (MCP) server, which facilitates communication between models and clients using the MCP technology.