Skip to content

Commit 2b5728a

Browse files
committed
Fix error message to use correct CLI syntax
- Use 'ctxc' instead of 'context-connectors' (the actual binary name) - Point users to 'ctxc index --help' instead of incorrect command syntax
1 parent 9e65cc6 commit 2b5728a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bin/cmd-mcp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const stdioCommand = new Command("stdio")
3535
if (indexNames.length === 0) {
3636
console.error("Error: No indexes found.");
3737
console.error("The MCP server requires at least one index to operate.");
38-
console.error("Create an index first: context-connectors index <path>");
38+
console.error("Run 'ctxc index --help' to see how to create an index.");
3939
process.exit(1);
4040
}
4141
}
@@ -88,7 +88,7 @@ const httpCommand = new Command("http")
8888
if (availableIndexes.length === 0) {
8989
console.error("Error: No indexes found.");
9090
console.error("The MCP server requires at least one index to operate.");
91-
console.error("Create an index first: context-connectors index <path>");
91+
console.error("Run 'ctxc index --help' to see how to create an index.");
9292
process.exit(1);
9393
}
9494
indexNames = undefined;

0 commit comments

Comments
 (0)