Skip to content

Commit a4a7ff4

Browse files
Refactor and unit tests
1 parent f2fe1c4 commit a4a7ff4

17 files changed

+6173
-878
lines changed

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
dist
2-
node_modules
2+
node_modules
3+
.specstory
4+
.DS_Store
5+
.idea
6+
.vscode
7+
.env
8+
.env.local
9+
.cursor
10+
artifacts

README.md

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,57 @@
1-
# MCP TaskManager
1+
# MCP Task Manager
22

3-
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
3+
A Model Context Protocol (MCP) server for AI task management. This tool helps AI assistants handle multi-step tasks in a structured way, with user approval checkpoints.
4+
5+
## Features
6+
7+
- Task planning with multiple steps
8+
- Progress tracking
9+
- User approval of completed tasks
10+
- Request completion approval
11+
- Task details visualization
12+
13+
## Structure
14+
15+
The codebase has been refactored into a modular structure:
16+
17+
```
18+
src/
19+
├── index.ts # Main entry point
20+
├── server/
21+
│ └── TaskManagerServer.ts # Core server functionality
22+
└── types/
23+
├── index.ts # Type definitions and schemas
24+
└── tools.ts # MCP tool definitions
25+
```
26+
27+
## Installation
28+
29+
```bash
30+
npm install
31+
npm run build
32+
```
33+
34+
## Usage
35+
36+
```bash
37+
npm start
38+
```
39+
40+
You can also set a custom path for the tasks file:
41+
42+
```bash
43+
TASK_MANAGER_FILE_PATH=/path/to/tasks.json npm start
44+
```
45+
46+
## Development
47+
48+
```bash
49+
npm run dev
50+
```
51+
52+
## License
53+
54+
MIT
455

556
<a href="https://glama.ai/mcp/servers/bdjh7kx05h"><img width="380" height="200" src="https://glama.ai/mcp/servers/bdjh7kx05h/badge" alt="@kazuph/mcp-taskmanager MCP server" /></a>
657

jest.config.cjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
preset: 'ts-jest/presets/default-esm',
3+
testEnvironment: 'node',
4+
extensionsToTreatAsEsm: ['.ts'],
5+
moduleNameMapper: {
6+
'^(\\.{1,2}/.*)\\.js$': '$1',
7+
},
8+
transform: {
9+
'^.+\\.ts$': [
10+
'ts-jest',
11+
{
12+
useESM: true,
13+
},
14+
],
15+
},
16+
modulePathIgnorePatterns: ['<rootDir>/dist/'],
17+
};

0 commit comments

Comments
 (0)