harmony-mcp 1.3.1 → 1.3.3

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 CHANGED
@@ -8,6 +8,7 @@ MCP (Model Context Protocol) server for Harmony Kanban board. Enables AI coding
8
8
  - **Card Linking** - create relationships between cards (blocks, relates_to, duplicates, is_part_of)
9
9
  - **Prompt Builder** - generate AI-ready prompts from cards with context
10
10
  - **Agent Session Tracking** - track work progress with timer badges
11
+ - **Auto-Assignment** - automatically assign cards to you when starting agent sessions
11
12
  - **Multi-Agent Support** - works with Claude Code, Codex, Cursor, Windsurf
12
13
  - **One-Command Setup** - auto-configure all supported agents
13
14
  - **Natural Language Processing** via voice-nlu edge function
@@ -15,43 +16,37 @@ MCP (Model Context Protocol) server for Harmony Kanban board. Enables AI coding
15
16
 
16
17
  ## Quick Start
17
18
 
18
- ### 1. Install
19
-
20
- ```bash
21
- npm install -g harmony-mcp
22
- ```
23
-
24
- ### 2. Generate an API Key
19
+ ### 1. Generate an API Key
25
20
 
26
21
  1. Log into [Harmony](https://gethmy.com)
27
- 2. Go to **Settings → API Keys**
22
+ 2. Go to **Account → API Keys**
28
23
  3. Click **"Generate New Key"**
29
24
  4. Copy the key (it starts with `hmy_`)
30
25
 
31
- ### 3. Configure
26
+ ### 2. Run Setup (Recommended)
32
27
 
33
28
  ```bash
34
- harmony-mcp configure --api-key hmy_your_key_here
29
+ npx harmony-mcp setup
35
30
  ```
36
31
 
37
- ### 4. Initialize for Your AI Agents
32
+ This interactive wizard will:
33
+ - Prompt for your API key
34
+ - Auto-detect your installed AI agents (Claude Code, Cursor, Windsurf, Codex)
35
+ - Configure all detected agents automatically
36
+ - Optionally install globally for faster startup
38
37
 
39
- ```bash
40
- # Auto-detect and configure all installed agents
41
- harmony-mcp init --detect
38
+ ### Alternative: Global Install
42
39
 
43
- # Or configure all supported agents
44
- harmony-mcp init --all
40
+ If you prefer a global installation:
45
41
 
46
- # Or configure specific agents
47
- harmony-mcp init --agent claude codex cursor windsurf
42
+ ```bash
43
+ npm install -g harmony-mcp
44
+ harmony-mcp setup
48
45
  ```
49
46
 
50
- This creates the necessary configuration files and workflow prompts for each agent.
51
-
52
- ### Manual Setup (Alternative)
47
+ ### Manual Setup
53
48
 
54
- If you prefer manual setup for Claude Code:
49
+ For manual configuration of Claude Code:
55
50
 
56
51
  ```bash
57
52
  claude mcp add harmony -- harmony-mcp serve
@@ -86,26 +81,38 @@ When you start working on a card (e.g., `/hmy #42`):
86
81
  1. **Find** - Locates the card by short ID, UUID, or name
87
82
  2. **Move** - Moves the card to "In Progress" column
88
83
  3. **Label** - Adds the "agent" label to indicate AI is working
89
- 4. **Track** - Starts a session timer visible in the UI
90
- 5. **Implement** - Work on the task with progress updates
91
- 6. **Complete** - Move to "Review" when done
84
+ 4. **Assign** - Auto-assigns the card to you (if `userEmail` is configured)
85
+ 5. **Track** - Starts a session timer visible in the UI
86
+ 6. **Implement** - Work on the task with progress updates
87
+ 7. **Complete** - Move to "Review" when done
92
88
 
93
89
  ## CLI Commands
94
90
 
95
91
  ```bash
96
- harmony-mcp configure # Set up API key
97
- harmony-mcp init # Initialize for AI agents (interactive)
98
- harmony-mcp init --all # Configure all supported agents
99
- harmony-mcp init --detect # Auto-detect and configure installed agents
100
- harmony-mcp init --agent X Y # Configure specific agents
101
- harmony-mcp init -w WS -p PROJ # Initialize with local workspace/project context
102
- harmony-mcp status # Show current config (global and local)
103
- harmony-mcp reset # Clear configuration
104
- harmony-mcp set-workspace ID # Set active workspace (global)
105
- harmony-mcp set-workspace ID -l # Set active workspace (local project)
106
- harmony-mcp set-project ID # Set active project (global)
107
- harmony-mcp set-project ID -l # Set active project (local project)
108
- harmony-mcp serve # Start MCP server
92
+ # Setup (recommended)
93
+ harmony-mcp setup # Interactive setup wizard (recommended)
94
+
95
+ # Legacy configuration commands
96
+ harmony-mcp configure # Set up API key (interactive)
97
+ harmony-mcp configure -k KEY -e EMAIL # Set up with API key and email
98
+ harmony-mcp init # Initialize for AI agents (interactive)
99
+ harmony-mcp init --all # Configure all supported agents
100
+ harmony-mcp init --detect # Auto-detect and configure installed agents
101
+ harmony-mcp init --agent X Y # Configure specific agents
102
+ harmony-mcp init -w WS -p PROJ # Initialize with local workspace/project context
103
+
104
+ # Status and management
105
+ harmony-mcp status # Show current config (global and local)
106
+ harmony-mcp reset # Clear configuration
107
+ harmony-mcp set-workspace ID # Set active workspace (global)
108
+ harmony-mcp set-workspace ID -l # Set active workspace (local project)
109
+ harmony-mcp set-project ID # Set active project (global)
110
+ harmony-mcp set-project ID -l # Set active project (local project)
111
+ harmony-mcp set-user-email EMAIL # Set email for auto-assignment
112
+ harmony-mcp clear-user-email # Disable auto-assignment
113
+
114
+ # Server
115
+ harmony-mcp serve # Start MCP server
109
116
  ```
110
117
 
111
118
  ## Available Tools
@@ -245,10 +252,27 @@ Your global configuration is stored in `~/.harmony-mcp/config.json`:
245
252
  "apiKey": "hmy_...",
246
253
  "apiUrl": "https://gethmy.com/api",
247
254
  "activeWorkspaceId": null,
248
- "activeProjectId": null
255
+ "activeProjectId": null,
256
+ "userEmail": "you@example.com"
249
257
  }
250
258
  ```
251
259
 
260
+ ### Auto-Assignment
261
+
262
+ When `userEmail` is configured, cards are automatically assigned to you when you start an agent session (e.g., via `/hmy #42`). This helps track who is working on what.
263
+
264
+ To enable auto-assignment:
265
+ ```bash
266
+ harmony-mcp set-user-email you@example.com
267
+ ```
268
+
269
+ To disable auto-assignment:
270
+ ```bash
271
+ harmony-mcp clear-user-email
272
+ ```
273
+
274
+ The email must match your Harmony account email to work correctly.
275
+
252
276
  ### Local Project Configuration
253
277
 
254
278
  For multi-project workflows, you can set project-specific context using local configuration. This is stored in `.harmony-mcp.json` in your project root:
@@ -287,6 +311,7 @@ Example output:
287
311
  Status: Configured
288
312
  API Key: hmy_abc1...
289
313
  API URL: https://gethmy.com/api
314
+ User Email: y***@example.com
290
315
 
291
316
  Global Context:
292
317
  Workspace: <global-ws-id>