Skip to main content
Glama

Feishu MCP Server

让AI读取飞书文档、发送消息、管理日历

✨ 特性

  • 📄 文档读取 — 获取文档内容和元信息,搜索文档

  • 💬 消息管理 — 查看群聊消息,发送消息(需关闭只读)

  • 📅 日历查询 — 查看日历和日程

  • 📊 电子表格 — 读取表格数据

  • 🔒 安全优先 — 默认只读,消息发送可限制群聊白名单

  • 🇨🇳 中文优先 — 面向国内飞书用户

Related MCP server: Feishu/Lark OpenAPI MCP

🚀 快速开始

1. 创建飞书应用

  1. 访问 飞书开放平台

  2. 创建企业自建应用

  3. 获取 App ID 和 App Secret

  4. 添加权限:文档读取、消息读写、日历读取、表格读取

2. 配置MCP

{
  "mcpServers": {
    "feishu": {
      "command": "python",
      "args": ["-m", "feishu_mcp_server"],
      "env": {
        "FEISHU_MCP_APP_ID": "your_app_id",
        "FEISHU_MCP_APP_SECRET": "your_app_secret",
        "FEISHU_MCP_READ_ONLY": "true"
      }
    }
  }
}

🛠️ 工具列表

工具

功能

安全级别

get_doc_content

获取文档内容

🟢 只读

get_doc_meta

获取文档元信息

🟢 只读

search_docs

搜索文档

🟢 只读

list_chat_messages

获取群聊消息

🟢 只读

send_message

发送消息

🔴 需关闭只读

list_calendars

获取日历列表

🟢 只读

list_calendar_events

获取日程

🟢 只读

list_sheets

获取Sheet列表

🟢 只读

get_sheet_values

获取表格数据

🟢 只读

📄 License

MIT License

Available Tools

9 tools
get_doc_contentA

获取飞书文档的原始内容

Inputs: document_id (required). Returns: result

get_doc_metaA

获取飞书文档的元信息(标题、所有者等)

Inputs: document_id (required). Returns: result

get_sheet_valuesC

获取飞书电子表格的数据

Inputs: spreadsheet_token (required), range_ (required). Returns: result

list_calendar_eventsB

获取飞书日历的日程列表

Inputs: calendar_id (required), start_time (required), end_time (required). Returns: result

list_calendarsB

获取飞书日历列表

Inputs: page_size. Returns: result

list_chat_messagesC

获取飞书群聊的消息列表

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

list_sheetsA

获取飞书电子表格的Sheet列表

Inputs: spreadsheet_token (required). Returns: result

search_docsC

搜索飞书文档

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

send_messageA

发送消息到飞书群聊(需要关闭只读模式)

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

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: documents (get content, get meta, search), sheets (list sheets, get values), calendars (list calendars, list events), chat (list messages, send message). No overlapping purposes.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (e.g., get_doc_content, list_calendars, send_message), making the naming predictable and clear.

    Tool Count5/5

    9 tools cover the main domains of Feishu (docs, sheets, calendar, chat) without being excessive. Each tool serves a clear purpose and the count is well-scoped for the server's purpose.

    Completeness3/5

    The tool set covers read operations well but lacks write/update/delete capabilities for most resources (no create/update doc, no update sheet, no create/update events, no delete messages). This is a notable gap for a full lifecycle.

    Related MCP Connectors

    Related MCP Servers