Model Context Protocol (MCP) Server + Github OAuth
@saurabhp75
About Model Context Protocol (MCP) Server + Github OAuth
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"math": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp-github-oauth.<your-subdomain>.workers.dev/sse"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Model Context Protocol (MCP) Server + Github OAuth?
This is a Model Context Protocol (MCP) server that supports remote MCP connections with built-in GitHub OAuth. It is designed for developers who want to deploy a remote MCP server on Cloudflare Workers, allowing users to sign in with their GitHub account.
How to use Model Context Protocol (MCP) Server + Github OAuth?
Clone the repository, install dependencies with npm install, create a GitHub OAuth App, set secrets via wrangler secret put, create a KV namespace, and deploy with wrangler deploy. Connect via Inspector (npx @modelcontextprotocol/inspector) or configure Claude Desktop using mcp-remote command.
Key features of Model Context Protocol (MCP) Server + Github OAuth
- Remote MCP connections over SSE
- GitHub OAuth authentication for users
- Deployed on Cloudflare Workers
- Acts as both OAuth server and client
- Persistent state via Durable Objects and KV
- Role-based access control per tool
Use cases of Model Context Protocol (MCP) Server + Github OAuth
- Deploy a remote MCP server with GitHub login
- Build a reference for integrating other OAuth providers
- Restrict image generation tools to specific GitHub users
- Connect MCP clients like Claude Desktop and Cursor
- Serve tools to authenticated users without local setup
FAQ from Model Context Protocol (MCP) Server + Github OAuth
What runtime and infrastructure does this server require?
It runs on Cloudflare Workers and requires Workers KV, Durable Objects, and a Cloudflare account.
How does authentication work?
The server uses the workers-oauth-provider library to handle GitHub OAuth. It authenticates MCP clients via OAuth 2.1 and securely stores tokens in KV storage.
Can I restrict which users can access specific tools?
Yes. The "generateImage" tool is restricted to GitHub usernames listed in the ALLOWED_USERNAMES configuration variable.
How do I connect this server to Claude Desktop?
Add a configuration entry in Claude Desktop using npx mcp-remote https://<your-domain>/sse as the command and args.
What are the main dependencies of this server?
It uses the workers-oauth-provider, Durable MCP, and MCP Remote libraries, all built on Cloudflare Workers.
Frequently asked questions
What runtime and infrastructure does this server require?
It runs on Cloudflare Workers and requires Workers KV, Durable Objects, and a Cloudflare account.
How does authentication work?
The server uses the `workers-oauth-provider` library to handle GitHub OAuth. It authenticates MCP clients via OAuth 2.1 and securely stores tokens in KV storage.
Can I restrict which users can access specific tools?
Yes. The "generateImage" tool is restricted to GitHub usernames listed in the `ALLOWED_USERNAMES` configuration variable.
How do I connect this server to Claude Desktop?
Add a configuration entry in Claude Desktop using `npx mcp-remote https://<your-domain>/sse` as the command and args.
What are the main dependencies of this server?
It uses the `workers-oauth-provider`, Durable MCP, and MCP Remote libraries, all built on Cloudflare Workers.
Basic information
More Developer Tools MCP servers
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor β designed for Cursor, Claude Code, Codex, Windsurf and other IDEs

Reelier
Maxime HouleAgents make claims. Reelier writes receipts β record an agent's tool-call workflow once, replay it deterministically at 0 tokens, and diff runs to catch drift.

Air Pipe
airpipeBuild, validate, deploy β HTTP APIs, cron jobs, webhooks and MCP tools β from your AI client.
DevDocs by CyberAGI π
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
AptiBuild AI β Career Intelligence
ParklandBuildsAptiBuild AI MCP Server β career, labor market, and business idea intelligence for AI agents. 11 tools covering real-time FRED labor market signals, BLS wage data (126 occupations), AI-generated app ideas, career paths,
Comments