Skip to content

[Bug] Dive assumes tools capability and fails when server is prompts-only #348

@vjik

Description

@vjik

The Dive MCP host fails during initialization when connecting to MCP servers that do not implement the tools capability.

Even when a server explicitly provides only prompts functionality, the host still unconditionally calls:

tools/list

This leads to a hard failure if the server does not implement tools:

McpError: Method not found: tools/list

Expected behavior

The host should respect MCP capability negotiation and:

  • Not call tools/list if the server did not advertise tools support
  • Or gracefully handle Method not found responses for optional capabilities

Actual behavior

  • Host always calls tools/list during initialization
  • Assumes all MCP servers implement tools
  • Fails initialization when tools are not present

Impact

  • Prompts-only MCP servers cannot be used with Dive MCP host
  • Breaks compatibility with partial MCP implementations
  • Forces unnecessary implementation of no-op tools endpoints on servers

Metadata

Metadata

Assignees

No one assigned

    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