@damper/mcp 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,25 +40,73 @@ Damper → Settings → API Keys → Generate
|
|
|
40
40
|
}
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
### Multiple Projects
|
|
44
|
+
|
|
45
|
+
Each API key is tied to one project. For multiple projects, configure separate server entries:
|
|
46
|
+
|
|
47
|
+
**Claude Code** (`~/.claude.json`):
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"mcpServers": {
|
|
51
|
+
"damper-frontend": {
|
|
52
|
+
"command": "damper",
|
|
53
|
+
"env": { "DAMPER_API_KEY": "dmp_frontend_xxx" }
|
|
54
|
+
},
|
|
55
|
+
"damper-backend": {
|
|
56
|
+
"command": "damper",
|
|
57
|
+
"env": { "DAMPER_API_KEY": "dmp_backend_xxx" }
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
The AI will see tools from both servers and can distinguish between them:
|
|
64
|
+
- "list tasks from damper-frontend"
|
|
65
|
+
- "start the auth bug in damper-backend"
|
|
66
|
+
|
|
43
67
|
## Tools
|
|
44
68
|
|
|
45
69
|
| Tool | Description |
|
|
46
70
|
|------|-------------|
|
|
47
|
-
| `list_tasks` | Get roadmap tasks |
|
|
48
|
-
| `get_task` | Task details + feedback |
|
|
49
|
-
| `create_task` | Create task (
|
|
50
|
-
| `start_task` |
|
|
71
|
+
| `list_tasks` | Get roadmap tasks (filter by `status`, `type`) |
|
|
72
|
+
| `get_task` | Task details + linked feedback |
|
|
73
|
+
| `create_task` | Create task with type (bug, feature, improvement, task) |
|
|
74
|
+
| `start_task` | Lock and start task (use `force` to take over) |
|
|
51
75
|
| `add_note` | Add progress note |
|
|
52
|
-
| `complete_task` | Mark done |
|
|
76
|
+
| `complete_task` | Mark done, release lock |
|
|
77
|
+
| `abandon_task` | Release lock, return to planned |
|
|
53
78
|
| `list_feedback` | Browse user feedback |
|
|
54
|
-
| `get_feedback` | Feedback details |
|
|
79
|
+
| `get_feedback` | Feedback details + votes |
|
|
80
|
+
|
|
81
|
+
### Task Types
|
|
82
|
+
|
|
83
|
+
Filter tasks by type to prioritize work:
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
> List all bugs
|
|
87
|
+
> Work on the first feature
|
|
88
|
+
> Show me improvement tasks
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Types: `bug` 🐛, `feature` ✨, `improvement` 💡, `task` 📌
|
|
92
|
+
|
|
93
|
+
### Task Locking
|
|
94
|
+
|
|
95
|
+
When you start a task, it's locked to prevent other agents from working on it simultaneously:
|
|
96
|
+
|
|
97
|
+
- Same agent starting again → success (idempotent)
|
|
98
|
+
- Different agent starting → fails with 409 (use `force: true` to take over)
|
|
99
|
+
- Complete or abandon → releases lock
|
|
55
100
|
|
|
56
|
-
## Usage
|
|
101
|
+
## Usage Examples
|
|
57
102
|
|
|
58
103
|
```
|
|
59
104
|
> What tasks are available?
|
|
105
|
+
> List bugs I can fix
|
|
60
106
|
> Import my TODO.md into Damper
|
|
61
|
-
> Work on the dark mode
|
|
107
|
+
> Work on the dark mode feature
|
|
108
|
+
> I'm done with the auth task - tests pass
|
|
109
|
+
> Abandon the current task, I'm blocked
|
|
62
110
|
```
|
|
63
111
|
|
|
64
112
|
## Environment
|