[Bug]: initializing MCP client: unsupported protocol version: "2025-11-25

Author: leh-ppiCreated Dec 7, 2025Updated Sep 9, 2026
Labelsbug

Environment:

  • OS: Ubuntu 22.04
  • kubectl-ai version: 0.0.28
  • LLM provider: OpenRouter via "openai" provider
  • LLM model: anthropic/claude-sonnet-4.5

Describe the bug When configuring recent MCP servers https://github.com/zereight/gitlab-mcp and https://github.com/opensearch-project/opensearch-mcp-server-py, kubectl-ai just logs the following on startup and does not load the MCP servers:

E1207 16:48:34.524404   31438 manager.go:123] connecting to MCP server "gitlab": initializing connection: initializing MCP client: unsupported protocol version: "2025-11-25"
E1207 16:48:36.564726   31438 manager.go:123] connecting to MCP server "opensearch-mcp-server": initializing connection: initializing MCP client: unsupported protocol version: "2025-11-25"

To Reproduce Steps to reproduce the behavior:

  1. Setup https://github.com/zereight/gitlab-mcp/releases/tag/v2.0.13 or https://github.com/opensearch-project/opensearch-mcp-server-py/releases/tag/0.5.2 in ~/.config/kubectl-ai/mcp.yaml
  2. Start kubectl-ai with --mcp-client
  3. See error

Expected behavior MCP servers can be loaded.

Additional context

N/A

Source: GoogleCloudPlatform/kubectl-ai