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: timedoctor-mcp
設定
.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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceA Model Context Protocol (MCP) server for accessing Productive.io API endpoints (projects, tasks, comments, todos), tailored for read-only operations, providing streamlined access to essential data while minimizing token consumption18MIT
- AlicenseBqualityCmaintenanceMCP Server for extracting Time Doctor time tracking data via AI assistants.42MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for Hubstaff API integration, enabling seamless time tracking, project management, and team collaboration through AI assistants.4MIT
- AlicenseBqualityCmaintenanceMCP server enabling natural language interaction with Hubstaff data, including organizations, projects, members, tasks, and tracked-time activities.10MIT
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/copperdiver/mcp-hubstuff'
If you have feedback or need assistance with the MCP directory API, please join our Discord server