Skip to main content
Glama

Lark MCP Server

by lorrylockie

Lark MCP Server

A Model Context Protocol (MCP) server that integrates with Lark/Feishu APIs, allowing LLMs to interact with Lark services.

Features

  • Query employee information using Lark's Contact API
  • More features coming soon...

Prerequisites

  • Node.js 16 or higher
  • A Lark/Feishu application with App ID and App Secret
  • Claude for Desktop or another MCP client

Installation

npm install npm run build

Usage

You can run the server in two ways:

npx lark-mcp <app_id> <app_secret>

Replace <app_id> and <app_secret> with your Lark application credentials.

2. Using Environment Variables

export LARK_APP_ID=your_app_id export LARK_APP_SECRET=your_app_secret npx lark-mcp

Available Tools

get-user-info

Retrieves employee information using their ID.

Example usage in Claude:

Please look up employee information for ID 12345

Development

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build
  4. Start the server in development mode:
    npm run dev

Configuration

The server prioritizes credentials in the following order:

  1. Command line arguments
  2. Environment variables
  3. Default values (if any)

Error Handling

  • The server will validate credentials before starting
  • API errors are properly handled and returned to the client
  • Detailed error messages help with troubleshooting

License

MIT

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A server that enables LLMs to interact with Lark/Feishu services, currently supporting employee information queries via Lark's Contact API.

  1. Features
    1. Prerequisites
      1. Installation
        1. Usage
          1. 1. Using Command Line Arguments (Recommended)
          2. 2. Using Environment Variables
        2. Available Tools
          1. get-user-info
        3. Development
          1. Configuration
            1. Error Handling
              1. License
                1. Contributing

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP-based service that enables AI models to seamlessly interact with Feishu (Lark) platform, supporting document reading and chatbot messaging capabilities.
                    Last updated -
                    8
                    37
                    TypeScript
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables AI models to perform function calls through Feishu/Lark messaging platform, using your personal account (no bot configuration needed) to create a full-featured AI assistant.
                    Last updated -
                    100
                    Python
                    • Linux
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A toolkit that enables AI assistants to directly call Feishu/Lark API interfaces for automation scenarios like document processing, conversation management, and calendar scheduling.
                    Last updated -
                    2,332
                    133
                    TypeScript
                    MIT License
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that provides LLMs with read and write access to Feishu Base (飞书多维表格) databases, enabling them to inspect schemas and manipulate records through natural language.
                    Last updated -
                    2
                    3
                    TypeScript

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/lorrylockie/lark-mcp'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server