This commit is contained in:
sankalp committed 2025-06-02 15:43:05 +05:45
1 parent 2c6982ecdd
commit b6e0e9f63c
35 files changed
+1155 -1236

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
local mcphub = require('mcphub')
mcphub.setup({
port = 37373,
config = vim.fn.expand('~/.config/mcphub/servers.json'),
native_servers = {},
auto_approve = false,
auto_toggle_mcp_servers = true,
extensions = {
avante = {
make_slash_commands = true,
},
},
ui = {
window = {
width = 0.8,
height = 0.8,
relative = 'editor',
zindex = 50,
border = 'rounded',
},
wo = {},
},
on_ready = function(hub) end,
on_error = function(err) end,
use_bundled_binary = false,
-- server_url = nil, -- defaults to `http://localhost:port`
shutdown_delay = 600000, -- 10 minutes
log = {
level = vim.log.levels.INFO,
to_file = true,
file_path = vim.fn.stdpath('state') .. '/mcphub.log',
prefix = 'MCPHub',
},
})