Work Dairy MCP
工时管理MCP服务 - 支持登录、工时填写、查询等功能
安装
方式一:本地开发安装(使用 uv)
本项目使用 uv 管理 Python 虚拟环境和依赖。
-
安装 uv
# Windows powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
-
克隆代码
git clone <repository-url> cd mcp
-
创建虚拟环境并安装依赖
uv sync -
运行项目
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| project_manage_mcp-0.1.0.tar.gz | 10.9 kB | Without provenance | Details for project_manage_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| project_manage_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for project_manage_mcp-0.1.0-py3-none-any.whl |
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}
|
Security for project-manage-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.