mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-05 05:49:24 +00:00
[neovim] Add MCPHub integration
Enhance snacks plugin configuration by adding: - MCPHub integration with dedicated menu entry - Explorer configuration for picker with hidden and ignored files enabled
This commit is contained in:
@ -9,4 +9,31 @@ require("avante").setup({
|
||||
provider = "tavily",
|
||||
},
|
||||
hints = { enabled = false },
|
||||
behaviour = {
|
||||
enable_claude_text_editor_tool_mode = true,
|
||||
},
|
||||
|
||||
system_prompt = function()
|
||||
local hub = require("mcphub").get_hub_instance()
|
||||
return hub:get_active_servers_prompt()
|
||||
end,
|
||||
custom_tools = function()
|
||||
return {
|
||||
require("mcphub.extensions.avante").mcp_tool(),
|
||||
}
|
||||
end,
|
||||
|
||||
-- using the MCP server
|
||||
disabled_tools = {
|
||||
"list_files",
|
||||
"search_files",
|
||||
"read_file",
|
||||
"create_file",
|
||||
"rename_file",
|
||||
"delete_file",
|
||||
"create_dir",
|
||||
"rename_dir",
|
||||
"delete_dir",
|
||||
"bash",
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user