Publisher: XCO Agency (Shopify Plus Partner)
Cursor marketplace plugin that wraps the official Feishu/Lark OpenAPI MCP. It does not reimplement Lark APIs.
- Package:
@larksuiteoapi/lark-mcp - Upstream: larksuite/lark-openapi-mcp
- Docs: MCP installation
mcp.json— stdio MCP vianpx -y @larksuiteoapi/lark-mcp- Skills: setup, messaging, calendar, docs
- Optional helpers:
bin/run-lark-mcp.sh,bin/login-lark-user.sh
Each installer uses their own Lark or Feishu custom app credentials. No shared tenant.
- Node.js ≥ 20
- Custom app on Lark (
https://open.larksuite.com) or Feishu (https://open.feishu.cn) - App ID + App Secret
- Developer Console → Custom App → note App ID / App Secret.
- Enable Bot if you want app-bot messaging.
- Add API scopes your tools need. For send-as-user DMs you need at least:
im:messageim:message.send_as_user- plus chat/calendar/task/docs scopes as required
- Security → Redirect URLs — add both if you use OAuth helpers:
http://127.0.0.1:3000/callbackhttp://localhost:3000/callback
- Publish / approve the app version as your org requires.
Never commit App Secret.
Install lark-openapi, then configure plugin variables:
| Variable | Required | Notes |
|---|---|---|
LARK_APP_ID |
yes | From developer console |
LARK_APP_SECRET |
yes | Secret |
LARK_DOMAIN |
no | Default https://open.larksuite.com |
{
"mcpServers": {
"lark-openapi": {
"command": "npx",
"args": [
"-y",
"@larksuiteoapi/lark-mcp",
"mcp",
"-a", "${LARK_APP_ID}",
"-s", "${LARK_APP_SECRET}",
"-d", "${LARK_DOMAIN}"
],
"env": {
"LARK_APP_ID": "${LARK_APP_ID}",
"LARK_APP_SECRET": "${LARK_APP_SECRET}",
"LARK_DOMAIN": "${LARK_DOMAIN}"
}
}
}
}export LARK_APP_ID=... LARK_APP_SECRET=... LARK_DOMAIN=https://open.larksuite.com
./bin/login-lark-user.sh
# open the printed authorize URL, click AuthorizeThen run MCP with --oauth --token-mode user_access_token (see bin/run-lark-mcp.sh).
Tip: bind OAuth to 127.0.0.1 (default in our login script) so Chromium can complete the callback on IPv4.
Default helper enables preset.default, preset.task.default, and preset.calendar.default via LARK_TOOLS.
MIT — see LICENSE. Official MCP remains under Lark Suite’s package license.
XCO Agency — Shopify Plus Partner. Built and maintained for the Cursor / agent ecosystem.