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 分