fix-hermes-notion-mcp-oauth-callback-race-windows
CommunityStop OAuth callback races on Windows
Software Engineering#race condition#hermes#redirect uri#notion mcp#oauth callback#windows debugging#token persistence
AuthorPans0020
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill resolves a Windows OAuth callback race where Hermes reports a successful authorization in the browser but still times out or fails to persist the Notion MCP OAuth token, causing repeated authorization prompts.
Core Features & Use Cases
- Diagnoses callback listener timing issues: Identifies whether the local callback server is not listening on 127.0.0.1:<port>/callback when Notion redirects back.
- Guides code-level remediation: Implements the correct operational order by binding the callback server before opening the browser, then using the bound redirect URI for the OAuth request.
- Provides Windows-specific mitigation and verification: Reduces repro failure rate by managing consent tabs and verifying token persistence via the Hermes token directory, not just browser status.
- Use Case: When testing
hermes mcp test notionon Windows, you can eliminate “Authorization Successful”-but-not-connected behavior so tool discovery and Notion data access work reliably across runs.
Quick Start
Run the Notion MCP OAuth test on Windows and use the recommended callback-first flow to ensure the redirect URI matches the bound local port and the token is persisted before the command times out.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fix-hermes-notion-mcp-oauth-callback-race-windows Download link: https://github.com/Pans0020/opencode-skills/archive/main.zip#fix-hermes-notion-mcp-oauth-callback-race-windows Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.