更新blink.cmp命令行相关配置

This commit is contained in:
a770 2025-04-21 22:18:24 +08:00
parent 5528ddf7d2
commit 1a430bf24b
11 changed files with 161 additions and 235 deletions

View file

@ -0,0 +1,20 @@
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,
}