communication
Lark Suite MCP Gateway for AI Agents
Expose Lark Suite tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
7 functions 5 read 2 write Bearer token auth
Lark Suite MCP Gateway
Expose Lark Suite to MCP clients with `kosmokrator mcp:serve --integration=lark`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=lark --write=deny --json {
"mcpServers": {
"kosmokrator-lark": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=lark",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=lark --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__lark__lark_list_chats | lark.lark_list_chats | Read read |
integration__lark__lark_get_chat | lark.lark_get_chat | Read read |
integration__lark__lark_create_chat | lark.lark_create_chat | Write write |
integration__lark__lark_list_messages | lark.lark_list_messages | Read read |
integration__lark__lark_send_message | lark.lark_send_message | Write write |
integration__lark__lark_list_members | lark.lark_list_members | Read read |
integration__lark__lark_get_current_user | lark.lark_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.