Skip to content

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')},
        },
    },
}

Usage

When MCP Hub is connecting:

image

When connected shows number of connected servers:

image

When a tool or resource is being called, shows spinner:

image

Released under the MIT License.