From 959b719038705a60ca4ef15fc7d189d76482d2e9 Mon Sep 17 00:00:00 2001 From: Oliver Ratzesberger Date: Sun, 5 Apr 2026 22:43:25 +0200 Subject: [PATCH] fix(mcp): include collection name in status output (#416) The MCP status tool shows collection paths but not names, making it impossible for agents to discover valid collection filter values. The CLI 'qmd status' already shows names. Add col.name prefix to each collection line in the status tool response. --- src/mcp/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcp/server.ts b/src/mcp/server.ts index b7fada7..4032e20 100644 --- a/src/mcp/server.ts +++ b/src/mcp/server.ts @@ -506,7 +506,7 @@ Intent-aware lex (C++ performance, not sports): ]; for (const col of status.collections) { - summary.push(` - ${col.path} (${col.documents} docs)`); + summary.push(` - ${col.name}: ${col.path} (${col.documents} docs)`); } return {