Sponsored by Deepsite.site

Feishu Business Operations

Created By
haohanghao0321-cpua month ago
AI-native business operations MCP server for Feishu/Lark. 8 scenario-based tools for multidimensional tables (search, query, write, create, AI schema design) and approvals (list, alerts, stats).
Content

feishu-scenarios-mcp

AI-native business operations MCP server for Feishu/Lark. 8 scenario-based tools covering multidimensional tables (Bitable) and approvals — search, query, write, create, AI schema design, approval tracking, alerts, and statistics.

Installation

npm install -g feishu-scenarios-mcp

Or run directly:

npx feishu-scenarios-mcp

Configuration

Create a .env file with your Feishu app credentials:

FEISHU_APP_ID=cli_xxxxxxxxxxxx
FEISHU_APP_SECRET=xxxxxxxxxxxxxxxxxxxxxxxx
FEISHU_BITABLE_APP_TOKEN=xxxxxxxxxxxx
FEISHU_ENV=feishu
VariableRequiredDescription
FEISHU_APP_IDYesFeishu app ID from Developer Console
FEISHU_APP_SECRETYesFeishu app secret
FEISHU_BITABLE_APP_TOKENFor bitableBitable app token
FEISHU_ENVNofeishu (default) or lark
FEISHU_USER_IDFor approvalYour Feishu user open_id
DEEPSEEK_API_KEYFor schema AIDeepSeek API key for AI table design

Claude Desktop Setup

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "feishu-scenarios": {
      "command": "npx",
      "args": ["-y", "feishu-scenarios-mcp"],
      "env": {
        "FEISHU_APP_ID": "cli_xxxxxxxxxxxx",
        "FEISHU_APP_SECRET": "xxxxxxxxxxxxxxxx",
        "FEISHU_BITABLE_APP_TOKEN": "xxxxxxxxxxxx",
        "FEISHU_ENV": "feishu"
      }
    }
  }
}

Tools

Bitable (多维表格)

ToolDescription
bitable_searchSearch tables by keyword. Returns table ID, name, field preview, record count.
bitable_queryQuery records with optional filters.
bitable_upsertBatch write records. Auto field-name matching and type conversion.
bitable_createCreate a new table with field definitions.
bitable_schema_aiAI-designed table schema from business description. Requires DEEPSEEK_API_KEY.

Approval (审批)

ToolDescription
approval_listQuery approval instances by status, type, applicant, time range.
approval_alertsFind bottlenecks and overtime approvals. Default threshold 48h.
approval_statsApproval statistics: by status, type, month, top applicants.

Usage Examples

Search tables:

"搜一下包含'审批'的表格"

Query records:

"查一下积压跟踪表里 pending 状态的记录"

Write records:

"往跟踪表写一条记录,负责人张三,状态待处理"

AI design table:

"帮我设计一张跟踪审批积压的表"

Approval alerts:

"谁审批最慢"

Approval statistics:

"本月审批通过率"

Feishu Bot (Mobile)

The package also includes a WebSocket-based Feishu bot for mobile access:

npx feishu-scenarios-mcp-bot

Setup guide: docs/bot-setup.md

Required Feishu Permissions

  • approval:instance — read approval instances
  • bitable:app — access bitable
  • im:message — bot messaging
  • im:message:send_as_bot — send bot messages

License

MIT

Server Config

{
  "mcpServers": {
    "feishu-scenarios": {
      "command": "npx",
      "args": [
        "-y",
        "feishu-scenarios-mcp"
      ],
      "env": {
        "FEISHU_APP_ID": "<你的飞书App ID>",
        "FEISHU_APP_SECRET": "<你的飞书App Secret>",
        "FEISHU_BITABLE_APP_TOKEN": "<你的多维表格App Token>",
        "FEISHU_ENV": "feishu",
        "FEISHU_USER_ID": "<你的飞书Open ID (可选)>",
        "DEEPSEEK_API_KEY": "<你的DeepSeek Key (可选)>"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Tavily Mcp
Playwright McpPlaywright MCP server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
Amap Maps高德地图官方 MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
WindsurfThe new purpose-built IDE to harness magic
CursorThe AI Code Editor
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code