Feishu
Use the Feishu MCP server when a task needs live Feishu or Lark workspace access.
Configuration
The MCP server reads credentials from environment variables:
FEISHU_APP_IDandFEISHU_APP_SECRETfor tenant access token acquisition.FEISHU_TENANT_ACCESS_TOKENto provide a tenant token directly.FEISHU_USER_ACCESS_TOKENfor user-scoped document or wiki actions.FEISHU_WEBHOOK_URLand optionalFEISHU_WEBHOOK_SECRETfor custom bot notifications.FEISHU_BASE_URLonly when using a non-default Feishu-compatible OpenAPI base URL.
Start by calling feishu_auth_status if the user asks whether configuration is ready or if an API call fails with authentication errors.
Tool Selection
- Documents: use
feishu_docs_create,feishu_docs_get,feishu_docs_list_blocks, andfeishu_docs_append_text. - Notifications: use
feishu_send_webhookfor custom bot webhooks, orfeishu_send_messagefor app bot messages to a user or chat. - Bitable: use
feishu_bitable_list_tables,feishu_bitable_search_records,feishu_bitable_create_record, andfeishu_bitable_update_record. - Wiki: use
feishu_wiki_list_spaces,feishu_wiki_list_nodes,feishu_wiki_search, andfeishu_wiki_get_node. - Advanced operations: use
feishu_api_requestwith an official Feishu OpenAPI path.
Safety
- Never print app secrets, webhook secrets, or access tokens.
- For writes or outbound notifications, summarize the exact destination and payload before calling tools when the destination is not obvious from the user's request.
- If Feishu returns a permission error, report the missing action and ask the user to grant the corresponding Feishu app scope or document/wiki permission.