飞书 MCP · Worker
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
飞书 MCP · Worker
飞书 OAuth、MCP 接口和权限管理服务。管理界面见 feishu-mcp-pages。
部署
准备两个同主域的 HTTPS 子域名,例如 feishu-worker.example.com 和 feishu.example.com。点击按钮后,在 Cloudflare 向导中创建 Worker 和 D1,设置 PUBLIC_ORIGIN 为 Worker 地址,WEB_ORIGIN 为 Pages 地址。
分别运行下面的命令生成两个随机值,填入 ADMIN_PASSWORD 和 DATA_KEY。
node -p "require('node:crypto').randomBytes(32).toString('base64url')"部署后,在 Worker 的 Settings → Domains & Routes 添加 PUBLIC_ORIGIN 对应的自定义域名,并按 Pages 部署说明 部署管理界面。管理员用户名是 wangling。
命令行部署
使用 Node.js 22,并为目标 Cloudflare 账户创建具有 Workers Scripts 和 D1 编辑权限的 API Token。脚本会初始化 D1、部署 Worker 并绑定自定义域名。
变量 | 值 |
| Cloudflare 账户 ID |
| Worker 自定义域名对应的 Zone ID |
| Cloudflare API Token |
| Worker 地址,例如 |
| Pages 地址,例如 |
| Worker 和 D1 名称,默认 |
设置上述变量后,在仓库根目录执行:
npm ci
npm run deploy:custom-domain
curl --fail https://feishu-worker.example.com/health首次通过命令行部署时,从终端显示的本地文件中读取管理员的随机密码。
Related MCP server: feishu-user-plugin
连接飞书
在 飞书开放平台 创建企业自建应用,开通所需权限并发布应用版本。
在应用的安全设置添加重定向地址
https://feishu-worker.example.com/oauth/feishu/callback。需要持续使用用户授权时,开通刷新user_access_token的权限。登录 Pages 管理界面,填写 App ID 和 App Secret,选择「保存并授权」。
从「MCP Keys」创建连接,选择工具范围和调用身份。
接入客户端
客户端 | 配置方式 |
Cursor | 复制管理页生成的配置,保存到 |
ChatGPT | 在自定义 MCP 中填写管理页的服务器地址,选择 OAuth 并授权 |
其他 HTTP MCP 客户端 | 使用该 Key 的 |
可以为不同客户端创建独立的 Key,分别选择只读、指定工具或全部工具。轮换或撤销 Key 后,在对应客户端更新连接。
上传 ChatGPT 附件时,把文件附到当前消息,再指定云盘文件夹或飞书知识库节点。feishu_upload_attachment 上传到云盘,feishu_upload_attachment_to_wiki 上传到指定知识库节点。
更新和维护
通过 Cloudflare 向导部署的项目随生产分支更新。命令行部署的项目使用原来的
FEISHU_PROJECT_NAME重新执行npm run deploy:custom-domain。在 Worker 的 Settings → Variables and Secrets 修改
ADMIN_PASSWORD,再使用新密码登录。升级时保留DATA_KEY,以便读取已有飞书凭证。运行
npm test执行集成测试,或运行npm run build生成dist/worker.js。
许可
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Zero-dependency Cloudflare Worker gateway turning websites and REST APIs into MCP tools.
Hosted MCP for Google Workspace, Atlassian and Notion: one OAuth, per-user accounts, write access.
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA remote Model Context Protocol server for Feishu (Lark) that supports OAuth authentication and deployment on Cloudflare Workers. It allows AI clients to interact with Feishu documents, perform content searches, and manage document blocks with a zero-configuration experience.87MIT
- AlicenseBqualityCmaintenanceAll-in-one Feishu/Lark MCP for Claude Code & Codex. 84 tools, 3 auth layers, send-as-user (cookie + protobuf protocol path). Covers IM, docs, bitable, wiki, drive, calendar, tasks v2, OKR, realtime WS events.84190 npm12MIT
- AlicenseNot gradedqualityDmaintenanceA Cloudflare Workers-based remote MCP gateway that securely bridges Feishu official MCP to MCP clients like ChatGPT, using OAuth-authorized user tokens for accessing and managing personal Feishu documents.2Apache 2.0
- AlicenseNot gradedqualityBmaintenanceDeploys Feishu OpenAPI tools to Alibaba Cloud Function Compute, letting remote MCP clients like ChatGPT access and operate Feishu docs, sheets, wikis, drives, calendars, and tasks through user-authorized OAuth.MIT