CLI Index CLI Index
← Back

Lark CLI

Official MCP

Official CLI for Lark/Feishu — manage messages, docs, calendars, spreadsheets, and email from the terminal

Agent Support
4/5
Platforms
macoslinuxwindows
Authentication

Login required — Run lark-cli config init to set up an app, then lark-cli auth login to authenticate

Agent Usage Example

shell
lark-cli message search --query 'weekly report' --limit 5

Installation

npm i -g @larksuite/cli

Lark CLI is the official command-line tool for the Lark (Feishu) workplace platform. It gives AI agents operational access to a broad range of Lark services — messages, cloud documents, spreadsheets, Bitable, calendars, email, tasks, knowledge bases, and directory lookups — turning agents from text generators into workplace operators.

The CLI covers an extensive capability surface: agents can search and send messages, create and edit cloud docs, read and write spreadsheet cells, manage Bitable records and automations, check calendar availability, create meetings, draft and send emails, manage tasks with subtasks, and query the organizational directory. Each domain exposes structured output that agents can parse and chain into multi-step workflows.

Setup requires two steps: lark-cli config init creates an application context, then lark-cli auth login authenticates with personal credentials to access user-scoped data. Use lark-cli auth check to verify current permissions and lark-cli schema to quickly query interface details for any command.

Related Tools