Skip to content

Model call failed with MCP #119

@despinozap

Description

@despinozap

Describe the bug

When MCP servers added and try to use them, falls into a loop of:
Model call failed: {"message":"tools.5.custom.name: String should match pattern '^[a-zA-Z0-9_-]{1,128}$'","code":"invalid_request_body"} errors on terminal.

Image

I tried it many times and it's only solved when MCP servers removed.

Affected version

0.0.328

Steps to reproduce the behavior

  1. Add a MCP server (i.e Github MCP server for pull requests listing)
  2. Ask for listing pull requests in repository

Important: It also happens with other MCP servers such as Context7 or whatever uses HTTP protocol

Expected behavior

Connect to the MCP server and use the tools

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions