Skip to content

[plan] Adopt DisableListening in HTTP MCP inspector transport #18335

@github-actions

Description

@github-actions

Objective

Replace DisableStandaloneSSE: true with DisableListening: true in the HTTP MCP inspector's StreamableClientTransport to more precisely express the inspector's intent.

Context

From discussion #18080 (go-sdk module review): The MCP inspector connects, queries capabilities, and exits — it never needs server-pushed messages. The DisableListening field added in go-sdk v1.3.0 better expresses this intent than DisableStandaloneSSE.

File to Modify

pkg/cli/mcp_inspect_mcp.go — around line 242

Change Required

// Before
transport := &mcp.StreamableClientTransport{
    Endpoint:             config.URL,
    DisableStandaloneSSE: true,
}

// After
transport := &mcp.StreamableClientTransport{
    Endpoint:         config.URL,
    DisableListening: true,
}

Acceptance Criteria

  • DisableStandaloneSSE replaced with DisableListening in mcp_inspect_mcp.go
  • make test-unit passes
  • make agent-finish passes

Generated by Plan Command for issue #discussion #18080

  • expires on Feb 27, 2026, 12:38 PM UTC

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions