feishu-mcp

Execute Feishu MCP API operations for documents, sheets, bitable, messaging, and wiki tasks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/alexaundre/mycc --skill feishu-mcp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-mcp
Source: https://github.com/alexaundre/mycc/tree/main/.claude/skills/feishu-mcp
Command: npx skills add https://github.com/alexaundre/mycc --skill feishu-mcp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

将飞书 MCP/OpenAPI 的复杂调用封装为可执行的助手能力,省去用户手动查阅 API 文档、管理 token、处理大文件分片和调试常见错误的繁琐过程,为日常办公自动化提供直接可用的执行通道。

Core Features & Use Cases

  • 文档操作:创建、读取、编辑飞书文档并将文档内容转换为纯文本或块结构。
  • 多维表格与电子表格:查询表结构与记录、新增记录、导出表格数据用于索引或归档。
  • 即时消息与群组:列出聊天、读取消息历史并发送富文本或 @ 消息。
  • 万能调用:通过 feishu_openapi_call 调用任意 OpenAPI,覆盖知识库、任务、画板等场景。
  • 大文件与可靠写入:支持分片上传大文件、区分 drive/docx token、并强制顺序写入以避免文档写入错误。
  • 错误处理与运维提示:识别常见错误码(如 9499/1770013/401)并给出修复步骤或授权建议。

Quick Start

向助手发送一条请求,例如:用 feishu-mcp 调用 get_document_raw_content 获取文档 ABC 的纯文本并返回摘要。

Frequently Asked Questions about feishu-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate sending messages and querying bitable records in Feishu?

Feishu automation for messaging and bitable records is enabled by executing MCP API operations directly against your workspace, supporting sending rich text messages, listing chats, and querying table structures without manual API documentation lookup.

Why does my Feishu document write fail with a 9499 error during sequential operations?

Feishu document write errors like 9499 typically occur when writes are not strictly sequential; enforcing sequential document writes and using the correct drive or docx token resolves these known API conflicts.

Can I use feishu_openapi_call to handle large media uploads and arbitrary API requests?

Feishu openapi_call supports arbitrary API requests covering wiki, tasks, and boards, while large media uploads are handled through multipart upload flows with chunked processing for reliable file transfer.

What tokens and permissions do I need to create documents and query sheets in Feishu?

Feishu document and sheet operations require proper user tokens with appropriate permissions, specifically distinguishing between drive and docx tokens to authorize creating documents, querying records, and exporting spreadsheet data.

How do I retrieve raw text content from a Feishu docx for summarization?

Feishu docx content retrieval uses the get_document_raw_content API call to fetch plain text or block structures, which can then be passed to an assistant for summarization, indexing, or archiving tasks.

What is the best way to handle Feishu API error codes 1770013 and 401?

Feishu API error codes 1770013 and 401 indicate permission or authentication failures; the Skill identifies these common error codes and provides specific repair steps and authorization recommendations to restore access.