lark-tools-mcp
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Used for configuration management, allowing storage of Feishu application credentials and other environment variables securely in a .env file
Used as the package manager for installing dependencies and running the MCP server
lark-tools-mcp
MCP server provides Feishu related operations to AI encoding agents such as cursor
飞书MCP插件
通过打通飞书与cursor,向LLM提供读取文档、发送消息、合同审批、数据处理.....
可能会有意想不到的组合方式
创建自建应用
MCP服务运行基于token,需要创建一个应用并做发布 https://open.feishu.cn/document/server-docs/api-call-guide/terminolog
然后对应用进行文档授权,这一步较为繁琐,参考文档,选择合适的方案:https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-add-permissions-to-app
运行服务
- 拷贝 .env.example 为 .env 文件
- 修改 .env 文件中的 FEISHU_APP_ID 为飞书自建应用的 app_id
- 修改 .env 文件中的 FEISHU_APP_SECRET 为飞书自建应用的 app_secret
- 运行 MCP Server
yarn install
yarn start
5. Add MCP to cursor
6. Agent 模式下,输入飞书文档链接,让AI帮你阅读与整理内容
效果
tools
get_feishu_doc
获取飞书文档信息(纯文本)
This server cannot be installed
lark-tools-mcp connects Lark and cursor. It provides cursor with the ability to read documents, send messages, process tasks, and perform data analysis.