KosmoKrator

productivity

Hubstaff MCP Integration for Generic MCP Clients

Connect Hubstaff to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Bearer token auth

Connect Hubstaff to Generic MCP Clients

Connect any stdio-compatible MCP client to local KosmoKrator integration tools.

Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with --write=deny so MCP clients can inspect read-capable tools without receiving write access by default.

Hubstaff MCP Config for Generic MCP Clients

Start with read-only write policy and expand only for trusted projects.

{
  "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

Scoped tools

Expose only Hubstaff instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Hubstaff Tools Visible to MCP clients

MCP clients sees stable MCP tool names generated from the Hubstaff integration catalog.

MCP toolSource functionTypeDescription
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.

Related Hubstaff Pages