Skip to content

Bug: set_config_value tool schema is missing parameter types #234

Description

@alex-dev7777

Description

When the Gemini CLI starts with the desktop-commander MCP server enabled, a warning is logged
indicating that the set_config_value tool is being skipped. The reason provided is that the tool's
parameter schema is missing explicit type definitions.

Steps to Reproduce

  1. Configure the Gemini CLI to use the @wonderwhy-er/desktop-commander MCP server.
  2. Start the Gemini CLI.
  3. Observe the startup logs.

Error Message

The following warning is displayed in the console:

1 Skipping tool 'set_config_value' from MCP server 'desktop-commander' because it has missing
types in its parameter schema.

Expected Behavior

The set_config_value tool should be loaded correctly by the CLI without any warnings.

Actual Behavior

The tool is skipped, and the warning message is logged, preventing the tool from being used.

Environment

  • OS: Linux
  • Desktop Commander Version: latest (as installed via npx @wonderwhy-er/desktop-commander@latest)

Suggested Fix

The issue appears to be in the tool's schema definition within the source code. Adding explicit
types to the parameters for the set_config_value tool would likely resolve this. The schema should
probably define the key parameter as a string and the value parameter with its expected type(s).

Thank you for this great tool

Activity

  1. wonderwhy-er commented on Sep 10, 2025

    @wonderwhy-er
    Owner

    Was fixed and released today
    #236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions