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. 使用命令行参数(推荐)
          2. 2.使用环境变量
        2. 可用工具
          1. 获取用户信息
        3. 发展
          1. 配置
            1. 错误处理
              1. 执照
                1. 贡献

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
                    Last updated -
                    10
                    77
                    Python
                    MIT License
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A Model Context Protocol server that enables LLMs to interact with Ramp's financial data by retrieving, analyzing, and running tasks through Ramp's Developer API, using an in-memory SQLite database to overcome token limitations.
                    Last updated -
                    14
                    Python
                    MIT License
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.
                    Last updated -
                    5
                    Python
                    Apache 2.0
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A server that manages conversation context for LLM interactions, storing recent prompts and providing relevant context for each user via REST API endpoints.
                    Last updated -
                    645
                    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