mcp_oauth_server_web
This project implements a Streamable HTTP MCP Server with browser-based OAuth for GitHub.
The Streamable HTTP MCP Server is designed to facilitate client authorization through GitHub's OAuth, enabling secure and efficient handling of client requests. The server verifies access tokens and manages transport connections based on session IDs. It supports authorization through specific endpoints, utilizing a custom OAuthServerProvider to interact with GitHub's OAuth system. The server generates PKCE verifiers and challenges, redirects clients to GitHub for authorization, and manages access tokens to ensure secure communication.
Features
- Streamable HTTP Server for efficient client request handling.
- Browser-based client authorization using GitHub's OAuth.
- Custom OAuthServerProvider for managing GitHub OAuth interactions.
- Session-based transport connection management.
- Secure access token verification and management.
Usage with Different Platforms
Node.js
bash
# Clone the repository
git clone <repository-url>
# Navigate to the project directory
cd <project-directory>
# Install dependencies
npm install
# Set environment variables for GitHub OAuth
export GITHUB_CLIENT_ID=<your-client-id>
export GITHUB_CLIENT_SECRET=<your-client-secret>
# Start the MCP Server
npx tsx server/index_streamable.ts
Related MCP Servers
View all browser_automation servers →Fetch
by modelcontextprotocol
A Model Context Protocol server that provides web content fetching capabilities, enabling LLMs to retrieve and process content from web pages.
markdownify-mcp
by zcaceres
Markdownify is a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format.
mcp-playwright
by executeautomation
A Model Context Protocol server that provides browser automation capabilities using Playwright.
playwright-mcp
by microsoft
Playwright MCP is a Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots.
mcp-server-weibo
by Selenium39
The Weibo MCP Server (TypeScript Version) is designed for scraping Weibo user information, feeds, and search functionality using the Model Context Protocol.
web-eval-agent
by Operative-Sh
operative.sh's MCP Server is a tool for autonomous debugging of web applications directly from your code editor.
browser-tools-mcp
by AgentDeskAI
BrowserTools MCP is a browser monitoring and interaction tool that enhances AI applications by capturing and analyzing browser data through a Chrome extension.