From eb3dff845828f60ff2659586883af622b8b035eb Mon Sep 17 00:00:00 2001 From: Victor Hong Date: Tue, 14 Oct 2025 18:28:16 +1100 Subject: [PATCH 1/9] fix: Add JSON output flag to gemini CLI configuration The gemini CLI was returning plain text instead of JSON, causing clink to fail with: 'Failed to decode Gemini CLI JSON output: Expecting value: line 1 column 1 (char 0)' Root cause: gemini.json was missing the '-o json' flag in additional_args. This fix adds '-o json' to ensure JSON output format, aligning with the codex pattern (which uses --json). Tested with gemini CLI v0.8.2 --- conf/cli_clients/gemini.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/cli_clients/gemini.json b/conf/cli_clients/gemini.json index 6151f2d..6ff9762 100644 --- a/conf/cli_clients/gemini.json +++ b/conf/cli_clients/gemini.json @@ -4,7 +4,9 @@ "additional_args": [ "--telemetry", "false", - "--yolo" + "--yolo", + "-o", + "json" ], "env": {}, "roles": { From a0d4913c86da6df172b2cb9a34d31bea98ea978d Mon Sep 17 00:00:00 2001 From: semantic-release Date: Tue, 14 Oct 2025 12:03:49 +0000 Subject: [PATCH 2/9] chore(release): 9.0.1 Automatically generated by python-semantic-release --- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1302eff..d21e086 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ +## v9.0.1 (2025-10-14) + +### Bug Fixes + +- Add JSON output flag to gemini CLI configuration + ([`eb3dff8`](https://github.com/BeehiveInnovations/zen-mcp-server/commit/eb3dff845828f60ff2659586883af622b8b035eb)) + +### Chores + +- Sync version to config.py [skip ci] + ([`b9408aa`](https://github.com/BeehiveInnovations/zen-mcp-server/commit/b9408aae8860d43b1da0ba67f9db98db7e4de2cf)) + + ## v9.0.0 (2025-10-08) ### Chores diff --git a/pyproject.toml b/pyproject.toml index b98c4bc..0f0305f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "zen-mcp-server" -version = "9.0.0" +version = "9.0.1" description = "AI-powered MCP server with multiple model providers" requires-python = ">=3.9" dependencies = [ From d08cdc6691e0f68917f2824945905b7256e0e568 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 Oct 2025 12:04:01 +0000 Subject: [PATCH 3/9] chore: sync version to config.py [skip ci] --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 4737c67..aa5db89 100644 --- a/config.py +++ b/config.py @@ -14,9 +14,9 @@ from utils.env import get_env # These values are used in server responses and for tracking releases # IMPORTANT: This is the single source of truth for version and author info # Semantic versioning: MAJOR.MINOR.PATCH -__version__ = "9.0.0" +__version__ = "9.0.1" # Last update date in ISO format -__updated__ = "2025-10-08" +__updated__ = "2025-10-14" # Primary maintainer __author__ = "Fahad Gilani" From a2189cb88a295ebad6268b9b08c893cd65bc1d89 Mon Sep 17 00:00:00 2001 From: Christopher Toth Date: Tue, 14 Oct 2025 11:45:19 -0600 Subject: [PATCH 4/9] fix: Update Claude CLI commands to new mcp syntax The Claude CLI recently changed its configuration commands from 'claude config add-server' to 'claude mcp add -s user' and from 'claude config list' to 'claude mcp list'. This updates the PowerShell setup script to detect and configure the zen server using the new command syntax, fixing configuration detection for Windows users. Changes: - Updated Test-ClaudeCliIntegration to use 'claude mcp list' - Updated instructions to use 'claude mcp add -s user' syntax --- run-server.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run-server.ps1 b/run-server.ps1 index b22b7c1..2a32195 100644 --- a/run-server.ps1 +++ b/run-server.ps1 @@ -1489,18 +1489,18 @@ function Test-ClaudeCliIntegration { Write-Info "Claude CLI detected - checking configuration..." try { - $claudeConfig = claude config list 2>$null + $claudeConfig = claude mcp list 2>$null if ($claudeConfig -match "zen") { Write-Success "Claude CLI already configured for zen server" } else { Write-Info "To add zen server to Claude CLI, run:" - Write-Host " claude config add-server zen $PythonPath $ServerPath" -ForegroundColor Cyan + Write-Host " claude mcp add -s user zen $PythonPath $ServerPath" -ForegroundColor Cyan } } catch { Write-Info "To configure Claude CLI manually, run:" - Write-Host " claude config add-server zen $PythonPath $ServerPath" -ForegroundColor Cyan + Write-Host " claude mcp add -s user zen $PythonPath $ServerPath" -ForegroundColor Cyan } } From 35a005899cb63573ac80118fd64e3011c3b39aff Mon Sep 17 00:00:00 2001 From: semantic-release Date: Wed, 15 Oct 2025 04:12:53 +0000 Subject: [PATCH 5/9] chore(release): 9.0.2 Automatically generated by python-semantic-release --- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d21e086..6078b2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ +## v9.0.2 (2025-10-15) + +### Bug Fixes + +- Update Claude CLI commands to new mcp syntax + ([`a2189cb`](https://github.com/BeehiveInnovations/zen-mcp-server/commit/a2189cb88a295ebad6268b9b08c893cd65bc1d89)) + +### Chores + +- Sync version to config.py [skip ci] + ([`d08cdc6`](https://github.com/BeehiveInnovations/zen-mcp-server/commit/d08cdc6691e0f68917f2824945905b7256e0e568)) + + ## v9.0.1 (2025-10-14) ### Bug Fixes diff --git a/pyproject.toml b/pyproject.toml index 0f0305f..d082812 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "zen-mcp-server" -version = "9.0.1" +version = "9.0.2" description = "AI-powered MCP server with multiple model providers" requires-python = ">=3.9" dependencies = [ From b205d7159b674ce47ebc11af7255d1e3556fff93 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 15 Oct 2025 04:13:03 +0000 Subject: [PATCH 6/9] chore: sync version to config.py [skip ci] --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index aa5db89..9a16007 100644 --- a/config.py +++ b/config.py @@ -14,9 +14,9 @@ from utils.env import get_env # These values are used in server responses and for tracking releases # IMPORTANT: This is the single source of truth for version and author info # Semantic versioning: MAJOR.MINOR.PATCH -__version__ = "9.0.1" +__version__ = "9.0.2" # Last update date in ISO format -__updated__ = "2025-10-14" +__updated__ = "2025-10-15" # Primary maintainer __author__ = "Fahad Gilani" From 3b2eff58ac0e2388045a7442c63f56ce259b54ba Mon Sep 17 00:00:00 2001 From: Kevin Courbet Date: Thu, 16 Oct 2025 03:10:00 +0200 Subject: [PATCH 7/9] fix: remove duplicate -o json flag in gemini CLI config Fixes #291 The gemini CLI configuration had a duplicate -o json flag that caused Gemini to return plain text instead of JSON, breaking the clink parser. Root cause: - Internal defaults (clink/constants.py) already provide -o json - Config file (conf/cli_clients/gemini.json) duplicated this flag - Result: command became 'gemini -o json ... -o json' (duplicate) This caused Gemini CLI to malfunction and output plain text, leading to 'Failed to decode Gemini CLI JSON output' errors. Solution: Remove the duplicate -o json from additional_args since it's already provided by internal defaults, matching the pattern used by claude and codex CLI configurations. After fix: - Command: gemini -o json --telemetry false --yolo (correct) - Output: Valid JSON with response and stats - Parser: Successfully extracts content and metadata --- conf/cli_clients/gemini.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/conf/cli_clients/gemini.json b/conf/cli_clients/gemini.json index 6ff9762..6151f2d 100644 --- a/conf/cli_clients/gemini.json +++ b/conf/cli_clients/gemini.json @@ -4,9 +4,7 @@ "additional_args": [ "--telemetry", "false", - "--yolo", - "-o", - "json" + "--yolo" ], "env": {}, "roles": { From 0f0f3ef515a315ea5668574a58bbfb148d672c51 Mon Sep 17 00:00:00 2001 From: semantic-release Date: Thu, 16 Oct 2025 02:59:04 +0000 Subject: [PATCH 8/9] chore(release): 9.0.3 Automatically generated by python-semantic-release --- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6078b2a..4adbbf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ +## v9.0.3 (2025-10-16) + +### Bug Fixes + +- Remove duplicate -o json flag in gemini CLI config + ([`3b2eff5`](https://github.com/BeehiveInnovations/zen-mcp-server/commit/3b2eff58ac0e2388045a7442c63f56ce259b54ba)) + +### Chores + +- Sync version to config.py [skip ci] + ([`b205d71`](https://github.com/BeehiveInnovations/zen-mcp-server/commit/b205d7159b674ce47ebc11af7255d1e3556fff93)) + + ## v9.0.2 (2025-10-15) ### Bug Fixes diff --git a/pyproject.toml b/pyproject.toml index d082812..ce94a83 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "zen-mcp-server" -version = "9.0.2" +version = "9.0.3" description = "AI-powered MCP server with multiple model providers" requires-python = ">=3.9" dependencies = [ From 8c6f6532d843f7f1b283ce9b6472e5ba991efe16 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 16 Oct 2025 02:59:14 +0000 Subject: [PATCH 9/9] chore: sync version to config.py [skip ci] --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 9a16007..a29437b 100644 --- a/config.py +++ b/config.py @@ -14,9 +14,9 @@ from utils.env import get_env # These values are used in server responses and for tracking releases # IMPORTANT: This is the single source of truth for version and author info # Semantic versioning: MAJOR.MINOR.PATCH -__version__ = "9.0.2" +__version__ = "9.0.3" # Last update date in ISO format -__updated__ = "2025-10-15" +__updated__ = "2025-10-16" # Primary maintainer __author__ = "Fahad Gilani"