MCP Server Studio

Feishu User Plugin MCP server

Feishu/Lark MCP server + CLI tool. 85 tools, 3 auth layers. Send as user via cookie+protobuf.

Registry name: io.github.EthanQC/feishu-user-plugin

Publisher
EthanQC
Runs
Runs locally
Package
npm
Version
1.3.14
Category
Developer tools
Updated
2026-05-22

Source code on GitHub

Set up Feishu User Plugin (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "feishu-user-plugin": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LARK_COOKIE": "<LARK_COOKIE>",
        "LARK_APP_ID": "<LARK_APP_ID>",
        "LARK_APP_SECRET": "<LARK_APP_SECRET>",
        "LARK_USER_ACCESS_TOKEN": "<LARK_USER_ACCESS_TOKEN>",
        "LARK_USER_REFRESH_TOKEN": "<LARK_USER_REFRESH_TOKEN>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add feishu-user-plugin -e LARK_COOKIE='<LARK_COOKIE>' -e LARK_APP_ID='<LARK_APP_ID>' -e LARK_APP_SECRET='<LARK_APP_SECRET>' -e LARK_USER_ACCESS_TOKEN='<LARK_USER_ACCESS_TOKEN>' -e LARK_USER_REFRESH_TOKEN='<LARK_USER_REFRESH_TOKEN>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "feishu-user-plugin": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LARK_COOKIE": "<LARK_COOKIE>",
        "LARK_APP_ID": "<LARK_APP_ID>",
        "LARK_APP_SECRET": "<LARK_APP_SECRET>",
        "LARK_USER_ACCESS_TOKEN": "<LARK_USER_ACCESS_TOKEN>",
        "LARK_USER_REFRESH_TOKEN": "<LARK_USER_REFRESH_TOKEN>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "feishu-user-plugin": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LARK_COOKIE": "<LARK_COOKIE>",
        "LARK_APP_ID": "<LARK_APP_ID>",
        "LARK_APP_SECRET": "<LARK_APP_SECRET>",
        "LARK_USER_ACCESS_TOKEN": "<LARK_USER_ACCESS_TOKEN>",
        "LARK_USER_REFRESH_TOKEN": "<LARK_USER_REFRESH_TOKEN>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "feishu-user-plugin": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LARK_COOKIE": "<LARK_COOKIE>",
        "LARK_APP_ID": "<LARK_APP_ID>",
        "LARK_APP_SECRET": "<LARK_APP_SECRET>",
        "LARK_USER_ACCESS_TOKEN": "<LARK_USER_ACCESS_TOKEN>",
        "LARK_USER_REFRESH_TOKEN": "<LARK_USER_REFRESH_TOKEN>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
LARK_COOKIENoFeishu web session cookie. Required for user-identity messaging tools (send_to_user, send_as_user, etc).
LARK_APP_IDNoFeishu Open Platform self-built app App ID (cli_xxxxxxxxxxxx). Required for Official API tools (docs, bitable, wiki, drive, calendar, tasks, OKR, group messaging).
LARK_APP_SECRETNoFeishu Open Platform self-built app App Secret. Used together with LARK_APP_ID.
LARK_USER_ACCESS_TOKENNoUser OAuth UAT for P2P chat reading and as user-owner on resource creation. Obtained via 'npx feishu-user-plugin oauth'.
LARK_USER_REFRESH_TOKENNoRefresh token for UAT auto-renewal.

More developer tools MCP servers