auth-tool-cloudbase

Configure CloudBase authentication providers and login methods via MCP tools.

Updated May 14, 2026
One-click install
npx skills add https://github.com/study-yang/Vieb-Coding-- --skill auth-tool-cloudbase-study-yang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-tool-cloudbase
Source: https://github.com/study-yang/Vieb-Coding--/tree/main/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F-%E5%BF%AB%E8%AE%B0/.codebuddy/skills/auth-tool
Command: npx skills add https://github.com/study-yang/Vieb-Coding-- --skill auth-tool-cloudbase-study-yang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up authentication in CloudBase requires enabling the right login providers, retrieving publishable keys, and verifying provider readiness before any client or backend auth code can work. This Skill guides the inspection, enabling, disabling, and configuration of CloudBase auth providers so login flows are built on a verified foundation. ## Core Features & Use Cases - Login Strategy Management: Query and patch login methods (anonymous, username/password, SMS, email) using queryAppAuth and manageAppAuth MCP tools. - Provider Configuration: Set up WeChat, Google, and email/SMTP providers, manage provider lifecycle (add, update, delete), and configure client token settings. - Key & Readiness Management: Retrieve or create publishable keys, manage API keys, and create custom login keys before frontend integration. - Use Case: Before building a Web login page, use this Skill to confirm email login is enabled and the publishable key exists, then route to the auth-web skill for the actual UI implementation. ## Quick Start Check the current CloudBase login configuration and enable email login for my environment before I build the sign-in page.

Frequently Asked Questions about auth-tool-cloudbase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable a login method in CloudBase?

Use manageAppAuth with action patchLoginStrategy and a short patch object, for example {"patch": {"email": true}}. The tool reads the current strategy, merges your change, and writes it back, so you do not need to build a full ModifyLoginConfig payload.

How to get the CloudBase publishable key for Web auth?

Call queryAppAuth with action getPublishableKey to retrieve the existing publish_key, or manageAppAuth with action ensurePublishableKey to create one if none exists. The publishable key is required before writing frontend Web auth code.

What is the difference between the auth tool and queryAppAuth in CloudBase MCP?

The auth tool handles management-side login only, such as status, start_auth, and set_env. queryAppAuth and manageAppAuth handle application-side configuration like login methods, providers, publishable keys, and client settings.

Does CloudBase anonymous login work by default?

No. Anonymous login is disabled by default for new environments, and inactive existing environments have it automatically disabled. Enable it explicitly with patchLoginStrategy only when unauthenticated access is required, noting anonymous users cannot call AI models by default.

When should I not use provider configuration before writing auth code?

Skip provider setup when the required login method and publishable key are already confirmed in an existing project. In that case, return to the active login and register handlers and finish the user flow instead of re-querying provider status.