mirror of
https://github.com/cap153/nvim.git
synced 2025-12-26 19:25:01 +08:00
20 lines
708 B
Lua
20 lines
708 B
Lua
return {
|
|
"ravitemer/mcphub.nvim",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim", -- Required for Job and HTTP requests
|
|
},
|
|
-- comment the following line to ensure hub will be ready at the earliest
|
|
cmd = "MCPHub", -- lazy load by default
|
|
build = "npm install -g mcp-hub@latest", -- Installs required mcp-hub npm module
|
|
-- uncomment this if you don't want mcp-hub to be available globally or can't use -g
|
|
build = "bundled_build.lua", -- Use this and set use_bundled_binary = true in opts (see Advanced configuration)
|
|
config = function()
|
|
require("mcphub").setup({
|
|
use_bundled_binary = true,
|
|
auto_approve = true, -- Auto approve mcp tool calls
|
|
extensions = {
|
|
avante = {},
|
|
},
|
|
})
|
|
end,
|
|
}
|