Skip to content

bundled_build broken ? #258

@jinzhongjia

Description

@jinzhongjia

I found this:

function M.get_bundled_mcp_path()
local plugin_root = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":h:h:h:h")
local base_path = plugin_root .. "/bundled/mcp-hub/node_modules/.bin/mcp-hub"
if M.is_windows() then
return base_path .. ".cmd"
end
return base_path
end

but in my local mcphub.nvim, it show me this:

pwd
/home/jin/.local/share/nvim/lazy/mcphub.nvim/bundled
❯ tree
.
└── mcp-hub
    ├── node_modules
    │   ├── json5
    │   │   ├── dist
    │   │   │   ├── index.js
    │   │   │   ├── index.min.js
    │   │   │   ├── index.min.mjs
    │   │   │   └── index.mjs
    │   │   ├── lib
    │   │   │   ├── cli.js
    │   │   │   ├── index.d.ts
    │   │   │   ├── index.js
    │   │   │   ├── parse.d.ts
    │   │   │   ├── parse.js
    │   │   │   ├── register.js
    │   │   │   ├── require.js
    │   │   │   ├── stringify.d.ts
    │   │   │   ├── stringify.js
    │   │   │   ├── unicode.d.ts
    │   │   │   ├── unicode.js
    │   │   │   ├── util.d.ts
    │   │   │   └── util.js
    │   │   ├── LICENSE.md
    │   │   ├── package.json
    │   │   └── README.md
    │   └── mcp-hub
    │       ├── dist
    │       │   └── cli.js
    │       ├── LICENSE.md
    │       ├── package.json
    │       └── README.md
    ├── package.json
    └── package-lock.json

8 directories, 26 files

There is not a .bin fold, I think the package of mcphub has changed

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