From 02577e2babef19d63735e469b7a3c0152d1a8d24 Mon Sep 17 00:00:00 2001 From: "J.K." Date: Mon, 31 Mar 2025 21:29:16 +0900 Subject: [PATCH 1/2] Fix default config file name --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index e7ceee0..84c29e6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -72,7 +72,7 @@ var debugMode bool func init() { rootCmd.PersistentFlags(). - StringVar(&configFile, "config", "", "config file (default is $HOME/mcp.json)") + StringVar(&configFile, "config", "", "config file (default is $HOME/.mcp.json)") rootCmd.PersistentFlags(). IntVar(&messageWindow, "message-window", 10, "number of messages to keep in context") rootCmd.PersistentFlags(). From c14ec955ac60c066fe0bc1d3ca144bf8e13e77a2 Mon Sep 17 00:00:00 2001 From: "J.K." Date: Mon, 31 Mar 2025 21:41:12 +0900 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b01d3c..2f35c0b 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ mcphost -m openai:gpt-4 ### Flags - `--anthropic-url string`: Base URL for Anthropic API (defaults to api.anthropic.com) - `--anthropic-api-key string`: Anthropic API key (can also be set via ANTHROPIC_API_KEY environment variable) -- `--config string`: Config file location (default is $HOME/mcp.json) +- `--config string`: Config file location (default is $HOME/.mcp.json) - `--debug`: Enable debug logging - `--message-window int`: Number of messages to keep in context (default: 10) - `-m, --model string`: Model to use (format: provider:model) (default "anthropic:claude-3-5-sonnet-latest")