Feishu User Plugin logo

Feishu User Plugin

Connects MCP clients to Feishu/Lark messaging, documents, tables, calendars, tasks, OKR, and real-time events.

Install Feishu User Plugin

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "feishu-user-plugin": {
      "command": "npx",
      "args": [
        "-y",
        "feishu-user-plugin"
      ],
      "env": {
        "LARK_COOKIE": "YOUR_VALUE_HERE",
        "LARK_APP_ID": "YOUR_VALUE_HERE",
        "LARK_APP_SECRET": "YOUR_VALUE_HERE",
        "LARK_USER_ACCESS_TOKEN": "YOUR_VALUE_HERE",
        "LARK_USER_REFRESH_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 85 tools correctly (7d ago).

Overview

The feishu-user-plugin MCP server connects MCP clients to Feishu/Lark messaging, documents, Bitable, knowledge bases, Drive, calendars, tasks, OKR, contacts, and events. It combines official API access, user OAuth, and a cookie-plus-protobuf route for selected user-identity messaging tools. Use it when an agent needs Feishu operations through MCP, especially user-sent text messages or P2P message access without creating an application. The cookie route is limited and can expire or break when Feishu changes its web protocol.

Use cases

  • Send Feishu messages as a user through an MCP client
  • Read and summarize group or P2P conversations
  • Create and update Feishu documents and Bitable records
  • Manage calendars, tasks, OKR progress, and contacts
  • Subscribe to Feishu real-time events on one machine

Key features

  • 85 MCP tools across Feishu collaboration domains
  • Cookie-plus-protobuf user-identity messaging
  • Official API and OAuth authentication layers
  • Nine MCP prompts for common workflows
  • Multi-profile account switching and diagnostics
  • Machine-level WebSocket event delivery

Tools85

What Feishu User Plugin lets your agent do. Expand a tool for its parameters.

Verified live~15.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

6/6 checks healthy over the last 44d

What it can do

From the 85 tools this server returned when we ran it.

Can delete or modify data · 15Writes files · 4Handles credentials · 13Makes network requests · 10Read-only tools · 66
Network at startup4 connections
Files written at startup1
Install scriptsprepare
npm provenanceNot published
Package age225 days
Maintainers1

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · feishu-user-plugin (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars11Stargazers on the source repository.
npm downloads651Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed85Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Feishu User Plugin works

What feishu-user-plugin does

The feishu-user-plugin MCP server exposes Feishu/Lark capabilities through MCP and also includes a command-line setup and account-management workflow. Its documented coverage includes instant messaging, group and P2P message reading, documents, Bitable, knowledge bases, cloud storage, calendars, Task v2, OKR, contacts, and real-time events. The repository advertises 85 tools and nine MCP prompts.

Messaging is split between bot or application access and user-identity paths. The cookie-plus-protobuf route supports selected text, post, image, file, card, mention, and batch sending operations, although cards sent through this route fall back to a bot path. The official API is used for capabilities such as reading group messages and managing content resources. User OAuth adds P2P private-message reading, chat listing, and user-owned writes for selected resources.

How it works

The feishu-user-plugin MCP server runs locally and communicates with the AI client configured to launch it. Credentials remain on the local machine, with the primary credential file stored under ~/.feishu-user-plugin/credentials.json. The project states that it does not send telemetry or communicate with an author-operated backend.

Three authentication layers can be configured independently:

  • A Feishu app ID and secret provide official API access for messaging, documents, tables, knowledge bases, Drive, calendars, tasks, OKR, contacts, and events.
  • A user access token and refresh token provide OAuth-based user access, including P2P reads and selected user-owned writes.
  • A cookie enables the web-protocol sending path for supported user-identity message operations.

The server also supports multiple profiles. Read operations can retry across profiles after selected access failures, while write operations do not automatically switch profiles. A per-call profile option can pin a request to a named account. Real-time events use one machine-level WebSocket owner and a shared event log so multiple MCP processes can receive each event once.

Setup and configuration

Node.js 18 or newer is required. The documented setup flow uses the package CLI, beginning with npx feishu-user-plugin setup --app-id <APP_ID> --app-secret <APP_SECRET>, followed by npx feishu-user-plugin oauth when user OAuth is needed. Cookie credentials can be obtained through the documented Playwright or browser DevTools procedures.

Client configuration is provided for Claude Code, Claude Desktop, Codex, Cursor, VS Code, and Windsurf. The setup command can target a client, such as --client codex, or configure both supported targets. Configuration keys and file locations differ by client, so the repository’s client-specific templates should be followed.

Tools and capabilities

The advertised tool groups include:

  • User-identity message sending, including text, posts, files, images, cards, mentions, and batch operations.
  • Group and private-message reading, with merge-forward expansion and extraction of linked Feishu documents.
  • Document, Bitable, knowledge-base, and Drive operations.
  • Calendar, Task v2, OKR, and contact operations.
  • WebSocket event status and subscription management.
  • Authentication diagnostics and multi-profile management.

Nine prompts provide shortcuts for sending, replying, digesting conversations, searching, working with documents and tables, browsing the wiki or Drive, and checking authentication status.

Limitations and notes

Cookie credentials may expire after roughly 12–24 hours without a heartbeat and depend on Feishu’s web protocol. Cookie-based sending does not remove the need for a Feishu app for most other capabilities. Image and file sending still require an official API upload to obtain the relevant key, and card sending cannot use the cookie channel.

The real-time WebSocket implementation supports feishu.cn, not the Lark international domain. Applications needing email, approvals, attendance, HR, recruiting, or meeting-minutes domains should note that these areas are not listed among the server’s supported capabilities. The project is MIT licensed.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Feishu User Plugin

feishu-user-plugin is an MCP server that connects AI clients to Feishu/Lark for messaging, documents, Bitable, knowledge bases, Drive, calendars, tasks, OKR, contacts, and events. Its main tools support user-identity message sending, conversation reading, collaboration-resource operations, authentication diagnostics, multi-profile management, and real-time event control.

Install it through the package CLI with `npx feishu-user-plugin setup --app-id <APP_ID> --app-secret <APP_SECRET>`. Run `npx feishu-user-plugin oauth` when user OAuth is needed, then restart the MCP client. Node.js 18 or newer is required, and client-specific configuration templates are provided.

Yes, it can send selected messages as a user through either the official OAuth scope or a cookie-plus-protobuf route. The cookie route covers supported text and post messages without an app, but image and file keys require official API uploads, and cards use the bot route.

The setup command can configure a client-specific entry, while the exact top-level configuration key differs from clients such as Claude Code or VS Code.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFeishu User Plugin AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/feishu-user-plugin?style=directory)](https://allmcps.com/mcp/feishu-user-plugin)
HTML Embed
<a href="https://allmcps.com/mcp/feishu-user-plugin"><img src="https://allmcps.com/api/badge/feishu-user-plugin?style=directory" alt="Feishu User Plugin on AllMCPs" /></a>