mirror of
https://github.com/cap153/nvim.git
synced 2026-05-01 19:05:44 +08:00
更新blink.cmp命令行相关配置
This commit is contained in:
parent
5528ddf7d2
commit
1a430bf24b
11 changed files with 161 additions and 235 deletions
20
lua/lazy/plugins/mcphub.lua
Normal file
20
lua/lazy/plugins/mcphub.lua
Normal 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue