Lualine Integration
MCP Hub provides a lualine component that can be used to show the status of the MCP Hub and the number of connected servers. Add the component to a lualine section to use it. The following example shows how to add the component to the lualine_x
section:
lua
require('lualine').setup {
sections = {
lualine_x = {
-- Other lualine components in "x" section
{require('mcphub.extensions.lualine')},
},
},
}