kriasoft/oauth-callback
Lightweight OAuth 2.0 authorization code capture for CLI tools & desktop apps. Works with Node.js, Deno, Bun. MCP SDK ready.
Provides a localhost-only HTTP server that automatically captures OAuth callbacks and exchanges authorization codes, with built-in browser launching via the `open` package. Includes dual APIs—a simple `getAuthCode()` function for direct use and MCP SDK-compatible `browserAuth()` provider with configurable token storage (in-memory or file-based). Supports AbortSignal cancellation, custom HTML templates with placeholder interpolation, and comprehensive error handling across Node.js, Deno, and Bun with zero external dependencies beyond optional `open`.
Used by 2 other packages. Available on npm.
Stars
11
Forks
4
Language
TypeScript
License
MIT
Category
Last pushed
Jan 25, 2026
Commits (30d)
0
Reverse dependents
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/kriasoft/oauth-callback"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related servers
GoogleCloudPlatform/cloud-run-mcp
MCP server to deploy apps to Cloud Run
syyuan14/sh-disney-mcp
sh-disney-mcp 是一个基于 Model Context Protocol (MCP) 的mcp server,旨在通过标准化的接口,帮助大模型快速获取上海迪士尼乐园的门票价格和售卖状态信息
aikts/yandex-tracker-mcp
Yandex Tracker MCP Server with OAuth2 support
hyprmcp/jetski
Authentication, analytics, and prompt visibility for MCP servers with zero code changes....
mcp-auth/js
🔐 Plug-and-play auth for Node.js MCP servers.