Skip to content

Sanitize MCP tool schemas before sending them to the API #396

Closed

Description

@HSeganfredo79

Deep Code currently forwards inputSchema verbatim, so one invalid MCP schema kills every request. A client-side normalization (array-form items → items:{anyOf:[...]}) would make it robust against any MCP server.

Activity

  1. qorzj commented on Nov 4, 2026

    @qorzj
    Collaborator

    @HSeganfredo79 This issue has been resolved. Please upgrade to the latest version of deepcode-cli (v0.5.1+).

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions