# Connect LeanCloud to Your AI Agent (Universal MCP)

> Use your AI to manage cloud resources, run deployments, and monitor systems in LeanCloud — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http leancloud https://api.universalmcp.app/mcp/leancloud`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/leancloud` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "leancloud", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: LeanCloud | Category: DevOps & IT/Security (LEAN CLOUD) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Log and metric reads, Database record reads, Deploy approval gate; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=leancloud | Guide: https://universalmcp.app/mcp/leancloud
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across log and metric reads, database record reads, and deploy approval gate. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Log and metric reads (1):** Log and metric reads (write)
- **Database record reads (1):** Database record reads (write)
- **Deploy approval gate (1):** Deploy approval gate (write)

## Example Prompts for LeanCloud
- **Function errors:** "Which LeanCloud cloud functions returned the most errors in the last 6 hours, grouped by version?"
- **Data query:** "Show LeanCloud Order class records created today with status pending for more than 2 hours."
- **SMS delivery:** "Summarize LeanCloud SMS delivery results for the past day, including failed sends and carrier codes."
- **Roll back safely:** "Draft a rollback to version v2.8.3 for LeanCloud and hold it until an admin approves the change."
