Skip to main content
Glama

Lark MCP Server

by lorrylockie

Lark MCP 服务器

与 Lark/飞书 API 集成的模型上下文协议 (MCP) 服务器,允许 LLM 与 Lark 服务进行交互。

特征

  • 使用 Lark 的 Contact API 查询员工信息
  • 更多功能即将推出...

先决条件

  • Node.js 16 或更高版本
  • 一个带有 App ID 和 App Secret 的 Lark/飞书应用
  • Claude 桌面版或其他 MCP 客户端

安装

npm install npm run build

用法

您可以通过两种方式运行服务器:

1. 使用命令行参数(推荐)

npx lark-mcp <app_id> <app_secret>

<app_id><app_secret>替换为您的 Lark 应用程序凭据。

2.使用环境变量

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

可用工具

获取用户信息

使用员工 ID 检索员工信息。

Claude 中的用法示例:

Please look up employee information for ID 12345

发展

  1. 克隆存储库
  2. 安装依赖项:
    npm install
  3. 构建项目:
    npm run build
  4. 以开发模式启动服务器:
    npm run dev

配置

服务器按以下顺序确定凭证的优先级:

  1. 命令行参数
  2. 环境变量
  3. 默认值(如果有)

错误处理

  • 服务器将在启动前验证凭据
  • API 错误得到正确处理并返回给客户端
  • 详细的错误消息有助于故障排除

执照

麻省理工学院

贡献

  1. 分叉存储库
  2. 创建你的功能分支
  3. 提交你的更改
  4. 推送到分支
  5. 创建新的 Pull 请求
-
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.

一个支持 LLM 与 Lark/飞书服务交互的服务器,目前支持通过 Lark 的 Contact API 查询员工信息。

  1. 特征
    1. 先决条件
      1. 安装
        1. 用法
          1. 1. 使用命令行参数(推荐)
          2. 2.使用环境变量
        2. 可用工具
          1. 获取用户信息
        3. 发展
          1. 配置
            1. 错误处理
              1. 执照
                1. 贡献

                  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 -
                    4
                    39
                    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 -
                    109
                    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 -
                    1,387
                    180
                    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
                    4
                    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