任务管理的模型上下文协议服务器。这允许Claude Desktop(或任何MCP客户端)在一个基于队列的系统中管理和执行任务。
<a href="https://glama.ai/mcp/servers/bdjh7kx05h"><img width="380" height="200" src="https://gips1.baidu.com/it/u=290765023,1105417803&fm=3081&app=3081&f=PNG?w=760&h=400" alt="@kazuph/mcp-taskmanager MCP server" /></a>
brew install node 安装)~/Library/Application Support/Claude/claude_desktop_config.json你可以通过以下步骤找到这个文件:
打开Claude Desktop
点击Mac菜单栏中的Claude
点击“设置”
点击“开发者”
在配置中添加以下内容:
{
"tools": {
"taskmanager": {
"command": "npx",
"args": ["-y", "@kazuph/mcp-taskmanager"]
}
}
}
brew install node 安装)npm install -g tsx 安装)git clone https://github.com/kazuph/mcp-taskmanager.git
cd mcp-taskmanager
npm install
npm run build
确保已经安装并运行了Claude Desktop。
如果还没有全局安装tsx,请执行以下命令:
npm install -g tsx
# 或
pnpm add -g tsx
~/Library/Application Support/Claude/claude_desktop_config.json在你的MCP客户端配置中添加以下内容:
{
"tools": {
"taskmanager": {
"args": ["tsx", "/path/to/mcp-taskmanager/index.ts"]
}
}
}
TaskManager支持两个主要操作阶段:
action: "plan" | "execute" | "complete"tasks: 任务字符串数组(对于"plan"操作是必需的)taskId: 任务标识符(对于"complete"操作是必需的)getNext: 布尔标志,用于请求下一个任务(对于"execute"操作)// 规划阶段
{
action: "plan",
tasks: ["Task 1", "Task 2", "Task 3"]
}
// 执行阶段
{
action: "execute",
getNext: true
}
// 完成任务
{
action: "complete",
taskId: "task-123"
}