MCP Server Studio
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
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>"
}
}
}
}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]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>"
}
}
}
}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>"
}
}
}
}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>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
LARK_COOKIE | No | Feishu web session cookie. Required for user-identity messaging tools (send_to_user, send_as_user, etc). |
LARK_APP_ID | No | Feishu 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_SECRET | No | Feishu Open Platform self-built app App Secret. Used together with LARK_APP_ID. |
LARK_USER_ACCESS_TOKEN | No | User OAuth UAT for P2P chat reading and as user-owner on resource creation. Obtained via 'npx feishu-user-plugin oauth'. |
LARK_USER_REFRESH_TOKEN | No | Refresh token for UAT auto-renewal. |