productivity
Hubstaff MCP Integration for Claude Code
Connect Hubstaff to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Hubstaff to Claude Code
Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.
Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Code can inspect read-capable tools without receiving write access by default.
Hubstaff MCP Config for Claude Code
Claude Code can launch the local kosmo binary directly from the project MCP config.
{
"mcpServers": {
"kosmokrator-hubstaff": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=hubstaff",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=hubstaff --write=deny Why Use KosmoKrator Here
Expose only Hubstaff instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Hubstaff Tools Visible to Claude Code
Claude Code sees stable MCP tool names generated from the Hubstaff integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__hubstaff__hubstaff_list_time_entries | hubstaff.hubstaff_list_time_entries | Read | 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. |
integration__hubstaff__hubstaff_get_time_entry | hubstaff.hubstaff_get_time_entry | Read | Get details for a specific Hubstaff time entry by its ID. Returns the full time entry record including duration, notes, project, and user information. |
integration__hubstaff__hubstaff_create_time_entry | hubstaff.hubstaff_create_time_entry | Write | Create a new manual time entry in Hubstaff. Requires a project ID, date, and duration. Optionally add notes to describe the work performed. |
integration__hubstaff__hubstaff_list_projects | hubstaff.hubstaff_list_projects | Read | List projects from Hubstaff. Optionally filter by status (active, archived). Supports pagination to browse through large numbers of projects. |
integration__hubstaff__hubstaff_get_project | hubstaff.hubstaff_get_project | Read | Get details for a specific Hubstaff project by its ID. Returns project name, status, budget, and other metadata. |
integration__hubstaff__hubstaff_list_organizations | hubstaff.hubstaff_list_organizations | Read | List organizations the authenticated user belongs to in Hubstaff. Returns organization names, IDs, and other metadata. Supports pagination. |
integration__hubstaff__hubstaff_get_current_user | hubstaff.hubstaff_get_current_user | Read | Get the profile of the currently authenticated Hubstaff user. Returns name, email, timezone, and other account information. |