productivity
Hubstaff MCP, CLI, and Lua Integration for AI Agents
Hubstaff integration docs for AI agents: MCP gateway setup, Hubstaff CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Bearer token auth
Hubstaff for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
hubstaff- route_slug
hubstaff- package
hubstaff- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Hubstaff CLIHeadless setup and direct function calls. Hubstaff MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Hubstaff MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Hubstaff.
Claude Code Hubstaff MCP setup for Claude Code. Cursor Hubstaff MCP setup for Cursor. Codex Hubstaff MCP setup for Codex. OpenAI Agents Hubstaff MCP setup for OpenAI Agents SDK. Claude Agent SDK Hubstaff MCP setup for Claude Agent SDK. Vercel AI SDK Hubstaff MCP setup for Vercel AI SDK. LangChain Hubstaff MCP setup for LangChain. LangGraph Hubstaff MCP setup for LangGraph. CrewAI Hubstaff MCP setup for CrewAI. MCP clients Hubstaff MCP setup for Generic MCP Clients.
Hubstaff CLI Matrix
Use these pages for direct Hubstaff CLI workflows in scripts, CI, cron, and agent wrappers.
CI Hubstaff CLI for CI. Cron Jobs Hubstaff CLI for cron jobs. Shell Scripts Hubstaff CLI for shell scripts. Headless Automation Hubstaff CLI for headless automation. Coding Agents Hubstaff CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
hubstaff.hubstaff_list_time_entries | Read read | 6 | List time entries from Hubstaff. Supports filtering by date range, user IDs, and project ID. Returns tracked time entries with duration, notes, and associated project/user information. |
hubstaff.hubstaff_get_time_entry | Read read | 1 | Get details for a specific Hubstaff time entry by its ID. Returns the full time entry record including duration, notes, project, and user information. |
hubstaff.hubstaff_create_time_entry | Write write | 4 | Create a new manual time entry in Hubstaff. Requires a project ID, date, and duration. Optionally add notes to describe the work performed. |
hubstaff.hubstaff_list_projects | Read read | 3 | List projects from Hubstaff. Optionally filter by status (active, archived). Supports pagination to browse through large numbers of projects. |
hubstaff.hubstaff_get_project | Read read | 1 | Get details for a specific Hubstaff project by its ID. Returns project name, status, budget, and other metadata. |
hubstaff.hubstaff_list_organizations | Read read | 2 | List organizations the authenticated user belongs to in Hubstaff. Returns organization names, IDs, and other metadata. Supports pagination. |
hubstaff.hubstaff_get_current_user | Read read | 0 | Get the profile of the currently authenticated Hubstaff user. Returns name, email, timezone, and other account information. |