Skip to content

Can't find anything from marketplace #24

Closed
@smoosex

Description

@smoosex

The following is my config. I can't find anything from Marketplace.

{
        "ravitemer/mcphub.nvim",
        event = "VeryLazy",
        dependencies = {
            "nvim-lua/plenary.nvim", -- Required for Job and HTTP requests
        },
        -- cmd = "MCPHub", -- lazily start the hub when `MCPHub` is called
        build = "npm install -g mcp-hub@latest", -- Installs required mcp-hub npm module
        config = function()
            require("mcphub").setup {
                -- Required options
                port = 3000, -- Port for MCP Hub server
                config = vim.fn.expand "~/mcpservers.json", -- Absolute path to config file

                -- Optional options
                -- on_ready = function(hub)
                --     -- Called when hub is ready
                -- end,
                -- on_error = function(err)
                --     -- Called on errors
                -- end,
                shutdown_delay = 0, -- Wait 0ms before shutting down server after last client exits
                log = {
                    level = vim.log.levels.WARN,
                    to_file = false,
                    file_path = nil,
                    prefix = "MCPHub",
                },
            }
        end,
    },
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions