You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Simple MCP Server with GitHub OAuth Authentication
2
+
3
+
This is a simple example of an MCP server with GitHub OAuth authentication. It demonstrates the essential components needed for OAuth integration with just a single tool.
4
+
5
+
This is just an example of a server that uses auth, an official GitHub mcp server is [here](https://github.com/github/github-mcp-server)
6
+
7
+
## Overview
8
+
9
+
This simple demo to show to set up a server with:
10
+
- GitHub OAuth2 authorization flow
11
+
- Single tool: `get_user_profile` to retrieve GitHub user information
12
+
13
+
14
+
## Prerequisites
15
+
16
+
1. Create a GitHub OAuth App:
17
+
- Go to GitHub Settings > Developer settings > OAuth Apps > New OAuth App
18
+
- Application name: Any name (e.g., "Simple MCP Auth Demo")
0 commit comments