Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By MocA-Lovev0.0.1Apache-2.0In 1 marketplace
Lark (Larksuite / Feishu) channel for Claude Code — messaging bridge with built-in access control. Manage pairing, allowlists, and policy via /lark:access.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Connect a Lark bot to your Claude Code with an MCP server.
When the bot receives a message, the MCP server forwards it to Claude and provides tools to reply, react, and edit messages. Supports both Lark (international) and Feishu (China).
If you're an AI assistant helping a user install this plugin, see llms.md for automated installation instructions.
curl -fsSL https://bun.sh/install | bash.Default pairing flow for a single-user DM bot. See ACCESS.md for groups and multi-user setups.
1. Create a Lark application and bot.
Go to the Lark Open Platform (or Feishu Open Platform for China) and click Create Custom App. Give it a name.
Navigate to Features → Bot and enable the bot capability.
2. Configure permissions.
Go to Permissions & Scopes and add the following:
im:message — Read and send direct messages and group chat messagesim:message:readonly — Read direct messages and group chat messagesim:message:send_as_bot — Send messages as an appim:message.group_at_msg:readonly — Obtain group messages mentioning the botim:message.group_msg — Read all messages in group chats (required for fetch_messages in groups)im:message.p2p_msg:readonly — Get direct messages sent to botim:resource — Read and upload images or other filesim:chat — Obtain and update group informationim:chat:readonly — Obtain group informationPublish a version and approve it (self-built apps need tenant admin approval).
3. Enable event subscription.
Go to Events & Callbacks → Event Configuration:
im.message.receive_v1 (Receive messages)No public URL, encryption, or webhook setup needed — the SDK handles everything via WebSocket.
4. Get app credentials.
Go to Credentials & Basic Info. Copy the App ID and App Secret.
5. Install the plugin.
git clone https://github.com/MocA-Love/claude-code-lark.git
claude plugin marketplace add /path/to/claude-code-lark
claude plugin install lark@claude-code-lark
6. Give the server the credentials.
/lark:configure cli_xxxx your_app_secret_here
Writes LARK_APP_ID=... and LARK_APP_SECRET=... to ~/.claude/channels/lark/.env.
7. Relaunch with the channel flag.
Exit your session and start a new one:
claude --dangerously-load-development-channels plugin:lark@claude-code-lark
8. Pair.
With Claude Code running, DM your bot on Lark — it replies with a pairing code. In your Claude Code session:
/lark:access pair <code>
Your next DM reaches the assistant.
9. Lock it down.
Pairing is for capturing IDs. Once you're in, switch to allowlist:
/lark:access policy allowlist
For Feishu instead of Lark, set the domain:
/lark:configure domain open.feishu.cn
This changes the API base URL from open.larksuite.com to open.feishu.cn.
See ACCESS.md for DM policies, group chats, mention detection, delivery config, skill commands, and the access.json schema.
Quick reference: IDs are Lark open_id values (e.g., ou_xxxx) for users and chat_id values (e.g., oc_xxxx) for chats. Default policy is pairing. Group chats are opt-in per chat_id.
| Tool | Purpose |
|---|---|
reply | Send to a chat. Takes chat_id + text, optionally reply_to (message_id) for threading and files (absolute paths) for attachments. Images send as Lark image messages; other files as documents. Auto-chunks; returns sent message ID(s). |
react | Add an emoji reaction to any message by ID. Use Lark emoji type names (THUMBSUP, HEART, SMILE, etc). |
edit_message | Edit a message the bot previously sent. Only works on the bot's own messages. |
fetch_messages | Pull recent history from a chat (oldest-first). Max 50 per call. Each line includes the message ID. |
download_attachment | Download image or file from a specific message by ID to ~/.claude/channels/lark/inbox/. Returns file paths + metadata. |
All set in ~/.claude/channels/lark/.env:
| Variable | Required | Description |
|---|---|---|
LARK_APP_ID | Yes | App ID from Developer Console (starts with cli_) |
LARK_APP_SECRET | Yes | App Secret from Developer Console |
LARK_DOMAIN | No | API domain. Default: open.larksuite.com. Use open.feishu.cn for Feishu. |
LARK_ACCESS_MODE | No | Set to static to freeze access config at boot. |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub moca-love/claude-code-lark --plugin larkPlugins from other owners that cover similar ground