From f996c81ffb2f6c194bf473fc4d5e1c281709a6cc Mon Sep 17 00:00:00 2001 From: haosenwang1018 Date: Mon, 13 Apr 2026 07:32:37 +0000 Subject: [PATCH] docs(config): align documented search paths --- README.md | 2 +- src/errors.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d1c6a3..584c32f 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ bun install -g https://github.com/philschmid/mcp-cli ### 2. Create a config file -Create `mcp_servers.json` in your current directory or `~/.config/mcp/`: +Create `mcp_servers.json` in your current directory, `~/.mcp_servers.json`, or `~/.config/mcp/mcp_servers.json`: ```json { diff --git a/src/errors.ts b/src/errors.ts index 7883799..4ed3002 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -68,7 +68,7 @@ export function configSearchError(): CliError { details: 'Searched: ./mcp_servers.json, ~/.mcp_servers.json, ~/.config/mcp/mcp_servers.json', suggestion: - 'Create mcp_servers.json in current directory or use -c/--config to specify path', + 'Create mcp_servers.json in the current directory, ~/.mcp_servers.json, or ~/.config/mcp/mcp_servers.json, or use -c/--config to specify a path', }; }