harmony-mcp 1.13.3 → 1.14.1

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 (4) hide show
  1. package/README.md +33 -11
  2. package/dist/cli.js +515 -472
  3. package/dist/index.js +515 -472
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@ Enables AI coding agents (Claude Code, OpenAI Codex, Cursor, Windsurf) to intera
5
5
 
6
6
  ## Features
7
7
 
8
- - **43+ MCP Tools** for full board control, knowledge graph, and workflow plans
8
+ - **60+ MCP Tools** for full board control, knowledge graph, and workflow plans
9
9
  - **Knowledge Graph Memory** - persistent memory with entity types, tiers, scopes, and typed relations
10
10
  - **Active Learning** - auto-extracts lessons, solutions, and error patterns from completed work sessions
11
11
  - **Context Assembly** - token-budget-aware memory injection into AI prompts
@@ -13,6 +13,7 @@ Enables AI coding agents (Claude Code, OpenAI Codex, Cursor, Windsurf) to intera
13
13
  - **Card Linking** - create relationships between cards (blocks, relates_to, duplicates, is_part_of)
14
14
  - **Prompt Builder** - generate AI-ready prompts from cards with context
15
15
  - **Agent Session Tracking** - track work progress with timer badges
16
+ - **Auto-Session Detection** - automatically starts/ends sessions when agents interact with cards
16
17
  - **Auto-Assignment** - automatically assign cards to you when starting agent sessions
17
18
  - **Memory Sync** - bidirectional sync between local markdown files and remote database
18
19
  - **Multi-Agent Support** - works with Claude Code, Codex, Cursor, Windsurf
