Kubernetes MCP server tools fail with TypeError: output.output.toLowerCase #8989

Open
opened 2026-02-16 18:11:20 -05:00 by yindo · 6 comments
Owner

Originally created by @kamafozilov on GitHub (Feb 10, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

All tools from kubernetes-mcp-server (v0.0.57 by containers/kubernetes-mcp-server) fail with:

TypeError: undefined is not an object (evaluating 'output.output.toLowerCase')

The MCP server itself works correctly — tested directly via JSON-RPC over stdio, it returns valid MCP responses. The issue is in OpenCode's MCP client response parsing.

Direct JSON-RPC test (works):

{"jsonrpc":"2.0","id":1,"result":{"content":[{"type":"text","text":"APIVERSION   KIND   NAME..."}]}}

Same call through OpenCode → TypeError

Every tool fails identically: namespaces_list, pods_list, configuration_view, events_list, helm_list, etc.

Plugins

kubernetes-mcp-server@0.0.57 (containers/kubernetes-mcp-server)

OpenCode version

1.1.53

Steps to reproduce

  1. Configure .mcp.json with kubernetes-mcp-server:
{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": ["-y", "kubernetes-mcp-server@latest"],
      "env": {
        "KUBECONFIG": "./kubeconfig/my-cluster.yaml"
      }
    }
  }
}
  1. Open OpenCode and invoke any kubernetes MCP tool (e.g. namespaces_list, pods_list)
  2. All calls fail with: TypeError: undefined is not an object (evaluating 'output.output.toLowerCase')

Operating System

macOS 26.3 (Apple Silicon / arm64)

Terminal

Warp, Ghostty

Originally created by @kamafozilov on GitHub (Feb 10, 2026). Originally assigned to: @rekram1-node on GitHub. ## Description All tools from `kubernetes-mcp-server` (v0.0.57 by `containers/kubernetes-mcp-server`) fail with: `TypeError: undefined is not an object (evaluating 'output.output.toLowerCase')` The MCP server itself works correctly — tested directly via JSON-RPC over stdio, it returns valid MCP responses. The issue is in OpenCode's MCP client response parsing. **Direct JSON-RPC test (works):** ```json {"jsonrpc":"2.0","id":1,"result":{"content":[{"type":"text","text":"APIVERSION KIND NAME..."}]}} ``` **Same call through OpenCode → TypeError** Every tool fails identically: `namespaces_list`, `pods_list`, `configuration_view`, `events_list`, `helm_list`, etc. ## Plugins kubernetes-mcp-server@0.0.57 (containers/kubernetes-mcp-server) ## OpenCode version 1.1.53 ## Steps to reproduce 1. Configure `.mcp.json` with kubernetes-mcp-server: ```json { "mcpServers": { "kubernetes": { "command": "npx", "args": ["-y", "kubernetes-mcp-server@latest"], "env": { "KUBECONFIG": "./kubeconfig/my-cluster.yaml" } } } } ``` 2. Open OpenCode and invoke any kubernetes MCP tool (e.g. `namespaces_list`, `pods_list`) 3. All calls fail with: `TypeError: undefined is not an object (evaluating 'output.output.toLowerCase')` ## Operating System macOS 26.3 (Apple Silicon / arm64) ## Terminal Warp, Ghostty
yindo added the bug label 2026-02-16 18:11:20 -05:00
Author
Owner

@scw1109 commented on GitHub (Feb 10, 2026):

Seeing same for using playwright-mcp and mcp with google toolbox.
However, my error only being seen via OpenCode ACP, does not seeing it if using TUI.

@scw1109 commented on GitHub (Feb 10, 2026): Seeing same for using playwright-mcp and mcp with google toolbox. However, my error only being seen via OpenCode ACP, does not seeing it if using TUI.
Author
Owner

@Nenormalniy commented on GitHub (Feb 10, 2026):

Same bug on Windows 11 with my custom mcp server.
Also, do you use OMO plugin?
Is the problem related with this release?: https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.5.0
https://github.com/code-yeongyu/oh-my-opencode/issues/1720

rollback to oh-my-opencode@3.4.0 fixed this issue for me

