Skip to main content
Glama

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."

  1. Upgrade from "System Authorization" to "User Authorization" — Transitioning from "application permission execution" to "user identity execution."

  2. Finer-grained permission control (Scope) — Minimizing permissions and specifying resource and operation scopes.

  3. Short-lived credentials to reduce security risks — Tokens last for 1 day by default, are rotatable, and have limited impact if leaked.

  4. Users can revoke authorization at any time — Permissions change from "non-recoverable" to controllable, revocable, and manageable.

  5. 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.git

Other 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, password xxx

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.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    -
    quality
    D
    maintenance
    Enables 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
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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.
    1
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables 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

View all related MCP servers

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…

View all MCP Connectors

Latest Blog Posts

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