项目管理MCP
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
project_manage_mcp-0.1.0.tar.gz
(10.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file project_manage_mcp-0.1.0.tar.gz.
File metadata
- Download URL: project_manage_mcp-0.1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c14e21d42c87720620e1661891bcc19a9e5372bb1790bff46097c66fd1a32a54
|
|
| MD5 |
480df8392d277b045b89c03d55cee198
|
|
| BLAKE2b-256 |
bcbf22577e2c872d3357986c2bca00762e899e1ca09da950e2737dc6111a9f87
|
File details
Details for the file project_manage_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: project_manage_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2dbdc5f9c282d8540c9b18588a552a8b52a6e20e8970c77d10092c7b8d72573
|
|
| MD5 |
2395ca72b94ccb9ca7ad33fe8846a6b0
|
|
| BLAKE2b-256 |
e53521735b69dde399c32df54de653d08166a9428be1fb82f08d693b89e06185
|