Skip to main content
Glama
lark-mcp-server

lark-mcp-server

by YuanZhiTech

Lark MCP Server / 飞书 MCP Server

🇨🇳 The first Chinese MCP Server for Lark/Feishu — let any AI client operate Feishu through MCP protocol. 🇨🇳 首个飞书 MCP Server — 让任何 AI 客户端通过标准 MCP 协议操作飞书。

License: MIT Python MCP

🚀 Quick Start / 快速开始

Install / 安装

# via pip
pip install lark-mcp-server

# or via uvx (no install needed)
uvx lark-mcp-server

Prerequisites / 前提条件

You need lark-cli installed and authenticated:

# Install lark-cli & login
lark-cli auth login

Configure with Claude Desktop / 配置到 Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "lark": {
      "command": "uvx",
      "args": ["lark-mcp-server"]
    }
  }
}

Now Claude can send/receive Feishu messages, list chats, and more! 🤖


Related MCP server: lark-cli-mcp

🛠️ Tools / 工具列表

💬 IM Messages / 消息

Tool

Description

说明

lark_send_message

Send text/markdown to a chat

发送消息到聊天

lark_reply_message

Reply to a message

回复消息

lark_list_chats

List group chats

列出群聊列表

lark_get_chat_members

Get chat member list

获取群成员

lark_list_messages

View chat history

查看聊天历史

lark_send_card

Send interactive card

发送交互卡片

👤 Contacts / 联系人

Tool

Description

说明

lark_get_user_info

Get user information

获取用户信息

📅 Calendar / 日历

Tool

Description

说明

lark_get_agenda

View calendar agenda

查看日程安排


💡 Use Cases / 使用场景

🤖 AI Agent Automates Feishu / Agent 自动处理飞书消息

# Your AI agent can now:
# - Monitor and reply to messages automatically
# - Send batch notifications to group chats
# - Check meeting schedules and notify attendees

📊 Data Integration / 数据集成

# Connect Feishu with other tools via MCP:
# - Read Feishu messages → process with AI → write to database
# - Sync calendar events to your task manager
# - Automate HR onboarding workflows

🔄 Cross-platform Automation / 跨平台自动化

# Feishu + GitHub + Slack = automated workflow
# All connected through standard MCP protocol

📦 Project Structure / 项目结构

lark-mcp-server/
├── pyproject.toml          # Python package config
├── src/lark_mcp_server/
│   ├── server.py           # MCP server entry, tool registration
│   └── client.py           # LarkClient — lark-cli subprocess wrapper
└── tests/
    └── test_client.py      # Integration tests


📄 License

MIT © 2026 Agent Garden

Built by AI Agents, for AI Agents. 🤖 由 AI Agent 构建,为 AI Agent 服务。

Available Tools

8 tools
lark_get_agendaC

查看飞书日程安排

Inputs: end, start, calendar_id. Returns: result

lark_get_chat_membersC

获取群聊成员列表

Inputs: chat_id (required). Returns: result

lark_get_user_infoA

获取飞书用户信息,不传 user_id 查自己

Inputs: user_id. Returns: result

lark_list_chatsB

列出飞书群聊列表

Inputs: page_size, page_token. Returns: result

lark_list_messagesC

查看聊天历史消息

Inputs: chat_id (required), page_size. Returns: result

lark_reply_messageC

回复飞书消息

Inputs: content (required), message_id (required), msg_type, is_thread. Returns: result

lark_send_cardB

发送交互卡片到飞书聊天

Inputs: chat_id (required), card_json (required). Returns: result

lark_send_messageB

发送消息到飞书聊天

Inputs: chat_id (required), content (required), msg_type. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: sending, replying, listing chats, getting members, viewing messages, sending cards, user info, and agenda. While send_message and send_card both send to a chat, their descriptions clearly distinguish text from interactive cards, leaving no ambiguity.

    Naming Consistency5/5

    All tool names follow the same pattern: lark_verb_noun (e.g., lark_send_message, lark_list_chats). The verbs are consistent (send, reply, list, get) and all use snake_case, making the naming uniform and predictable.

    Tool Count5/5

    With 8 tools, the server is well-scoped for a collaboration platform covering messaging, chat management, user info, and agenda reading. Each tool earns its place without being overwhelming or sparse.

    Completeness3/5

    The server covers core messaging workflows (send, reply, list history) and read operations for chats and users, but lacks write operations for chats (create/update/delete), message editing/deletion, and calendar management beyond reading. These gaps could cause agents to hit dead ends when trying to manage resources.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      A tool designed to help users connect AI Agents with the Feishu/Lark platform, encapsulating Feishu/Lark Open Platform API interfaces as MCP tools for document processing, conversation management, calendar scheduling and more.
      30,761 npm
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for Feishu/Lark API integration, enabling AI agents to send messages, manage groups, create and edit documents and spreadsheets, and search knowledge bases.
      MIT