forked from dineshsalunke/nvim-config
refactor: add mcp hub
This commit is contained in:
parent
d0b0d60d6f
commit
2cd785f5c1
22
lua/plugins/mcphub.lua
Normal file
22
lua/plugins/mcphub.lua
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"ravitemer/mcphub.nvim",
|
||||||
|
enabled = false,
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
},
|
||||||
|
cmd = "MCPHub",
|
||||||
|
build = "bundled_build.lua", -- Bundles mcp-hub locally
|
||||||
|
config = function()
|
||||||
|
require("mcphub").setup({
|
||||||
|
use_bundled_binary = true, -- Use local binary
|
||||||
|
-- ... rest of config as shown above
|
||||||
|
extensions = {
|
||||||
|
avante = {
|
||||||
|
make_slash_commands = true, -- make /slash commands from MCP server prompts
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user