Summary
When starting the Antigravity CLI (agy) or opening the plugins/MCP interface (/plugins), bugzilla-mcp-server configured Model Context Protocol (MCP) server failed to initialize:
bugzilla-mcp-server failed during tool discovery with:
failed to get tools: calling "tools/list": request _meta is missing or has malformed required fields: io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities
This failure was traced to a protocol-level version mismatch introduced by modern MCP specifications (SEP-2575 / revision 2026-07-28) implemented in Antigravity's Go MCP client.
Root Cause Analysis:
Background: MCP Protocol Evolution
In recent updates to the Model Context Protocol (MCP draft 2026-07-28 / SEP-2575), the protocol introduced a transition toward a stateless request model:
- Upfront Discovery (
server/discover): Instead of relying exclusively on a stateful initialize → notifications/initialized sequence, clients can issue an upfront server/discover RPC to inspect supported protocol versions and capabilities.
- Mandatory Request Metadata (
params._meta): In stateless mode, requests must carry self-describing protocol metadata inside _meta:
io.modelcontextprotocol/protocolVersion
io.modelcontextprotocol/clientCapabilities
- Fallback Standard: If a server does not support
server/discover, the standard specification expects the server to respond with a standard JSON-RPC error code -32601 (Method not found). The client then falls back to the legacy stateful initialize handshake.
Client Behavior (agy)
Antigravity CLI is compiled against the official Go MCP SDK (github.com/modelcontextprotocol/go-sdk v1.7.0+). When establishing a stdio session, agy's client initiates connection by sending a server/discover probe with protocol version 2026-07-28:
{
"jsonrpc": "2.0",
"id": 1,
"method": "server/discover",
"params": {
"_meta": {
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
"io.modelcontextprotocol/clientCapabilities": { ... },
"io.modelcontextprotocol/clientInfo": { "name": "antigravity-client", "version": "v1.0.0" }
}
}
}
Breakdown of Server Failures:
Why bugzilla-mcp-server Failed
- Binary:
/usr/bin/bugwarden (v0.5.0), built with rmcp 3.1.3.
- Implementation: Contains partial, experimental support for
server/discover.
- Failure Chain:
agy sent server/discover (request id: 1).
bugwarden answered with -32022 Unsupported protocol version, reporting supported versions ["2024-11-05", "2025-03-26", "2025-06-18", "2025-11-25"].
- Receiving
server/discover flagged bugwarden's internal session state as using the new stateless protocol mode, which enforces mandatory _meta validation on all subsequent requests.
agy, having negotiated down to 2025-11-25, proceeded with the standard stateful initialization (initialize -> notifications/initialized).
agy then sent tools/list with standard empty parameters (params: {}).
bugwarden evaluated the request under stateless rules and rejected it with code -32602 (Invalid params):
request _meta is missing or has malformed required fields: io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities.
Architecture of the Fix:
Per the MCP specification:
- If a server responds to
server/discover with JSON-RPC error code -32601 (Method not found), the client automatically falls back to the legacy stateful initialize handshake without enabling stateless metadata requirements.
- By intercepting
server/discover before it reaches the underlying binaries:
bugwarden never enters stateless mode, remaining in standard stateful mode where tools/list with params: {} succeeds.
Steps to reproduce
Antigravity CLI MCP configuration file ~/.gemini/config/mcp_config.json:
{ "mcpServers": { "bugzilla-mcp-server": { "command": "/usr/bin/bugwarden", "args": [ "--bugzilla-server", "https://bugzilla.suse.com", "--transport", "stdio", "--policy", "/etc/bugwarden/policy.toml" ], "env": { "BUGZILLA_API_KEY": "xxxxxxx" } } } }
Start agy and run /mcp list
Expected behaviour
agy can correctly connect to bugzilla-mcp:
MCP Servers
Plugins (~/.gemini/config/plugins)
> ✓ bugzilla-mcp-server Tools: add_attachment, add_cc_to_bug, add_comment, assign_bug, bug_comments, +15 more
Actual behaviour
Error: bugzilla-mcp-server
✗ bugzilla-mcp-server error: failed to get tools: calling "tools/list": request _meta is missing or has malformed required fields:
io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities
mtui version
mtui 26.2.1 (release, x86_64-unknown-linux-gnu)
Antigravity CLI 1.1.25
Environment
OS: openSUSE Leap 16.0
Kernel: 6.12.0-160000.37-default
Platform: x86_64
Summary
When starting the Antigravity CLI (agy) or opening the plugins/MCP interface (/plugins), bugzilla-mcp-server configured Model Context Protocol (MCP) server failed to initialize:
bugzilla-mcp-serverfailed during tool discovery with:failed to get tools: calling "tools/list": request _meta is missing or has malformed required fields: io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilitiesThis failure was traced to a protocol-level version mismatch introduced by modern MCP specifications (SEP-2575 / revision 2026-07-28) implemented in Antigravity's Go MCP client.
Root Cause Analysis:
Background: MCP Protocol Evolution
In recent updates to the Model Context Protocol (MCP draft 2026-07-28 / SEP-2575), the protocol introduced a transition toward a stateless request model:
server/discover): Instead of relying exclusively on a statefulinitialize→notifications/initializedsequence, clients can issue an upfrontserver/discoverRPC to inspect supported protocol versions and capabilities.params._meta): In stateless mode, requests must carry self-describing protocol metadata inside_meta:io.modelcontextprotocol/protocolVersionio.modelcontextprotocol/clientCapabilitiesserver/discover, the standard specification expects the server to respond with a standard JSON-RPC error code-32601(Method not found). The client then falls back to the legacy statefulinitializehandshake.Client Behavior (
agy)Antigravity CLI is compiled against the official Go MCP SDK (
github.com/modelcontextprotocol/go-sdkv1.7.0+). When establishing a stdio session,agy's client initiates connection by sending aserver/discoverprobe with protocol version2026-07-28:{ "jsonrpc": "2.0", "id": 1, "method": "server/discover", "params": { "_meta": { "io.modelcontextprotocol/protocolVersion": "2026-07-28", "io.modelcontextprotocol/clientCapabilities": { ... }, "io.modelcontextprotocol/clientInfo": { "name": "antigravity-client", "version": "v1.0.0" } } } }Breakdown of Server Failures:
Why
bugzilla-mcp-serverFailed/usr/bin/bugwarden(v0.5.0), built withrmcp 3.1.3.server/discover.agysentserver/discover(request id: 1).bugwardenanswered with-32022 Unsupported protocol version, reporting supported versions["2024-11-05", "2025-03-26", "2025-06-18", "2025-11-25"].server/discoverflaggedbugwarden's internal session state as using the new stateless protocol mode, which enforces mandatory_metavalidation on all subsequent requests.agy, having negotiated down to2025-11-25, proceeded with the standard stateful initialization (initialize->notifications/initialized).agythen senttools/listwith standard empty parameters (params: {}).bugwardenevaluated the request under stateless rules and rejected it with code-32602(Invalid params):request _meta is missing or has malformed required fields: io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities.Architecture of the Fix:
Per the MCP specification:
server/discoverwith JSON-RPC error code-32601(Method not found), the client automatically falls back to the legacy statefulinitializehandshake without enabling stateless metadata requirements.server/discoverbefore it reaches the underlying binaries:bugwardennever enters stateless mode, remaining in standard stateful mode wheretools/listwithparams: {}succeeds.Steps to reproduce
Antigravity CLI MCP configuration file ~/.gemini/config/mcp_config.json:
{ "mcpServers": { "bugzilla-mcp-server": { "command": "/usr/bin/bugwarden", "args": [ "--bugzilla-server", "https://bugzilla.suse.com", "--transport", "stdio", "--policy", "/etc/bugwarden/policy.toml" ], "env": { "BUGZILLA_API_KEY": "xxxxxxx" } } } }Start agy and run
/mcp listExpected behaviour
agy can correctly connect to bugzilla-mcp:
MCP Servers
Plugins (~/.gemini/config/plugins)
> ✓ bugzilla-mcp-server Tools: add_attachment, add_cc_to_bug, add_comment, assign_bug, bug_comments, +15 moreActual behaviour
Error:
bugzilla-mcp-servermtui version
mtui 26.2.1 (release, x86_64-unknown-linux-gnu)
Antigravity CLI 1.1.25
Environment
OS: openSUSE Leap 16.0
Kernel: 6.12.0-160000.37-default
Platform: x86_64