@@ -89,7 +90,7 @@ If you prefer to configure manually (e.g., in Claude.ai's UI):
89
90
  1. Get an API key from [Harmony](https://gethmy.com/user/keys)
90
91
  2. In Claude.ai, add a remote MCP server with URL `https://mcp.gethmy.com/mcp`
91
92
  3. Set the Authorization header to `Bearer hmy_your_key_here`
92
- 4. All 43+ Harmony tools become available in your conversation
93
+ 4. All 60+ Harmony tools become available in your conversation
93
94
 
94
95
  **Session management** is automatic - sessions have a 1-hour TTL and are created/renewed transparently.
95
96
 
@@ -167,6 +168,8 @@ When you start working on a card (e.g., `/hmy #42`):
167
168
  - `harmony_create_card` - Create a new card
168
169
  - `harmony_update_card` - Update card properties
169
170
  - `harmony_move_card` - Move card to different column (auto-ends agent session on move to done/review)
171
+ - `harmony_archive_card` - Archive a card (soft-delete, can be restored)
172
+ - `harmony_unarchive_card` - Restore an archived card back to the board
170
173
  - `harmony_delete_card` - Delete a card
171
174
  - `harmony_assign_card` - Assign to team member
172
175
  - `harmony_search_cards` - Search by title/description
@@ -209,7 +212,7 @@ When you start working on a card (e.g., `/hmy #42`):
209
212
 
210
213
  - `harmony_list_workspaces` - List workspaces
211
214
  - `harmony_list_projects` - List projects
212
- - `harmony_get_board` - Get board state (supports pagination via `limit`/`offset`, `summary` mode, `columnId` filter)
215
+ - `harmony_get_board` - Get board state (supports pagination via `limit`/`offset`, `summary` mode, `columnId` filter, `includeArchived`)
213
216
  - `harmony_get_workspace_members` - Get team members
214
217
  - `harmony_set_workspace_context` - Set active workspace
215
218
  - `harmony_set_project_context` - Set active project
@@ -226,6 +229,19 @@ When you start working on a card (e.g., `/hmy #42`):
226
229
  - `harmony_end_agent_session` - End session (completed/paused); triggers active learning extraction
227
230
  - `harmony_get_agent_session` - Get current session state
228
231
 
232
+ ### Auto-Session Detection
233
+
234
+ Sessions are automatically started when agents call card-mutating tools without an explicit `harmony_start_agent_session`. This ensures work is always tracked, even when agents don't explicitly manage sessions.
235
+
236
+ **Trigger tools:** `harmony_generate_prompt`, `harmony_update_card`, `harmony_move_card`, `harmony_create_subtask`, `harmony_toggle_subtask`, `harmony_add_label_to_card`, `harmony_remove_label_from_card`
237
+
238
+ **Behavior:**
239
+ - Auto-starts a session when any trigger tool is called on a card without an active session
240
+ - Auto-ends after 10 minutes of inactivity
241
+ - Switching to a different card auto-ends the previous auto-session
242
+ - Explicitly started sessions (via `harmony_start_agent_session`) are never auto-ended
243
+ - Auto-ended sessions trigger the full active learning pipeline
244
+
229
245
  ### Prompt Generation
230
246
 
231
247
  - `harmony_generate_prompt` - Generate an AI-ready prompt from a card with assembled memory context
@@ -256,7 +272,7 @@ Store and retrieve persistent knowledge across sessions. Memories have types, ti
256
272
  - `harmony_memory_search` - Full-text search across the knowledge base
257
273
  - `harmony_relate` - Create a typed relationship between two memory entities
258
274
 
259
- **Entity Types:** `agent`, `task`, `decision`, `context`, `pattern`, `error`, `solution`, `preference`, `relationship`, `commitment`, `lesson`, `project`, `handoff`
275
+ **Entity Types:** `agent`, `task`, `decision`, `context`, `pattern`, `error`, `solution`, `preference`, `relationship`, `commitment`, `lesson`, `project`, `handoff`, `procedure`
260
276
 
261
277
  **Memory Tiers:** `draft` (working notes) → `episode` (session summaries) → `reference` (durable knowledge)
262
278
 
@@ -274,13 +290,9 @@ Store and retrieve persistent knowledge across sessions. Memories have types, ti
274
290
 
275
291
  - `harmony_promote_memory` - Promote entity tier: `draft` → `episode` or `episode` → `reference`
276
292
  - `harmony_prune_draft` - Remove stale draft memories (dry-run mode by default)
277
-
278
- ### Active Learning & Review
279
-
280
- When an agent session ends, the system auto-extracts learnings: blockers produce `error` entities, completed sessions produce `lesson` entities, and bug fixes produce `solution` entities. Lower-confidence entries go into a review queue.
281
-
282
- - `harmony_review_learnings` - List pending auto-extracted memories awaiting review
283
- - `harmony_approve_learning` - Approve or reject a pending learning
293
+ - `harmony_consolidate_memories` - Cluster similar draft/episode memories and merge into reference entities (dry-run by default)
294
+ - `harmony_backfill_embeddings` - Generate vector embeddings for entities missing them
295
+ - `harmony_backfill_relations` - Retroactively create semantic relations across existing entities
284
296
 
285
297
  ### Context Debugging
286
298
 
@@ -292,6 +304,7 @@ When an agent session ends, the system auto-extracts learnings: blockers produce
292
304
 
293
305
  Create and manage project plans with a phased workflow: **plan** → **execute** → **verify** → **done**.
294
306
 
307
+ - `harmony_list_plans` - List plans in a project (filter by status or workflow phase)
295
308
  - `harmony_create_plan` - Create a new plan with embedded tasks
296
309
  - `harmony_get_plan` - Get plan by ID or card ID
297
310
  - `harmony_update_plan` - Update plan title, content, status, or phase
@@ -300,6 +313,15 @@ Create and manage project plans with a phased workflow: **plan** → **execute**
300
313
  - **execute → verify:** checks card completion status
301
314
  - **verify → done:** archives plan, creates memory entities
302
315
 
316
+ ### Onboarding & Account
317
+
318
+ - `harmony_onboard` - Complete end-to-end onboarding: signup → workspace → project → API key
319
+ - `harmony_signup` - Create a new user account
320
+ - `harmony_create_workspace` - Create a new workspace
321
+ - `harmony_create_project` - Create a new project with template columns (kanban, scrum, or simple)
322
+ - `harmony_send_invitations` - Send workspace invitations to team members
323
+ - `harmony_generate_api_key` - Generate an API key for the authenticated user
324
+
303
325
  ## Direct API Access
304
326
 
305
327
  You can also call the Harmony API directly from any HTTP client: