feishu-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@feishu-mcpsend a message to the team saying the deployment is complete"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📄 feishu-mcp
让 AI Coding Agent(Cursor / Claude Code / Windsurf / OpenClaw)通过 MCP 协议直接操作飞书。
🎯 解决什么问题
你用 Cursor/Claude 写代码时,需要:
读飞书文档里的需求 → 以前:切换浏览器复制粘贴
把代码文档写到飞书 → 以前:手动创建文档再粘贴
给同事发个飞书消息通知 → 以前:切换到飞书App
现在:直接在 AI 对话框里说一句话就行。
🛠️ 8 个工具
工具 | 功能 | 示例指令 |
| 读取文档内容 | "帮我读一下飞书文档 doc_xxx" |
| 写入/更新文档 | "把这段markdown写到飞书文档里" |
| 创建新文档 | "在飞书创建一个API设计文档" |
| 列出文件夹文件 | "看看我的飞书xxx文件夹里有什么" |
| 发送消息 | "给张三发条飞书说代码已上线" |
| 搜索知识库 | "在飞书知识库搜一下部署流程" |
| 创建日历事件 | "帮我建个明天10点的需求评审会议" |
| 操作多维表格 | "在项目跟踪表里加一条新需求" |
🚀 安装(3步)
1. 克隆并安装依赖
git clone https://github.com/zlplzp123wyt/feishu-mcp.git
cd feishu-mcp
npm install
npm run build2. 获取飞书应用凭证
登录 飞书开放平台
创建企业自建应用
获取
App ID和App Secret开通所需权限(文档读写、消息发送等)
3. 配置 MCP Client
Cursor
在 ~/.cursor/mcp.json 中添加:
{
"mcpServers": {
"feishu": {
"command": "node",
"args": ["/path/to/feishu-mcp/dist/index.js"],
"env": {
"FEISHU_APP_ID": "cli_xxxxxxxxxxxxxxxx",
"FEISHU_APP_SECRET": "xxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}Claude Desktop
在 claude_desktop_config.json 中添加相同的配置。
OpenClaw
在 OpenClaw 配置中添加 MCP server。
📋 飞书应用所需权限
权限 | 用途 |
| 读写文档 |
| 访问云空间 |
| 发送消息 |
| 知识库搜索 |
🏗️ 技术栈
TypeScript + Node.js
MCP SDK (
@modelcontextprotocol/sdk)Zod(参数校验)
飞书 Open API
💰 适用场景
开发者:Cursor/Claude写代码时直接操作飞书
团队协作:AI自动把代码文档同步到飞书
自动化:用AI Agent自动管理飞书内容
企业定制:基于此MCP server开发定制化飞书集成
📄 License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/zlplzp123wyt/feishu-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server