Skip to content
Tool

mcphub.nvim

Neovim plugin that manages MCP servers and connects them to chat plugins

mcphub.nvim is an open-source AI tool for ai models and llm tooling. It is available on Linux, macOS, Windows, CLI and Self-hosted.

Pricing
Open source
Platforms
Linux, macOS, Windows
GitHub stars
1.8K
Last commit
Language
Lua
License
MIT

Similar tools

About mcphub.nvim

The README describes mcphub.nvim as an MCP client for Neovim that lets you add, edit and test Model Context Protocol servers from inside the editor. Servers are defined in a JSON config file, and the plugin starts them through a bundled Node.js process called mcp-hub, so editors and chat plugins share one set of servers.

The hub exposes two interfaces: a management API used by the plugin itself, and a unified MCP endpoint on localhost that other MCP clients such as Claude Desktop or Cline can connect to instead of configuring each server separately. Project-local config files like .vscode/mcp.json are detected and merged with the global file for each workspace.

It is aimed at Neovim users who work with chat plugins such as Avante, CodeCompanion or CopilotChat and want MCP tools, resources and prompts available inside those chats.

What it does

Centralized server configuration
Defines local stdio and remote streamable-http or SSE servers in one JSON file, with VS Code-style syntax supported.
Unified MCP endpoint
Serves the capabilities of all managed servers through a single localhost endpoint for other MCP clients.
Workspace-aware configs
Detects project-level config files and merges them with the global configuration for each workspace.
Built-in server marketplace
Browses verified MCP servers and installs them from inside Neovim, manually or with AI assistance.
Native Lua servers
Lets you write tools, resources and prompts directly in Lua within the plugin.
OAuth and header authentication
Supports OAuth with PKCE and header-based API keys or tokens for remote servers.

Good for

  • Give a Neovim chat assistant access to GitHub or filesystem tools without leaving the editor
  • Share one MCP server configuration between Neovim, VS Code and other MCP clients
  • Test MCP tools and resources interactively before wiring them into a chat workflow
  • Keep per-project MCP servers isolated from global settings

Pricing

Open source

Free and open source under the MIT license.

Prices change. Check ravitemer.github.io before you buy.

mcphub.nvim FAQ

Which Neovim chat plugins does mcphub.nvim integrate with?

The README lists Avante.nvim, CodeCompanion.nvim and CopilotChat.nvim, with varying levels of support for tools, resources and prompts.

Does mcphub.nvim support remote MCP servers?

Yes, it supports streamable-http as the primary remote transport and SSE as a fallback, along with OAuth and headers for authentication.

Does mcphub.nvim support sampling or roots?

No. The feature matrix marks Roots and Sampling as not supported.

What license is mcphub.nvim released under?

The repository is licensed under MIT.

Is mcphub.nvim free?

Yes. mcphub.nvim is open source, so you can use and self-host it for free.

What are the best alternatives to mcphub.nvim?

The closest alternatives to mcphub.nvim are mcp-use, cc-switch and nitrostack.

Where this comes from

  • Description: written from the project's README and the project's website.