- Lark Mcp Server
Lark Mcp Server
What is Lark MCP Server?
Lark MCP Server is a tool designed to facilitate integration with the Feishu/Lark platform, enabling efficient collaboration between AI agents and the platform through its OpenAPI Model Context Protocol (MCP).
How to use Lark MCP Server?
To use Lark MCP, create a Feishu/Lark application to obtain your App ID and App Secret, install Node.js, and then install the Lark MCP tool globally using npm. You can then configure and run the tool using command line parameters or a configuration file.
Key features of Lark MCP Server?
- Complete toolkit for Feishu/Lark API interfaces, including document processing and conversation management.
- Dual authentication support for App Access Token and User Access Token.
- Flexible communication protocols, supporting both standard input/output and Server-Sent Events (SSE) modes.
Use cases of Lark MCP Server?
- Automating document processing tasks.
- Managing conversations and group chats programmatically.
- Scheduling calendar events through API calls.
FAQ from Lark MCP Server?
-
How do I connect to the Feishu/Lark API?
Ensure your APP_ID and APP_SECRET are correct and that you have the necessary permissions. -
What should I do if my user access token expires?
Implement an automatic token refresh mechanism or use app_access_token instead. -
Can I use Lark MCP for file uploads?
Currently, file upload functionality is not supported but will be in future versions.
Server Config
{
"mcpServers": {
"lark-mcp": {
"command": "npx",
"args": [
"-y",
"@larksuiteoapi/lark-mcp",
"mcp",
"-a",
"<your_app_id>",
"-s",
"<your_app_secret>",
"-u",
"<your_user_token>"
]
}
}
}