harmony-mcp 1.2.1 → 1.2.2

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.
Files changed (2) hide show
  1. package/README.md +45 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -4,7 +4,9 @@ MCP (Model Context Protocol) server for Harmony Kanban board. Enables AI coding
4
4
 
5
5
  ## Features
6
6
 
7
- - **20+ MCP Tools** for full board control (cards, columns, labels, subtasks)
7
+ - **25+ MCP Tools** for full board control (cards, columns, labels, subtasks, links)
8
+ - **Card Linking** - create relationships between cards (blocks, relates_to, duplicates, is_part_of)
9
+ - **Prompt Builder** - generate AI-ready prompts from cards with context
8
10
  - **Agent Session Tracking** - track work progress with timer badges
9
11
  - **Multi-Agent Support** - works with Claude Code, Codex, Cursor, Windsurf
10
12
  - **One-Command Setup** - auto-configure all supported agents
@@ -113,7 +115,22 @@ harmony-mcp serve # Start MCP server
113
115
  - `harmony_delete_card` - Delete a card
114
116
  - `harmony_assign_card` - Assign to team member
115
117
  - `harmony_search_cards` - Search by title/description
116
- - `harmony_get_card` - Get card details
118
+ - `harmony_get_card` - Get card details by UUID
119
+ - `harmony_get_card_by_short_id` - Get card by short ID (e.g., #42)
120
+
121
+ ### Card Link Operations
122
+
123
+ - `harmony_add_link_to_card` - Create a link between two cards
124
+ - `harmony_remove_link_from_card` - Remove a link between cards
125
+ - `harmony_get_card_links` - Get all links for a card
126
+
127
+ **Link Types:**
128
+ | Type | Description |
129
+ |------|-------------|
130
+ | `relates_to` | Generic relationship between cards |
131
+ | `blocks` | Source card blocks target card |
132
+ | `duplicates` | Source card duplicates target card |
133
+ | `is_part_of` | Source card is part of target card |
117
134
 
118
135
  ### Column Operations
119
136
 
@@ -154,6 +171,28 @@ harmony-mcp serve # Start MCP server
154
171
  - `harmony_end_agent_session` - End session (completed/paused)
155
172
  - `harmony_get_agent_session` - Get current session state
156
173
 
174
+ ### Prompt Generation
175
+
176
+ - `harmony_generate_prompt` - Generate an AI-ready prompt from a card
177
+
178
+ **Parameters:**
179
+ | Parameter | Description |
180
+ |-----------|-------------|
181
+ | `cardId` | Card UUID to generate prompt from |
182
+ | `shortId` | Alternative: Card short ID (e.g., 42 for #42) |
183
+ | `variant` | `analysis` (understand/plan), `draft` (design solution), `execute` (implement fully) |
184
+ | `includeDescription` | Include card description (default: true) |
185
+ | `includeSubtasks` | Include subtasks in prompt (default: true) |
186
+ | `includeLinks` | Include linked cards in prompt (default: true) |
187
+ | `customConstraints` | Additional instructions to append |
188
+
189
+ **Variants:**
190
+ - `analysis` - Understand the problem and create a plan
191
+ - `draft` - Design a solution approach
192
+ - `execute` - Full implementation (default)
193
+
194
+ The prompt builder automatically infers the agent role based on card labels (bug, feature, design, etc.) and includes relevant context from linked cards.
195
+
157
196
  ## Direct API Access
158
197
 
159
198
  You can also call the Harmony API directly from any HTTP client:
@@ -186,6 +225,10 @@ curl -X GET "https://gethmy.com/api/workspaces" \
186
225
  | `/subtasks` | POST | Create subtask |
187
226
  | `/subtasks/:id/toggle` | POST | Toggle subtask |
188
227
  | `/subtasks/:id` | DELETE | Delete subtask |
228
+ | `/cards/:id/links` | GET | Get card links |
229
+ | `/cards/:id/links` | POST | Create card link |
230
+ | `/links/:id` | DELETE | Delete card link |
231
+ | `/cards/:id/prompt` | GET | Generate prompt from card |
189
232
  | `/nlu` | POST | Process natural language |
190
233
 
191
234
  ## Configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harmony-mcp",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "MCP server for Harmony Kanban board - enables AI coding agents to manage your boards",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "https://github.com/Way/getharmony"
16
+ "url": "git+https://github.com/Way/getharmony.git"
17
17
  },
18
18
  "homepage": "https://gethmy.com",
19
19
  "bugs": {