Loxo MCP Server

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.

Integrations

  • Loads environment variables from a .env file for configuration, including Loxo API credentials required for authentication with the Loxo platform.

  • Provides version control for the codebase, allowing developers to clone the repository and manage their own implementations of the Loxo MCP server.

  • Used for package management, dependency installation, and running build and development scripts for the Loxo MCP server.

Loxo MCP 服务器

模型上下文协议 (MCP) 服务器提供与 Loxo 招聘平台 API 交互的工具。该服务器使 AI 助手能够执行各种与招聘相关的任务,例如管理候选人、工作、活动和呼叫队列。

安装

# Clone the repository git clone [repository-url] cd loxo-mcp-server # Install dependencies npm install # Build the project npm run build

配置

将提供的.env.example文件复制到.env并填写您的值:

cp .env.example .env

然后使用您的配置更新.env文件:

LOXO_API_KEY=your_api_key LOXO_DOMAIN=app.loxo.co LOXO_AGENCY_SLUG=your_agency_slug

所需的环境变量:

  • LOXO_API_KEY :您的 Loxo API 密钥
  • LOXO_AGENCY_SLUG :您的机构在 Loxo 中的 slug
  • LOXO_DOMAIN :(可选)默认为“app.loxo.co”

可用工具

活动管理

  • get-activity-types :检索可用活动类型的列表
  • spark-search-activity-types :从 Spark Search 获取活动类型
  • get-todays-tasks :获取今天的所有任务和计划活动
  • schedule-activity :安排未来的活动(电话、会议等)
  • log-activity :记录候选人或职位的活动

呼叫队列管理

  • get-call-queue :查看当前呼叫队列
  • add-to-call-queue :将候选人或联系人添加到呼叫队列

候选人管理

  • search-candidates :在 Loxo 中搜索候选人
  • get-candidate :获取特定候选人的详细信息
  • add-note :为候选人添加注释

作业管理

  • search-jobs :在 Loxo 搜索职位
  • get-job :获取特定工作的详细信息
  • add-note :为工作添加注释

发展

# Run in development mode with watch mode npm run dev # Build the project npm run build # Start the server npm start

类型安全

服务器使用 Zod 进行以下运行时类型验证:

  • 环境变量
  • 工具输入参数
  • API 响应

错误处理

该服务器包括针对以下方面的全面错误处理:

  • 环境验证
  • API 请求失败
  • 工具参数无效
  • 未知工具请求

建筑学

  • 使用模型上下文协议 SDK 构建
  • 通过 stdio 进行通信,实现与 AI 助手的无缝集成
  • 使用 TypeScript 实现类型安全并改善开发人员体验
  • 实现对 Loxo 平台的 RESTful API 调用

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

实现与 Loxo 招聘平台 API 的交互,通过 AI 助手促进候选人和工作管理、活动记录和呼叫队列管理等任务。

  1. Installation
    1. Configuration
      1. Available Tools
        1. Activity Management
        2. Call Queue Management
        3. Candidate Management
        4. Job Management
      2. Development
        1. Type Safety
          1. Error Handling
            1. Architecture
              ID: rj00ooup46