cl-bamboohr-mcp

cl-bamboohr-mcp

A comprehensive BambooHR MCP server providing read/write access to employee data, time-off, files, analytics, and reports.

Category
访问服务器

README

cl-bamboohr-mcp

A comprehensive BambooHR MCP (Model Context Protocol) server providing read/write access to employee data, time-off, files, analytics, and reports.

Background

This project was built by evaluating three existing open-source BambooHR MCP servers, then combining the best architecture, features, and API coverage from all three into a single, secure, well-tested server:

Source Repo What we took
Architectural base evrimalacan/mcp-bamboohr Cleanest TypeScript, proven test patterns, singleton client, core read tools (employee, time-off, files, meta)
Write operations a-isakov/bamboohr-mcp update-employee, create-time-off-request, employee files, departments
Analytics & reports zuharz/bamboo-mcp-unofficial Workforce analytics, custom reports, dataset discovery, find-employee, get-team-info, caching/retry patterns

All three source repos are MIT-licensed. None were production-quality individually (0-2 GitHub stars, security issues like API key leaks in logs, missing input validation). This project addresses those gaps with proper input validation, credential sanitization, field allowlists for write operations, and comprehensive test coverage.

The entire server — code, tests, and documentation — was generated by Claude (Opus 4.6) based on a detailed architecture plan derived from auditing the three source repos.

Features

  • 21 tools covering the full BambooHR API surface
  • Read and write operations (employee updates, time-off requests)
  • Built-in caching, retry with exponential backoff, and error categorization
  • Security hardening: input validation, credential sanitization, field allowlists
  • TypeScript with 100+ tests

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "bamboohr": {
      "command": "node",
      "args": ["/path/to/cl-bamboohr-mcp/dist/index.js"],
      "env": {
        "BAMBOO_API_TOKEN": "your-api-key",
        "BAMBOO_COMPANY_DOMAIN": "your-company"
      }
    }
  }
}

From Source

git clone https://github.com/iseletsk/cl-bamboohr-mcp.git
cd cl-bamboohr-mcp
npm install
npm run build

Environment Variables

Variable Required Default Description
BAMBOO_API_TOKEN Yes BambooHR API key
BAMBOO_COMPANY_DOMAIN Yes Company subdomain
DEBUG No false Enable debug logging
BAMBOO_CACHE_TTL_MS No 300000 Cache TTL in ms (5 min)
BAMBOO_MAX_RETRIES No 3 Max retry attempts
BAMBOO_REQUEST_TIMEOUT_MS No 30000 Request timeout in ms
BAMBOO_UPDATE_ALLOWED_FIELDS No Comma-separated allowlist for update-employee

Tools

Employee Management (6)

  • get-employee — Get employee details by ID
  • find-employee — Search directory by name/email/department
  • update-employee — Update employee fields (WRITE)
  • get-employee-directory — Full company directory
  • get-employee-photo — Employee photo URL
  • get-employee-goals — Performance goals

Time Off (4)

  • get-whos-out — Who's currently out
  • get-time-off-requests — Filter requests by date/status
  • estimate-time-off-balance — Future balance estimate
  • create-time-off-request — Create a request (WRITE)

Files (3)

  • list-company-files — Company files by category
  • get-company-file — File metadata
  • get-employee-files — Employee files by category

Organization (3)

  • get-meta-fields — Field metadata (filterable by type)
  • get-departments — All departments
  • get-team-info — Team members by supervisor/department

Analytics (3)

  • discover-datasets — Available datasets
  • discover-fields — Fields in a dataset
  • workforce-analytics — Query datasets with filters

Reports (2)

  • list-custom-reports — Saved reports
  • run-custom-report — Execute a report

Security

  • All IDs validated (numeric regex for employee/file/report IDs)
  • Subdomain validated at startup
  • No credential logging — auth stripped from error objects
  • Optional field allowlist for write operations
  • Dates and enums validated via Zod schemas

Development

npm test              # Run tests
npm run test:coverage # Run with coverage
npm run build         # TypeScript compilation
npm run lint          # Type check only

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选