Skip to content

thv mcp list tools does not work with streamable HTTP servers. #1161

@dave-dixon-ck

Description

@dave-dixon-ck

Bug description

thv mcp list tools does not work with streamable HTTP servers.

Steps to reproduce

  1. thv run fetch
  2. thv list, copy URL.
  3. thv mcp list tools --server <URL>

Expected behavior

List of available tools for the fetch server.

Actual behavior

Error: failed to start MCP transport: failed to connect to SSE stream: Get "http://127.0.0.1:36258/mcp": context deadline exceeded

Environment (if relevant)

  • OS/version: MacOS 15.5
  • ToolHive version: 0.2.0

Additional context

N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions