MangoApps CLI
AI-powered workforce management from your terminal. Chat with Claude, execute 475+ tools, manage users, and deploy — all without leaving the command line.
Powered by AI
Everything You Need in the Terminal
AI Chat
Talk to Claude with 475+ MCP tools connected to your workspace. Ask questions, look up data, and execute actions — all in natural language.
Raw API Access
Make authenticated API calls directly. `mango api GET /shifts` with auto-retry, pagination, and JSON output for piping.
User & Token Management
List users, create API tokens, manage profiles, and switch between environments. Built for admins and developers.
One-Click Deploy
Trigger QA, staging, and production deployments. Check deployed versions and stream logs — no browser needed.
Get Started in 60 Seconds
Install
<code>curl -fsSL https://workforce.mangoapps.com/cli/install.sh | bash</code><br>Or: <code>npm i -g @mangoapps/cli</code>
Login
<code>mango login</code><br>Opens your browser for secure authentication. No passwords in the terminal.
Chat
<code>mango chat</code><br>Start an AI conversation. Ask anything about shifts, leave, attendance, and more.
AI Chat with 475+ Workforce Tools
- Streaming responses with markdown rendering
- Automatic tool discovery via find_tools
- Write protection — confirms before modifying data
- Conversation history with /clear and /resume
Browser-Based Secure Login
- Device code flow (RFC 8628)
- SSO, Google, and 2FA supported
- Token stored securely (0600 permissions)
- Fallback: --token flag for CI/CD pipelines
Multi-Environment Profiles
- Named profiles: mango config profiles switch staging
- Environment variable override: MANGO_PROFILE=qa
- Automatic URL resolution per environment
- Token masking in config display
Command Reference
18 commands across chat, API, admin, and deployment workflows.
Chat & AI
mango chat — interactive AI session. mango ask "question" — one-shot query. mango tools list — browse 475+ MCP tools. mango tools call — execute a tool directly.
API & Data
mango api GET /shifts — raw API calls with auth. mango api POST — create resources with JSON body. mango users list — filter by role. mango users show me — your profile.
Admin & Config
mango tokens create — generate API tokens with scoped permissions. mango config — view current settings. mango config profiles — manage named environment profiles.
Deploy
mango deploy versions — check what is live. mango deploy qa — trigger QA deployment. mango deploy staging — promote to staging. mango deploy list — available images.
Let's Talk
For 15+ years, we've perfected our product, earning the trust of 1 million+ users and an NPS of 78.
Why Choose Us?
- AI-Powered Platform: The most unified workforce experience on the planet.
- Top Security: HITRUST, ISO & SOC 2 certified.
- Exceptional UX: Delightful on mobile and desktop.
- Proven Results: 98% customer retention rate.
Trusted by Legendary Companies: