From 2cd785f5c1c31a7d6a77fc847cc22e6688346ae2 Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Sun, 20 Apr 2025 13:26:58 +0530 Subject: [PATCH] refactor: add mcp hub --- lua/plugins/mcphub.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lua/plugins/mcphub.lua diff --git a/lua/plugins/mcphub.lua b/lua/plugins/mcphub.lua new file mode 100644 index 0000000..527a740 --- /dev/null +++ b/lua/plugins/mcphub.lua @@ -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, + }, +}