feishu-wiki-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FEISHU_OAUTH | No | 是否启用OAuth模式,true/false (已废弃,建议使用user token模式) | |
| FEISHU_APP_ID | Yes | 飞书应用 App ID (必填) | |
| FEISHU_MCP_PORT | No | OAuth回调端口 | 3001 |
| FEISHU_APP_SECRET | Yes | 飞书应用 App Secret (必填) | |
| FEISHU_USER_TOKEN | No | 用户访问令牌,用于预置Token模式 | |
| FEISHU_REFRESH_TOKEN | No | 刷新令牌,用于自动续期 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wiki_list_spacesA | 列出当前用户可见的所有飞书知识库 |
| wiki_get_spaceB | 获取指定知识库的详细信息(名称、描述、类型、可见性) |
| wiki_list_nodesA | 列出知识库中指定父节点下的子节点。不传 parent_node_token 则列出顶层节点 |
| wiki_get_nodeA | 通过 wiki 节点 token 或文档 token 获取节点详细信息 |
| wiki_create_nodeC | 在知识库中创建新节点(文档、表格等) |
| wiki_move_nodeC | 将知识库中的节点移动到另一个位置(可跨知识库) |
| wiki_move_docs_to_wikiB | 将云空间中的文档移动到知识库中 |
| wiki_update_titleB | 更新知识库节点的标题 |
| wiki_copy_nodeA | 复制知识库中的节点到另一个位置(可跨知识库) |
| wiki_create_node_with_markdownA | 在知识库中一步创建带 Markdown 内容的文档节点。内部自动完成:上传 Markdown → 转换为 docx → 移入知识库指定位置。适合需要快速创建有内容的 wiki 文档的场景 |
| doc_get_raw_contentA | 获取飞书文档的纯文本内容 |
| doc_searchC | 搜索飞书云文档 |
| doc_importA | 导入 Markdown 内容创建飞书文档(自动上传文件并转换为 docx)。可选传入 space_id + parent_wiki_token 直接写入知识库,省去手动调用 wiki_move_docs_to_wiki |
| bitable_create_appC | 创建多维表格应用 |
| bitable_list_tablesB | 列出多维表格中的所有数据表 |
| bitable_create_tableC | 在多维表格中新建数据表 |
| bitable_list_fieldsB | 获取多维表格数据表的所有字段 |
| bitable_search_recordsC | 搜索多维表格中的记录 |
| bitable_create_recordC | 在多维表格中创建一条记录 |
| bitable_update_recordC | 更新多维表格中的一条记录 |
| im_send_messageA | 发送飞书消息(支持文本、富文本、卡片等) |
| im_list_messagesA | 获取会话(单聊/群聊)的历史消息 |
| im_list_chatsB | 获取用户或机器人所在的群列表 |
| im_create_chatB | 创建飞书群聊 |
| im_get_chat_membersC | 获取群成员列表 |
| contact_batch_get_user_idB | 通过邮箱或手机号获取用户 ID |
| drive_add_permissionC | 为云文档添加协作者权限 |
| wiki_searchB | 搜索飞书知识库中的节点 |
| doc_list_blocksA | 列出飞书文档中的所有块(支持分页) |
| doc_get_blockC | 获取飞书文档中指定块的详细信息 |
| doc_create_blocksA | 在飞书文档指定块下插入子块。 支持的 block_type 及对应字段名: 2=文本段落(text) 示例: {"block_type":2,"text":{"elements":[{"text_run":{"content":"段落文本"}}]}} 3=H1(heading1) 示例: {"block_type":3,"heading1":{"elements":[{"text_run":{"content":"一级标题"}}]}} 4=H2(heading2) 示例: {"block_type":4,"heading2":{"elements":[{"text_run":{"content":"二级标题"}}]}} 5=H3(heading3), 6=H4(heading4), 7=H5(heading5), 8=H6(heading6), 9=H7(heading7) — 格式同上 11=无序列表(bullet) 示例: {"block_type":11,"bullet":{"elements":[{"text_run":{"content":"列表项"}}]}} 12=有序列表(ordered) 示例: {"block_type":12,"ordered":{"elements":[{"text_run":{"content":"步骤一"}}]}} 14=代码块(code) 示例: {"block_type":14,"code":{"elements":[{"text_run":{"content":"print('hi')"}}],"style":{"language":49}}} 15=引用(quote) 示例: {"block_type":15,"quote":{"elements":[{"text_run":{"content":"引用文本"}}]}} 34=高亮块(callout) 示例: {"block_type":34,"callout":{"elements":[{"text_run":{"content":"提示内容"}}]}} 22=分割线(divider) 示例: {"block_type":22,"divider":{}} 文本样式(text_element_style): bold=加粗, italic=斜体, underline=下划线, strikethrough=删除线, inline_code=行内代码 示例: {"text_run":{"content":"加粗文字","text_element_style":{"bold":true}}} 注意: elements 数组中可包含多个 text_run 实现混合样式。每种块的字段名必须与 block_type 对应(如 block_type=4 用 heading2, block_type=11 用 bullet)。 |
| doc_update_blockA | 更新飞书文档中指定块的内容(PATCH)。update_text_elements 用于文本块;其他块类型传对应的 update_* 字段 |
| doc_delete_blocksA | 删除飞书文档指定父块下的子块(按位置区间) |
| drive_upload_fileA | 上传文件到飞书云空间(可用于获取 file_token 以在文档中插入图片等)。支持 base64 编码内容上传 |
| wiki_delete_nodeA | 将知识库节点移出 wiki(移至云空间根目录),移出后可用 drive_delete_file 彻底删除底层文件。飞书无公开 wiki 删除 API,需两步操作 |
| drive_delete_fileA | 删除云空间中的文件或文档(移至回收站) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/akakenle/feishu-wiki-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server