feishu-mcp-server
by hankeyyh
A Feishu MCP server that allows access to Feishu documents via the MCP protocol. It enables integration with AI applications.
View on GitHub
Last updated: N/A
feishu-mcp-server
飞书文档 MCP 服务器,用于通过 MCP 协议访问飞书文档。
功能特性
- 支持访问飞书知识库文档
- 支持访问飞书云文档
- 支持 MCP 协议集成到 AI 应用中
前期准备
在Cursor中使用
全局安装:
npm install -g feishu-mcp-server
启动 MCP Server
Cursor MCP 支持 Command,SSE 两种模式
- Command 模式
在Cursor Mcp Model 中配置,选择 Command 模式,输入
Windows:
cmd /c feishu-mcp start-server --app_id <app_id> --app_secret <app_secret>
macOS/Linux:
feishu-mcp start-server --app_id <app_id> --app_secret <app_secret>
- SSE 模式
在控制台启动 Server:
feishu-mcp start-server --app_id <app_id> --app_secret <app_secret> --sse --port <port>
在Cursor Mcp Model 中配置,选择 SSE 模式,输入:
http://localhost:<port>/sse
配置说明
需要配置以下参数:
app_id
: 飞书应用 App IDapp_secret
: 飞书应用 App Secretsse
: 用 SSE 模式启动port
: SSE 端口
开发
# 安装依赖
npm install
# 构建
npm run build
# 本地安装 CLI
npm run install-cli
# 卸载 CLI
npm run uninstall-cli
License
ISC