hap-oauth-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hap-oauth-mcprefresh my Mingdao login credentials"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Generate HAP Personal Authorization MCP
Helps you obtain and update HAP personal authorization MCP configurations without manual OAuth processes.
Before the official launch of the HAP AI Connect feature (which will allow users to more easily connect HAP Skills, MCPs, and CLI with various AI tools), you can use this Skill to obtain/update your personal MCP and experience the value of HAP API (personal authorization) MCP.
What is HAP Personal Authorization
HAP provides a standard OAuth 2.0 authorization mechanism that allows users to authorize third-party applications to securely access or operate data in HAP as the user themselves. This is not only an upgrade in authorization methods but also key infrastructure for HAP's transition from "system capability opening" to "user-level capability opening."
Upgrade from "System Authorization" to "User Authorization" — Transitioning from "application permission execution" to "user identity execution."
Finer-grained permission control (Scope) — Minimizing permissions and specifying resource and operation scopes.
Short-lived credentials to reduce security risks — Tokens last for 1 day by default, are rotatable, and have limited impact if leaked.
Users can revoke authorization at any time — Permissions change from "non-recoverable" to controllable, revocable, and manageable.
Every call has a clear identity attribution — Supports auditing, compliance tracking, and user behavior analysis.
Related MCP server: RednoteMCP
User Guide
For detailed steps, see: Personal Permission MCP User Guide
What You Need to Prepare
Only your HAP account and password (email or mobile number login).
Install Skill
Claude Code
claude skill add --name hap-oauth-mcp https://github.com/garfield-bb/hap-oauth-mcp.gitOther AI Tools (Natural Language Installation)
Simply say in the chat:
Help me install this skill: https://github.com/garfield-bb/hap-oauth-mcp.git
How to Use
After installation, simply tell the AI:
Help me configure HAP personal MCP, account
your@email.com, passwordxxx
The AI will automatically complete the login, OAuth authorization, and token retrieval, finally returning a configuration JSON that can be pasted directly into your MCP client:
{
"HAP Personal MCP": {
"url": "https://api2.mingdao.com/mcp?Authorization=Bearer <your_token>"
}
}If it is your first time authorizing, the AI will guide you to complete an OAuth confirmation in the browser. Subsequent token refreshes will not require further action.
Security Notice
All code is executed locally, and account passwords will not pass through any third-party services. Technical path: Local calls to the HAP login interface (using the same RSA encryption as the web version), followed by obtaining and refreshing tokens through the official OAuth integration interface.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables automated GitHub login through browser automation using Playwright. Provides MCP tools for programmatic authentication to GitHub accounts with credential management.1
- Flicense-qualityDmaintenanceEnables automated interaction with Xiaohongshu (Little Red Book) to search for notes, retrieve content or comments, and post targeted smart comments. It utilizes Playwright to manage browser-based tasks such as secure login and automated engagement.120
- Alicense-qualityDmaintenanceEnables AI agents to automatically publish photo notes to Xiaohongshu (RedNote) using Playwright browser automation. It supports title, body, and image uploads while maintaining persistent login sessions for seamless automated posting.1MIT
- Flicense-qualityDmaintenanceEnables automated Douyin video uploads and account management using Playwright for browser simulation. It supports QR code login, cookie persistence, and automated metadata handling for publishing videos through natural language or API commands.6
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/garfield-bb/hap-oauth-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server