AgentStack
MCP verified MIT Self-run

Int Mcp Hubstaff

mcp-humblebeeai-int-mcp-hubstaff · by humblebeeai

MCP server from humblebeeai/int-mcp-hubstaff.

No reviews yet
0 installs
20 views
0.0% view→install

Install

$ agentstack add mcp-humblebeeai-int-mcp-hubstaff

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access Used
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Int Mcp Hubstaff? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Hubstaff MCP Server

MCP server for tracking time, activity logs, and Hubstaff Task operations. This document covers setup, token handling, and available tools.

Prerequisites

  • Python 3.10+
  • Hubstaff account with API access
  • Organization IDs for Hubstaff Core and (optionally) Hubstaff Tasks

Configuration

Copy the sample env file and fill in the required values:

cp .env.example .env

Update .env with the variables managed in src/hubstaff_mcp/config.py:

HUBSTAFF_REFRESH_TOKEN=your_refresh_token
HUBSTAFF_ORGANIZATION_ID=your_org_id
# Optional
HUBSTAFF_TASKS_ORGANIZATION_ID=your_tasks_org_id
PORT=8000

Token Management (tokens.json)

  • On startup the server imports src/hubstaff_mcp/token_cache.py, which ensures a tokens.json file exists in the working directory.
  • The cache stores the current access_token, refresh_token, and timestamp. Access tokens are refreshed automatically when older than six days.
  • Add tokens.json to .gitignore (and avoid committing it anywhere) because it contains live credentials.
  • When the cache refreshes, Hubstaff may return a new refresh token; the file updates automatically.

Obtaining a Refresh Token

  1. Log into Hubstaff and open the Developer / Personal Access Tokens page.
  2. Create a new token with the scopes required for your MCP operations.
  3. Copy the refresh token value and place it in HUBSTAFF_REFRESH_TOKEN. Do not share or commit this token.

Local Setup

pip install -r requirements.txt
python -m hubstaff_mcp.server

The MCP server runs on PORT (default 8000).

Docker Setup

docker-compose up -d

Mount a volume if you want to persist tokens.json across container restarts.

MCP Client Setup

Claude Desktop

  1. Start Claude once so it creates claude_desktop_config.json.
  2. Edit the config file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  1. Under the mcpServers section add:
"hubstaff-mcp": {
  "type": "remote",
  "enabled": true,
  "url": "http://localhost:8000/mcp"
}
  1. Restart Claude. If the server is running remotely, replace localhost with its HTTPS endpoint.

OpenCode CLI

  1. Open (or create) ~/.opencode/mcp.json.
  2. Add the same remote server entry inside the servers object:
"hubstaff-mcp": {
  "type": "remote",
  "enabled": true,
  "url": "http://localhost:8000/mcp"
}
  1. Restart the OpenCode CLI or run opencode reload so the new MCP server becomes available.

Available Tools

  • get_time_breakdown - Get daily time breakdown by project and task
  • get_project_hours - Get total hours spent on a project
  • get_team_time_summary - Get time summary for team members
  • list_team_members - List available team members
  • list_projects - List accessible projects
  • list_todos - List tasks/todos
  • create_todo - Create a new task

Usage Tips

  1. Call list_team_members to get available user IDs.
  2. Pass those IDs plus specific date ranges into reporting endpoints.
  3. Keep tokens.json secure; delete it if rotating credentials so the server regenerates it with the new refresh token.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.