@Nenormalniy commented on GitHub (Feb 10, 2026): Same bug on Windows 11 with my custom mcp server. Also, do you use OMO plugin? Is the problem related with this release?: https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.5.0 https://github.com/code-yeongyu/oh-my-opencode/issues/1720 rollback to oh-my-opencode@3.4.0 fixed this issue for me
Author
Owner

@kamafozilov commented on GitHub (Feb 10, 2026):

Same bug on Windows 11 with my custom mcp server. Also, do you use OMO plugin? Is the problem related with this release?: https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.5.0 code-yeongyu/oh-my-opencode#1720

rollback to oh-my-opencode@3.4.0 fixed this issue for me

yeah, I use OMO too, but I haven’t had any issues with OMO on my side

@kamafozilov commented on GitHub (Feb 10, 2026): > Same bug on Windows 11 with my custom mcp server. Also, do you use OMO plugin? Is the problem related with this release?: https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.5.0 [code-yeongyu/oh-my-opencode#1720](https://github.com/code-yeongyu/oh-my-opencode/issues/1720) > > rollback to oh-my-opencode@3.4.0 fixed this issue for me yeah, I use OMO too, but I haven’t had any issues with OMO on my side
Author
Owner

@blackbxdev commented on GitHub (Feb 10, 2026):

Same bug on Windows 11 with my custom mcp server. Also, do you use OMO plugin? Is the problem related with this release?: https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.5.0 code-yeongyu/oh-my-opencode#1720

rollback to oh-my-opencode@3.4.0 fixed this issue for me

Pinning OMO solved my issue as well. Thank you for this!

@blackbxdev commented on GitHub (Feb 10, 2026): > Same bug on Windows 11 with my custom mcp server. Also, do you use OMO plugin? Is the problem related with this release?: https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.5.0 [code-yeongyu/oh-my-opencode#1720](https://github.com/code-yeongyu/oh-my-opencode/issues/1720) > > rollback to oh-my-opencode@3.4.0 fixed this issue for me Pinning OMO solved my issue as well. Thank you for this!
Author
Owner

@roshitx commented on GitHub (Feb 11, 2026):

Confirmed - Affects ALL MCP Servers

I can confirm this bug affects all MCP integrations, not just Kubernetes MCP:

  • Laravel Boost MCP - All tools fail
  • Exa MCP - All tools fail
  • Context7 MCP - All tools fail
  • grep.app MCP - All tools fail
  • Kubernetes MCP - As reported

Root Cause: Client-side parser expects response.output.output but MCP servers return response.output

Workaround for Laravel Boost users:

# Direct tool execution bypasses the bug
php artisan boost:execute-tool 'Laravel\\Boost\\Mcp\\Tools\\SearchDocs' 'base64_params'

Additional Details: #13091

@roshitx commented on GitHub (Feb 11, 2026): ## Confirmed - Affects ALL MCP Servers I can confirm this bug affects **all MCP integrations**, not just Kubernetes MCP: - ✅ Laravel Boost MCP - All tools fail - ✅ Exa MCP - All tools fail - ✅ Context7 MCP - All tools fail - ✅ grep.app MCP - All tools fail - ✅ Kubernetes MCP - As reported **Root Cause:** Client-side parser expects `response.output.output` but MCP servers return `response.output` **Workaround for Laravel Boost users:** ```bash # Direct tool execution bypasses the bug php artisan boost:execute-tool 'Laravel\\Boost\\Mcp\\Tools\\SearchDocs' 'base64_params' ``` **Additional Details:** #13091
Author
Owner

@ouchxp commented on GitHub (Feb 11, 2026):

Temporary fix -> add it to oh-my-opencode.jsonc

"disabled_hooks": ["comment-checker"], // Temporarily added to address bug in 3.5.1 (MCP)

https://github.com/code-yeongyu/oh-my-opencode/issues/1737#issuecomment-3881987233

@ouchxp commented on GitHub (Feb 11, 2026): Temporary fix -> add it to oh-my-opencode.jsonc "disabled_hooks": ["comment-checker"], // Temporarily added to address bug in 3.5.1 (MCP) https://github.com/code-yeongyu/oh-my-opencode/issues/1737#issuecomment-3881987233
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8989