Timesheet

io.github.timesheetIO由 GitHub 帳號 timesheetIO 發布v2.0.2更新於 Oct 25, 2026

timesheet.io MCP server - manage timers, projects, tasks and reports

已驗證Streamable HTTP可網頁執行效率與工作流資料與分析

概覽

AI 產生的概覽

Timesheet MCP 伺服器讓 AI 助理操作 timesheet.io:啟動計時器、記錄工時、取得統計與匯出,並管理專案、休假和團隊。

可以做什麼
啟動、暫停、繼續、停止並編輯正在執行的計時器,以工時項目補記過去的工作,並加入備註、費用和休息,也可更新或刪除項目。取得總計、可計費工時以及依專案或依日的統計明細,並產生 Excel、CSV、PDF 匯出和文件 PDF。管理專案及其成員、待辦事項、標籤和費率。申請、核准和取消休假,並管理休假類型和合約。管理團隊與組織成員和邀請,查看目前誰在計時。查看並更新帳戶資料和設定。
適用情境
適合已在 timesheet.io 記錄工時、希望用對話取代網頁應用程式的人:啟動計時器、補記工時、查看可計費總計、匯出報表或提出休假申請。
執行需求
可使用託管端點並以 Timesheet 帳戶登入(OAuth)或 API 金鑰,也可用 npx 執行本機 npm 套件,後者需要 Node.js 20 或更高版本以及 TIMESHEET_API_TOKEN 環境變數。API 存取需要 Timesheet Pro 或更高方案。
安裝前請注意
API 權杖可存取你的工時帳戶,請勿放入共用設定。伺服器可建立、更新和刪除工時項目與專案,申請或核准休假,並變更團隊成員,確認前請檢查寫入操作。匯出內容可寄送電子郵件給收件者。執行本機 HTTP 伺服器時,若可能被電腦以外存取,請不要設定 TIMESHEET_API_TOKEN。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Timesheet,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.timesheetIO%2Ftimesheet-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "timesheet": {
      "type": "http",
      "url": "https://mcp.timesheet.io/"
    }
  }
}

README

Timesheet MCP Server

[npm version] [License: MIT] [Node.js Version] [MCP Compatible]

Control Timesheet with natural language from AI assistants such as ChatGPT, Claude, Claude Code, Cursor, and VS Code. Start and stop timers, log past work, pull statistics and exports, request time off, and manage projects and teams by chatting.

The server supports the current version of the Model Context Protocol (2026-07-28) and the earlier ones, so it works with new and older clients alike. The full guide is at docs.timesheet.io.

Two ways to connect

Hosted serverLocal server
Addresshttps://mcp.timesheet.ioRuns on your computer with npx -y @timesheet/mcp
Sign-inYour Timesheet account (OAuth 2.1), or an API keyAn API key
RequirementsNoneNode.js 20 or higher

Both offer the same tools. You need a Timesheet Pro plan or above, which includes API access.

Get an API key

In the Timesheet web app, go to Integrations > API Keys, select New API Key, and copy the key. The same key works for the hosted server, the local server, and the Timesheet API.

Use the hosted server

ChatGPT: turn on developer mode, add a connection with the URL https://mcp.timesheet.io, and sign in with your Timesheet account when asked.

Claude Code with an API key:

bash
claude mcp add --transport http --scope user timesheet https://mcp.timesheet.io --header "Authorization: Bearer your-api-token-here"

Cursor (~/.cursor/mcp.json):

json
{  "mcpServers": {    "timesheet": {      "url": "https://mcp.timesheet.io",      "headers": { "Authorization": "Bearer your-api-token-here" }    }  }}

Use the local server

Claude Code:

bash
claude mcp add timesheet --scope user -e TIMESHEET_API_TOKEN=your-api-token-here -- npx -y @timesheet/mcp

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows), and other clients with the same format:

json
{  "mcpServers": {    "timesheet": {      "command": "npx",      "args": ["-y", "@timesheet/mcp"],      "env": {        "TIMESHEET_API_TOKEN": "your-api-token-here"      }    }  }}

Restart the client after you change its configuration. The guide has the setup for VS Code and other clients.

Example prompts

  • "Start the timer for the website project"
  • "Pause my timer, I'm taking lunch", then "Stop the timer"
  • "Log 2 hours on the API project for Monday"
  • "What did I work on yesterday?"
  • "How many billable hours did I track in September?"
  • "Email the September timesheet for Acme as a PDF to [email protected]"
  • "Book me off next Friday"
  • "Who on my team is tracking right now?"

Tools

The server offers more than 100 tools. The assistant picks the right ones, so you do not need to name them.

AreaWhat the tools do
TimerStart, pause, resume, stop, and edit the running timer
Time entriesList, create, update, and delete entries, and add notes, expenses, and breaks
StatisticsTotals, billable hours, and per-project and daily breakdowns for up to a year
Reports and exportsExcel, CSV, and PDF exports, export templates, and PDFs of documents, tasks, expenses, and notes
Projects, todos, and tagsManage projects and their members, todos, tags, and rates
Time off and contractsRequest, approve, and cancel absences, and manage absence types and contracts
Teams and organizationsManage members and invitations, and see who is tracking time right now
AccountView and update your profile and settings

The guide lists every tool.

Interactive cards

In clients that support MCP Apps, such as ChatGPT and Claude, the timer, new and changed time entries, statistics, exports, and absence requests appear as interactive cards. They follow the client's light or dark theme and language. Other clients show the same information as text.

Development

bash
npm installnpm run build       # server and widgetsnpm test            # unit testsnpm run test:e2e    # both protocol versions over stdio and HTTP, against the buildnpm run dev         # HTTP server on http://127.0.0.1:3000

The HTTP server uses TIMESHEET_API_TOKEN for requests that bring no credentials, so leave it unset whenever the server can be reached from outside your computer. See .env.example for the other settings.

Troubleshooting

  • Nothing responds, or you get an authentication error: check that TIMESHEET_API_TOKEN is set without extra spaces or quotes, and that the key still exists in Integrations > API Keys.
  • The command is not found: check that Node.js 20 or higher is installed with node --version.
  • A tool reports that it needs a higher plan: the MCP server works with a Pro plan or above.

License

MIT, see LICENSE.md.

Support

Report problems and ideas at github.com/timesheetIO/timesheet-mcp/issues.

來源:README.md,提交 48394cb

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

4
  1. v2.0.2最新Sep 27, 2026
  2. v2.0.1Sep 27, 2026
  3. v2.0.0Sep 27, 2026
  4. v1.0.5Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分