Get the FREE Ultimate OpenClaw Setup Guide →

larkrs

lark rust mcp server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio hanxuanliang-larkrs-mcp-server cargo build --release \
  --env FEISHU_APP_ID="Your Feishu App ID" \
  --env FEISHU_APP_SECRET="Your Feishu App Secret" \
  --env FEISHU_ENCRYPT_KEY="Your Feishu Encrypt Key" \
  --env FEISHU_VERIFY_TOKEN="Your Feishu Verify Token"

How to use

Lark rs MCP is a Rust-based MCP server that provides an integration between Feishu services and AI models. It focuses on supporting multi-dimensional table metadata and content with batch record creation, and currently operates in STDIO mode, which enables easy CLI integration and embedding into other applications. After building, run the server so it communicates via standard input and output, allowing other tools to feed data and receive responses in real time. The server reads configuration and environment variables from a .env-like setup and validates Feishu identities using the provided credentials.

To interact with the server, run the compiled binary in STDIO mode and pass appropriate requests through standard input. The server will respond on standard output, enabling you to orchestrate calls from scripts, CLIs, or other applications. The included capabilities focus on reading multidimensional table metadata, retrieving content, and performing batched creation of records against the Feishu-integrated backend, allowing you to manage data workflows with ease.

How to install

Prerequisites:

  • Rust toolchain installed (Rustup, cargo)
  • Access to the internet to clone the repository and fetch dependencies

Step-by-step:

  1. Clone the repository: git clone https://github.com/your-repo/larkrs-mcp.git cd larkrs-mcp

  2. Build the project in release mode for optimal performance: cargo build --release

  3. Locate the compiled binary. It will typically be at: target/release/larkrs-mcp (or similar, depending on the crate name)

  4. Prepare environment variables. Create a .env file or export variables in your shell. Example: FEISHU_APP_ID=your-app-id FEISHU_APP_SECRET=your-app-secret FEISHU_VERIFY_TOKEN=your-verify-token FEISHU_ENCRYPT_KEY=your-encrypt-key

  5. Run the server in STDIO mode by executing the binary. You can pipe input to it and read output from it. Example: ./target/release/larkrs-mcp < input.txt > output.txt

  6. Verify the server is functioning by sending test requests and validating the Feishu integration as described in the project’s documentation.

Additional notes

Notes and tips:

  • The server operates in STDIO mode, which is ideal for CLI workflows and embedding into other applications via pipes.
  • Ensure your Feishu credentials and verification configurations are correctly set in the environment variables (.env or export commands).
  • The README suggests focusing validation through chatwise-like runs; make sure you test with a controlled Feishu environment before broader deployment.
  • If you update environment variables, restart the server to apply changes.
  • When building, prefer the --release build for better performance in production scenarios.

Related MCP Servers

Sponsor this space

Reach thousands of developers