Skip to content

[bug]: search_items_in_registries returns promises #8696

@masterkain

Description

@masterkain

Describe the bug

• Called shadcn.search_items_in_registries({"registries":["@shadcn"],"query":"sidebar","limit":20,"offset":0})
  └ Found 31 items matching "sidebar" in registries @shadcn:

    Showing items 1-20 of 31:

    - sidebar (registry:ui) [@shadcn]
      Add command: `[object Promise]`

    - sidebar-01 (registry:block) - A simple sidebar with navigation grouped by section. [@shadcn]
      Add command: `[object Promise]`

    - sidebar-10 (registry:block) - A sidebar in a popover. [@shadcn]
      Add command: `[object Promise]`

    - sidebar-12 (registry:block) - A sidebar with a calendar. [@shadcn]
      Add command: `[object Promise]`

    - sidebar-08 (registry:block) - An inset sidebar with secondary navigation. [@shadcn]
      Add command: `[object Promise]`

    - sidebar-04 (registry:block) - A floating sidebar with submenus. [@shadcn]
      Add command: `[object Promise]`

    - sidebar-09 (registry:block) - Collapsible nested sidebars. [@shadcn]
      Add command: `[object Promise]`

    - sidebar-03 (registry:block) - A sidebar with submenus. [@shadcn]
      Add command: `[object Promise]`

    - sidebar-11 (registry:block) - A sidebar with a collapsible file tree. [@shadcn]
      Add command: `[object Promise]`

    - sidebar-05 (registry:block) - A sidebar with collapsible submenus. [@shadcn]
      Add c...

``

### Affected component/components

mcp

### How to reproduce

any mcp tool, I use codex

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash

System Info

macos

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions