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
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
lark-tools-mcp connects Lark and cursor. It provides cursor with the ability to read documents, send messages, process tasks, and perform data analysis.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA template for creating custom tools for Cursor IDE using Model Context Protocol (MCP), allowing developers to extend Cursor's functionality with their own server-based tools.Last updated -112PythonMIT License
- -securityAlicense-qualityAn MCP server that connects any MCP client (like Claude or Cursor) with the browser using browser-use, allowing clients to utilize existing LLMs without requiring additional API keys.Last updated -74PythonApache 2.0
- -securityFlicense-qualityAn MCP server that enables LLMs to access Slack's search functionality to retrieve users, channels, messages, and thread replies from a Slack workspace.Last updated -4TypeScript
- AsecurityFlicenseAqualityA template for building tools based on the Model Control Protocol (MCP) framework, providing a structured way to develop and integrate custom tools with Cursor.Last updated -2Python