Is the Feishu / Lark MCP server safe? What it can reach
What the Feishu / Lark MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Feishu and Lark publish an official OpenAPI MCP server, in beta. It runs locally with npx using an app ID and secret, and can act as the app or, with OAuth, as a signed-in user. The default tool set can send chat messages and add document collaborators. Pick a smaller preset with the -t flag.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| lark-openapi-mcp (Larksuite, @larksuiteoapi/lark-mcp) | Official | active |
It runs as a local process on your machine.
How it signs in
A Feishu or Lark app ID and app secret. The token mode defaults to auto, and with --oauth and --token-mode user_access_token calls use a signed-in user’s token instead.
What its tools can do
| Kind | Tools |
|---|---|
| Read | im_v1_chat_list, im_v1_chatMembers_get, im_v1_message_list, bitable_v1_appTable_list, bitable_v1_appTableField_list, bitable_v1_appTableRecord_search, docx_v1_document_rawContent, docx_builtin_search, wiki_v2_space_getNode, wiki_v1_node_search, contact_v3_user_batchGetId |
| Write | im_v1_chat_create, bitable_v1_app_create, bitable_v1_appTable_create, bitable_v1_appTableRecord_create, bitable_v1_appTableRecord_update, docx_builtin_import |
| Can’t be undone | im_v1_message_create, drive_v1_permissionMember_create |
These are the tools in the default preset. The docs list names with dots, such as im.v1.message.create, and the --tool-name-case option defaults to snake, which gives the underscore names here. The full tools list has hundreds more APIs you can enable with -t, and the README says non-preset APIs are not compatibility tested. File upload and download and direct cloud document editing are not supported.
Built-in limits
| Option | What it does |
|---|---|
-t or --tools | Enables only the named tools or presets, for example preset.light, preset.calendar.default or im.v1.message.create. |
--token-mode | Choose tenant_access_token or user_access_token. The README advises user_access_token with --oauth so calls do not fall back to the app’s rights. |
--scope | Limits the OAuth scopes requested at login. If you leave it out, all permissions granted to the app are authorized. |
App permissions | The app you create in the Feishu or Lark console only holds the permissions you add to it. |
The risks
- im_v1_message_create sends chat messages from your bot or your account, so an injected instruction can message real colleagues or groups.
- drive_v1_permissionMember_create adds collaborators to documents, which can share internal files with the wrong people.
- The app ID and secret are passed as command arguments in the documented setup, so they sit in your client config file.
- Chat history, documents and base records the agent reads go to your model provider.
- With --oauth and no --scope, the login authorizes every permission the app holds.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add feishu -- npx -y @larksuiteoapi/lark-mcp mcp -a <your_app_id> -s <your_app_secret>Claude Code names MCP tools mcp__feishu__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__feishu__im_v1_chat_create",
"mcp__feishu__bitable_v1_app_create",
"mcp__feishu__bitable_v1_appTable_create",
"mcp__feishu__bitable_v1_appTableRecord_create",
"mcp__feishu__bitable_v1_appTableRecord_update",
"mcp__feishu__docx_builtin_import",
"mcp__feishu__im_v1_message_create",
"mcp__feishu__drive_v1_permissionMember_create"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.feishu]
command = "npx"
args = ["-y", "@larksuiteoapi/lark-mcp", "mcp", "-a", "<your_app_id>", "-s", "<your_app_secret>"]Checklist
- Use -t preset.light or a short custom list instead of the default preset.
- Give the app only the permissions your tools need in the console.
- Run with --token-mode user_access_token and a narrow --scope.
- Require approval for every message and permission tool.
Checked against the vendor documentation on November 25, 2026. lark-openapi-mcp README (Larksuite) · Preset tool collections reference · Command line reference
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing