Added mcphub
This commit is contained in:
27
lua/taken/plugins/mcphub.lua
Normal file
27
lua/taken/plugins/mcphub.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
--- @type LazyPluginSpec
|
||||
return {
|
||||
"ravitemer/mcphub.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
cmd = "MCPHub",
|
||||
-- build = "npm install -g mcp-hub@latest",
|
||||
build = "bundled_build.lua",
|
||||
init = function()
|
||||
local mcphublocation = vim.fn.expand("~/.config/mcphub")
|
||||
|
||||
if vim.fn.isdirectory(mcphublocation) == 0 then
|
||||
vim.fn.system("mkdir -p " .. mcphublocation)
|
||||
end
|
||||
end,
|
||||
config = function()
|
||||
require("mcphub").setup({
|
||||
extensions = {
|
||||
avante = {
|
||||
make_slash_commands = true,
|
||||
},
|
||||
},
|
||||
use_bundled_binary = true,
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user