loading…
Search for a command to run...
loading…
Enables AI coding agents like Cursor and Claude Code to interact with Feishu (Lark) via the Model Context Protocol. It supports managing documents, sending mess
Enables AI coding agents like Cursor and Claude Code to interact with Feishu (Lark) via the Model Context Protocol. It supports managing documents, sending messages, and searching knowledge bases directly through natural language commands.
让 AI Coding Agent(Cursor / Claude Code / Windsurf / OpenClaw)通过 MCP 协议直接操作飞书。
你用 Cursor/Claude 写代码时,需要:
现在:直接在 AI 对话框里说一句话就行。
| 工具 | 功能 | 示例指令 |
|---|---|---|
feishu_doc_read |
读取文档内容 | "帮我读一下飞书文档 doc_xxx" |
feishu_doc_write |
写入/更新文档 | "把这段markdown写到飞书文档里" |
feishu_doc_create |
创建新文档 | "在飞书创建一个API设计文档" |
feishu_doc_list |
列出文件夹文件 | "看看我的飞书xxx文件夹里有什么" |
feishu_message_send |
发送消息 | "给张三发条飞书说代码已上线" |
feishu_wiki_search |
搜索知识库 | "在飞书知识库搜一下部署流程" |
feishu_calendar_create |
创建日历事件 | "帮我建个明天10点的需求评审会议" |
feishu_bitable |
操作多维表格 | "在项目跟踪表里加一条新需求" |
git clone https://github.com/zlplzp123wyt/feishu-mcp.git
cd feishu-mcp
npm install
npm run build
App ID 和 App Secret在 ~/.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_config.json 中添加相同的配置。
在 OpenClaw 配置中添加 MCP server。
| 权限 | 用途 |
|---|---|
docx:document |
读写文档 |
drive:drive |
访问云空间 |
im:message:send_as_bot |
发送消息 |
wiki:wiki |
知识库搜索 |
@modelcontextprotocol/sdk)MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"feishu-mcp": {
"command": "npx",
"args": []
}
}
}