Skip to content

Husqvarna Automower tool name contains spaces, breaks Claude Desktop validation #434

@mrjuul

Description

@mrjuul

Bug Description

The husqvarna-automower MCP server in the Docker MCP catalog exposes a tool named Husqvarna Automowers Status (with spaces). This breaks Claude Desktop's FrontendRemoteMcpToolDefinition.name validation, which requires tool names to match the pattern ^[a-zA-Z0-9_-]{1,64}$.

Error Message

tools.275.FrontendRemoteMcpToolDefinition.name: String should match pattern '^[a-zA-Z0-9_-]{1,64}$'

Steps to Reproduce

  1. Have the husqvarna-automower server enabled in a Docker MCP profile
  2. Connect the MCP gateway to Claude Desktop
  3. Attempt to use any prompt/tool — the validation error blocks all tool usage

Expected Behavior

All tool names exposed by Docker MCP catalog servers should comply with the MCP tool naming spec (^[a-zA-Z0-9_-]{1,64}$). The tool should be named something like husqvarna_automowers_status instead.

Workaround

Remove husqvarna-automower from both the catalog and the profile:

docker mcp catalog server remove mcp/docker-mcp-catalog:latest husqvarna-automower
docker mcp profile server remove default husqvarna-automower

Suggestion

Consider adding server-side validation to the gateway/registry to reject or sanitize tool names that don't match the required pattern, preventing this class of issue for all catalog entries.

Environment

  • Windows 11
  • Docker Desktop with MCP Toolkit
  • Claude Desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions