Hubstaff MCP Server
Hubstaff MCP Server
Hubstaff Time Tracking API v2 と Hubstaff Tasks API v1 用のリモート読み取り専用 MCP サーバー。Streamable HTTP を介して、タスク、最近の変更、コメント、タスクごとの集計時間を提供します。
サーバーには、ChatGPT Developer mode 用の組み込み OAuth 2.1 authorization server が含まれています: DCR、authorization code、PKCE S256、audience-bound JWT access tokens、およびローテーションされる refresh tokens。
MCP tools
hubstaff_list_organizations— 利用可能な組織とその ID。hubstaff_list_tasks— フィルター付きの組織のタスク。hubstaff_get_task— Time Tracking タスクの詳細。hubstaff_recent_updates— 最近変更されたタスクと時間記録。hubstaff_task_hours— タスクの時間とユーザー別の内訳。hubstaff_tasks_list_projects— Hubstaff Tasks のプロジェクト。hubstaff_tasks_list_project_tasks— プロジェクトボードのタスク。hubstaff_tasks_get_task— Hubstaff Tasks タスクの詳細。hubstaff_tasks_list_comments— エンドポイントがプランとトークンで利用可能な場合のタスクのコメント。
すべてのツールはデータの読み取りのみを行います。
Related MCP server: Hubstaff MCP Server
設定
.env.exampleを.envにコピーします。32 文字以上の
MCP_AUTH_TOKENを指定します。ChatGPT の場合は、
OAUTH_ISSUER、OAUTH_USERNAME、OAUTH_PASSWORD、OAUTH_SIGNING_SECRETを指定します。OAuth 状態は/data/oauth-state.jsonに保存されます。Hubstaff 認証のいずれかを選択します:
HUBSTAFF_ORGANIZATION_TOKEN(hsoat_...) — 常時稼働サーバーに推奨されるオプション;HUBSTAFF_REFRESH_TOKEN— Hubstaff が refresh token として発行する Personal Access Token;HUBSTAFF_ACCESS_TOKEN— 一時的な access token。
PAT にはスコープ hubstaff:read と tasks:read が必要です。Hubstaff は交換のたびに refresh token をローテーションします。サーバーは、名前付き Docker volume 内の /data/token.json に最新のペアをアトミックに保存します。元のキーは .env にのみ残り、.env は Git と Docker build context から除外されています。
起動:
npm ci
npm run build
npm test
npm startDocker:
docker compose up -d --buildMCP クライアントの接続
URL:
https://hubstuff-mcp.copperdiver.studio/mcp通常の MCP クライアントでは、サービスヘッダーを使用できます:
Authorization: Bearer <MCP_AUTH_TOKEN>ChatGPT は OAuth で自動的に接続します。サーバーは以下を公開します:
/.well-known/oauth-protected-resource/.well-known/oauth-authorization-server/oauth/register、/oauth/authorize、/oauth/token
ChatGPT で Settings → Security and login → Developer mode を有効にし、Plugins ページで OAuth/DCR 付きの URL https://hubstuff-mcp.copperdiver.studio/mcp を追加します。初回接続時に、サーバーの .env の OAUTH_USERNAME と OAUTH_PASSWORD を入力します。
シークレットなしでの可用性チェック:
curl https://hubstuff-mcp.copperdiver.studio/healthHubstaff の制限
Activity API は 1 回のリクエストで最大 7 日分の間隔を返します。
hubstaff_task_hoursは範囲を自動的に分割します。詳細なアクティビティ履歴は最大約 6 か月分のみ利用可能です。
コメントは Hubstaff Tasks API v1 に属し、一部のプランやスコープ
tasks:readがない場合は返されない場合があります。この場合、ツールはタスク応答に埋め込まれたコメントも確認し、空の結果の代わりにわかりやすいエラーを返します。
公式ドキュメント: Hubstaff API、authentication、tasks、activities。
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server with managed OAuth for 15+ toolkits: Google Workspace, Fitbit, Oura, Kalshi, etc.
The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.
timesheet.io MCP server - manage timers, projects, tasks and reports
- mcp-serverOAuthio.klokin
MCP server exposing klokin time-tracking operations (employees, time entries, stores) to AI clients.
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP Server for extracting Time Doctor time tracking data via AI assistants.429 PyPI2MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for Hubstaff API integration, enabling seamless time tracking, project management, and team collaboration through AI assistants.4MIT
- AlicenseBqualityDmaintenanceMCP server enabling natural language interaction with Hubstaff data, including organizations, projects, members, tasks, and tracked-time activities.101MIT
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for the Weeek Public API. Use it from Cursor or Claude Code to browse projects, search tasks, read attachments, and (with a browser session) load task comments.44 npmMIT