Skip to content

[Bug] MCP Tool Validation Error: Input should be a valid string #1882

@leeginbernads

Description

@leeginbernads

What happened?

When attempting to load the honeycomb MCP server, HolmesGPT fails to initialize it due to a Pydantic validation error. The specific error message is:

✗ honeycomb: Failed to load mcp server honeycomb: 21 validation errors for ToolParameter
enum.0
  Input should be a valid string 
    For further information visit https://errors.pydantic.dev/2.12/v/string_type
enum.1
  Input should be a valid string 
    For further information visit https://errors.pydantic.dev/2.12/v/string_type
enum.2
  Input should be a valid string 
    For further information visit https://errors.pydantic.dev/2.12/v/string_type
enum.3
  Input should be a valid string 
    For further information visit https://errors.pydantic.dev/2.12/v/string_type
enum.4
  Input should be a valid string 
    For further information visit https://errors.pydantic.dev/2.12/v/string_type
enum.5
  Input should be a valid string 
    For further information visit https://errors.pydantic.dev/2.12/v/string_type

What did you expect to happen?

I expected HolmesGPT to successfully load and initialize thehoneycomb mcp server.

How can we reproduce it (as minimally and precisely as possible)?

1 - Configure HolmesGPT to include the honeycomb MCP server in the configuration.
2 - Start the HolmesGPT application.
3 - Check the logs during the initialization phase to see the validation error.

Anything else we need to know?

I am running holmesgpt 0.24 in CLI.

A similar issue was fixed in #1459.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions