lark-cli-mcp
This MCP server lets you operate Feishu/Lark as your own user identity (not a bot), providing tools for messaging, document management, and Bitable operations.
Messaging (IM)
Send text or Markdown messages to group chats or individual users
Read recent message history from group chats or private conversations
Reply to specific messages, with optional thread support
Search messages across chats by keyword, with optional time range and group filters
List and search group chats by keyword to retrieve
chat_idFind users by name or email to get their
open_idView full thread discussions for a given message
Docs, Wiki, and Drive
Search documents, Wiki pages, and sheets
Read, create, and update documents (Markdown)
Search Drive files with type filters
List and retrieve Wiki nodes (supports URL)
Bitable (multi-dimensional tables)
List tables and fields within a Bitable base
List, filter, sort, and search records
Create or update records (upsert)
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lark-cli-mcpshow recent messages in the project group"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@yoreland/lark-cli-mcp
One-line
npxMCP server that lets AI clients (Amazon Quick Desktop, Claude Desktop, …) operate Feishu / Lark as your own user identity — send, read, reply, and search messages.
It wraps the official lark-cli (bundled as a dependency, no separate install) and exposes 19 tools over MCP stdio — messaging, cloud docs, Wiki, Drive, and Bitable. Because every call runs with --as user, the sender/creator shown in Feishu is you, not a bot.
Quick start (for workshop attendees)
1) One-time login (in a terminal)
# Bind the shared Feishu app (scan the QR code)
npx -y @yoreland/lark-cli-mcp -- config init --new
# OAuth device-flow login as yourself
npx -y @yoreland/lark-cli-mcp auth
# Sanity check (should report logged-in)
npx -y @yoreland/lark-cli-mcp doctor2) Add the MCP server in Amazon Quick Desktop
Go to Settings → Capabilities → MCP → + Add MCP:

In the dialog, use Paste JSON config and paste:
{
"command": "npx",
"args": ["-y", "@yoreland/lark-cli-mcp"]
}
Click Apply → Save. The server should show 19 tools · Connected ✅
Manual form instead of JSON? Connection type =
Local, Command =npx, Arguments =-y @yoreland/lark-cli-mcp. Arguments are space-split (no spaces inside the package name, so this is safe).
3) (Recommended) Add the skill
Settings → Capabilities → Skills → Upload, then select skill/feishu-lark/SKILL.md. Toggle it Active.

The skill teaches Quick when and how to use the 19 tools (resolve chat_id/open_id first, confirm before sending, Bitable field handling, etc.) — the MCP provides the tools, the skill makes Quick use them well.
4) Try it
"看看 XX 群最近聊了什么"
"帮我找一下某人"
"搜一下我的飞书文档里有没有 …"
"列一下这个多维表格 <URL> 的记录"
Related MCP server: Lark MCP
Prerequisites
Node.js v18+ (
node -v)An MCP client (Amazon Quick Desktop / Claude Desktop / etc.)
A Feishu/Lark account in the org running the workshop
Network access to npm registry and Feishu OAuth
The Feishu App ID / Secret is provided centrally by the workshop host and baked into the shared lark-cli config — attendees only do the OAuth login step. (See Host setup.)
Behind the Great Firewall? Use a mirror:
npm config set registry https://registry.npmmirror.com
Commands
npx -y @yoreland/lark-cli-mcp # start MCP server (stdio) — what the client runs
npx -y @yoreland/lark-cli-mcp auth # OAuth device-flow login (user identity)
npx -y @yoreland/lark-cli-mcp status # show auth status
npx -y @yoreland/lark-cli-mcp logout # clear token
npx -y @yoreland/lark-cli-mcp doctor # environment + login self-check
npx -y @yoreland/lark-cli-mcp -- <args> # passthrough to bundled lark-cliThe tools
Messaging (IM)
Tool | What it does |
| Send a message |
| Read recent messages |
| Reply (thread optional) |
| Search messages |
| Find group chats |
| Find a user (→ open_id) |
| View a thread |
Docs / Wiki / Drive
Tool | What it does |
| Search docs / wiki / sheets |
| Read a document |
| Create a document (markdown) |
| Update a document |
| Search Drive files (type filters) |
| List wiki nodes |
| Get a wiki node (accepts URL) |
Bitable (multi-dimensional tables)
Tool | What it does |
| List tables in a base |
| List fields of a table |
| List records (filter/sort) |
| Search records |
| Create/update a record |
Talk to it naturally
Goal | Say to your assistant |
Read a group | "看看 XX 群最近聊了什么" |
Send | "在 XX 群说:明天会议改到 3 点" |
Reply | "回复那条消息:收到,我来跟进" |
Search | "搜一下谁提过客户报价" |
Find someone | "帮我找一下张三的 open_id" |
View a thread | "看看那条消息下面的讨论" |
Host setup
The workshop host creates one Feishu custom app and configures it so attendees share the same App ID/Secret but each authorize their own account.
Feishu Open Platform → create an internal custom app → note App ID / App Secret.
Enable User token scopes matching the
im,contact,searchdomains (message read/write, reply, chat read, user search, message search).Distribute the App ID/Secret to attendees via
lark-cli config(or a pre-bound config). The login step requests scopes via--domain im,contact,docs,wiki,drive,base.
auth uses OAuth Device Flow, so no redirect URL / localhost:3000 callback configuration is required.
Troubleshooting
missing required scope(s) — re-login with the needed domain:
npx -y @yoreland/lark-cli-mcp auth --domain im,contact,docs,wiki,drive,baseClient shows "No tools loaded" — run npx -y @yoreland/lark-cli-mcp doctor; confirm Node ≥18 and that auth status is OK.
Token expired — just re-run auth.
Known limitations
No image/file attachment sending (text + markdown only)
No interactive cards
No group creation
Tokens expire; re-run
authwhen they do
How it works
MCP client (Quick Desktop / Claude Desktop)
│ stdio (MCP / JSON-RPC)
▼
@yoreland/lark-cli-mcp (server.mjs)
│ child_process.execFile (no shell → injection-safe)
▼
lark-cli --as user (bundled dependency)
│ OAuth user_access_token (device flow)
▼
Feishu / Lark Open APILicense
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/yoreland/lark-cli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server