Skip to main content

Work Dairy MCP

工时管理MCP服务 - 支持登录、工时填写、查询等功能

安装

方式一:本地开发安装(使用 uv)

本项目使用 uv 管理 Python 虚拟环境和依赖。

  1. 安装 uv

    # Windows
    powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
    
  2. 克隆代码

    git clone <repository-url>
    cd mcp
    
  3. 创建虚拟环境并安装依赖

    uv sync
    
  4. 运行项目

    uv run python -m project_manage_mcp
    

配置

环境变量

变量名 说明 默认值
WORK_DAIRY_BASE_URL API服务地址 http://localhost:8080
WORK_DAIRY_TOKEN 认证Token(可选) 空

Cursor配置

创建 .cursor/mcp.json:

{
  "mcpServers": {
    "work-dairy": {
      "command": "uvx",
      "args": ["work-dairy-mcp"],
      "env": {
        "WORK_DAIRY_BASE_URL": "https://your-api-server"
      }
    }
  }
}

可用工具

工具名称 说明
login 用户登录,获取Token
working_hours_add_or_update 工时填写
working_hours_get_page 工时分页查询
working_hours_get_list 工时列表查询
working_hours_get 工时详情查询

使用示例

  • "帮我登录系统"
  • "查询我最近的工作日志"
  • "帮我填写今天的工时"
  • "查看我上个月的工时记录"

License

CTGD

Metadata

Release files for project-manage-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for project-manage-mcp 0.1.0
File Size Uploaded
project_manage_mcp-0.1.0.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for project-manage-mcp 0.1.0
File Interpreter ABI Platform
project_manage_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.1 kB

Release files / project_manage_mcp-0.1.0.tar.gz

Download URL project_manage_mcp-0.1.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c14e21d42c87720620e1661891bcc19a9e5372bb1790bff46097c66fd1a32a54
BLAKE2b-256 checksum
How to use checksums
bcbf22577e2c872d3357986c2bca00762e899e1ca09da950e2737dc6111a9f87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / project_manage_mcp-0.1.0-py3-none-any.whl

Download URL project_manage_mcp-0.1.0-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2dbdc5f9c282d8540c9b18588a552a8b52a6e20e8970c77d10092c7b8d72573
BLAKE2b-256 checksum
How to use checksums
e53521735b69dde399c32df54de653d08166a9428be1fb82f08d693b89e06185
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page