Labsco
TestKAi005 logo

Feishu/Lark OpenAPI

from TestKAi005

Connects AI agents to the Feishu/Lark platform to automate document processing, conversation management, and calendar scheduling via its OpenAPI.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeQuick setup

Feishu/Lark OpenAPI MCP

npm version npm downloads Node.js Version

English | δΈ­ζ–‡

Developer Documentation Retrieval MCP | Official Document

⚠️ Beta Version Notice: This tool is currently in Beta stage. Features and APIs may change, so please stay updated with version releases.

This is the Feishu/Lark official OpenAPI MCP (Model Context Protocol) tool designed to help users quickly connect to the Feishu/Lark platform and enable efficient collaboration between AI Agents and Feishu/Lark. The tool encapsulates Feishu/Lark Open Platform API interfaces as MCP tools, allowing AI assistants to directly call these interfaces and implement various automation scenarios such as document processing, conversation management, calendar scheduling, and more.

Features

  • Complete Feishu/Lark API Toolkit: Encapsulates almost all Feishu/Lark API interfaces, including message management, group management, document operations, calendar events, Bitable, and other core functional areas.

  • Dual Authentication Support:

    • Supports App Access Token authentication
    • Supports User Access Token authentication
  • Flexible Communication Protocols:

    • Supports standard input/output stream (stdio) mode, suitable for integration with AI tools like Trae/Cursor/Claude
    • Supports Server-Sent Events (SSE) mode, providing HTTP-based interfaces
  • Supports multiple configuration methods, adapting to different usage scenarios

Tool List

A complete list of all supported Feishu/Lark tools can be found in tools.md, where tools are categorized by project and version with descriptions.

Preparation

Creating a Feishu/Lark Application

Before using the lark-mcp tool, you need to create a Feishu/Lark application:

  1. Visit the Feishu Open Platform or Lark Open Platform and log in
  2. Click "Console" and create a new application
  3. Obtain the App ID and App Secret, which will be used for API authentication
  4. Add the necessary permissions for your application based on your usage scenario
  5. If you need to call APIs as a user, set up OAuth 2.0 redirect URLs and obtain user access tokens

For detailed application creation and configuration guidelines, please refer to the Feishu Open Platform Documentation - Creating an Application or the Lark Open Platform Documentation.

Installing Node.js

Before using the lark-mcp tool, you need to install the Node.js environment.

Installing Node.js on macOS

  1. Using Homebrew (Recommended):

    brew install node
  2. Using the Official Installer:

    • Visit the Node.js website
    • Download and install the LTS version
    • After installation, verify in the terminal:
      node -v
      npm -v

Installing Node.js on Windows

  1. Using the Official Installer:

    • Visit the Node.js website
    • Download and run the Windows installer (.msi file)
    • Follow the installation wizard to complete the installation
    • After installation, verify in the command prompt:
      node -v
      npm -v
  2. Using nvm-windows:

    • Download nvm-windows
    • Install nvm-windows
    • Use nvm to install Node.js:
      nvm install latest
      nvm use <version_number>

Related Links

Feedback

Issues are welcome to help improve this tool. If you have any questions or suggestions, please raise them in the GitHub repository.