[BUG] HTTP transport type missing in typescript SDK

Resolved 💬 2 comments Opened Jun 19, 2025 by jasondonnette Closed Jun 19, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • Claude CLI version: 1.0.29
  • Operating System: macOS 15.4.1
  • Terminal: iTerm2

Bug Description

Using the Typescript SDK in version 1.0.29 to configure to an MCP server using transport: 'http', it gives a typescript error 'transport' does not exist in type 'McpServerConfig'.

In the file sdk.d.ts on line 28 it shows only Stdio and SSE options:

export type McpServerConfig = McpStdioServerConfig | McpSSEServerConfig

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