SuperAPI AI Directory

open-feishu-mcp-server

Feishu document management with built-in Feishu OAuth: create blocks, update content and more.

Open website

About this tool

Purpose: This is a Model Context Protocol (MCP) server that supports remote connections, with built-in Feishu OAuth authentication, modified from cloudflare/ai/demos/remote-mcp-github-oauth, replacing GitHub OAuth with Feishu OAuth. Users can deploy it to their own Cloudflare account, and after creating a Feishu OAuth client app, log in and connect using a Feishu account.

Main capabilities: Provides basic document operations (get document block tree structure, get block type creation parameter schema, create document blocks, update document block content, batch delete document blocks), advanced document features (table creation and operations, image/video/file upload and insertion, Markdown import, material upload and management, document search), spreadsheets (worksheet creation, deletion, and renaming, cell data reading and writing, formula calculation, chart creation and editing, data filtering and sorting, collaboration and permission management), Bitable (basic data table operations, record create/read/update/delete, field type management, view creation and configuration, automation rules, data import and export), and developer documentation content search and retrieval.

Usage: Requires Node.js 18+ and npm. Create an app in the Feishu Developer Console and configure permissions (such as auth:user.id:read, task:task:read, offline_access, user_profile, etc.), and record the app ID and secret; update the KV namespace configuration in wrangler.toml with the KV ID; after deployment, add the redirect URL https://feishu-mcp-server.<your-actual-subdomain>.workers.dev/callback. For local development, add to the Feishu app security settings http://localhost:8788/callback,并创建 In the .dev.vars file, fill in FEISHU_APP_ID, FEISHU_APP_SECRET, COOKIE_ENCRYPTION_KEY, and the server runs at http://localhost:8788。可用 MCP Inspector for testing, the production environment address is https://feishu-mcp-server.<your-subdomain>.workers.dev/sse, and locally it is http://localhost:8788/sse。ChatWise Add a new stdio command: npx -y mcp-remote ${URL}; after saving, the Feishu OAuth login page will automatically open to complete authorization.

Use cases: For users who need to operate Feishu documents, spreadsheets, and Bitable through a Feishu account in MCP clients such as Cursor and ChatWise.

Limitations: All authenticated Feishu users can access all tools; tools use user_access_token and refresh automatically; some features are marked as under development or planned; before deployment, environment variables, Feishu app permissions, and the redirect URL must be configured correctly.