Open Feishu MCP Server

本项目修改自 [cloudflare/ai/demos/remote-mcp-github-oauth](https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-github-oauth),将 GitHub OAuth 替换为飞书

Local serverstdio

What is the Open Feishu MCP server?

本项目修改自 cloudflare/ai/demos/remote-mcp-github-oauth,将 GitHub OAuth 替换为飞书 OAuth。. The open feishu mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

Adding it to your client

The server ships on npm as @modelcontextprotocol/inspector, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration

You will need 3 environment variables: FEISHU_APP_ID, FEISHU_APP_SECRET, COOKIE_ENCRYPTION_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the open feishu mcp server does with a few real requests.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by ztxtxwd; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Open Feishu's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the Open Feishu MCP server

{
  "mcpServers": {
    "open-feishu": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "FEISHU_APP_ID": "your-value",
        "FEISHU_APP_SECRET": "your-value",
        "COOKIE_ENCRYPTION_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
FEISHU_APP_IDConfiguration value read at startup.Optional
FEISHU_APP_SECRETCredential the server authenticates with.Yes
COOKIE_ENCRYPTION_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Open Feishu to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Open Feishu directly.