by ravitemer
Integrates Model Context Protocol servers into Neovim, offering an intuitive UI for managing, testing, and using them with popular chat plugins.
MCP Hub brings Model Context Protocol servers directly into the Neovim editing experience. It acts as a bridge between local or remote MCP servers and chat‑oriented extensions such as Avante.nvim, CodeCompanion.nvim, and CopilotChat.nvim, allowing developers to invoke tools, resources, and prompts without leaving the editor.
lazy.nvim
, packer
).servers.json
or Lua table – the plugin supports JSON5, environment variable interpolation (${}
), and VS Code‑style configuration.:McpHubStart
). The hub will start configured local servers via STDIO or connect to remote ones via Streamable‑HTTP/SSE.${}
syntax for environment variables and command execution across all configuration fields.Q: Do I need a specific version of Neovim?
A: The plugin requires Neovim 0.9 or newer because it relies on LuaJIT and the built‑in vim.ui
APIs.
Q: Can I run a server locally without internet? A: Yes, use the STDIO transport. Define a Lua‑based server or an executable that communicates over standard input/output.
Q: How does authentication work for remote servers? A: The hub supports OAuth with PKCE flow and arbitrary header injection, which you can configure in the server definition.
Q: What chat plugins are supported? A: Avante.nvim, CodeCompanion.nvim, and CopilotChat.nvim are officially supported, but any plugin that accepts slash commands or function calls can be integrated.
Q: Where can I find more documentation? A: Detailed guides, troubleshooting steps, and API references are hosted at https://ravitemer.github.io/mcphub.nvim/.
MCP Hub is a MCP client for neovim that seamlessly integrates MCP (Model Context Protocol) servers into your editing workflow. It provides an intuitive interface for managing, testing, and using MCP servers with your favorite chat plugins.
Category | Feature | Support | Details |
---|---|---|---|
Capabilities | |||
Tools | ✅ | Full support | |
🔔 Tool List Changed | ✅ | Real-time updates | |
Resources | ✅ | Full support | |
🔔 Resource List Changed | ✅ | Real-time updates | |
Resource Templates | ✅ | URI templates | |
Prompts | ✅ | Full support | |
🔔 Prompts List Changed | ✅ | Real-time updates | |
Roots | ❌ | Not supported | |
Sampling | ❌ | Not supported | |
MCP Server Transports | |||
Streamable-HTTP | ✅ | Primary transport protocol for remote servers | |
SSE | ✅ | Fallback transport for remote servers | |
STDIO | ✅ | For local servers | |
Authentication for remote servers | |||
OAuth | ✅ | With PKCE flow | |
Headers | ✅ | For API keys/tokens | |
Chat Integration | |||
Avante.nvim | ✅ | Tools, resources, resourceTemplates, prompts(as slash_commands) | |
CodeCompanion.nvim | ✅ | Tools, resources, templates, prompts (as slash_commands), 🖼 image responses | |
CopilotChat.nvim | ✅ | Tools, resources, function calling support | |
Marketplace | |||
Server Discovery | ✅ | Browse from verified MCP servers | |
Installation | ✅ | Manual and auto install with AI | |
Configuration | |||
Universal ${} Syntax |
✅ | Environment variables and command execution across all fields | |
VS Code Compatibility | ✅ | Support for servers key, ${env:} , ${input:} , predefined variables |
|
JSON5 Support | ✅ | Comments and trailing commas via lua-json5 |
|
Workspace Management | |||
Project-Local Configs | ✅ | Automatic detection and merging with global config | |
Advanced | |||
Smart File-watching | ✅ | Smart updates with config file watching | |
Multi-instance | ✅ | All neovim instances stay in sync | |
Shutdown-delay | ✅ | Can run as systemd service with configure delay before stopping the hub | |
Lua Native MCP Servers | ✅ | Write once , use everywhere. Can write tools, resources, prompts directly in lua | |
Dev Mode | ✅ | Hot reload MCP servers on file changes for development |
Visit our documentation site for detailed guides and examples
Please read the CONTRIBUTING.md guide.
Thanks to:
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by cline
Provides autonomous coding assistance directly in the IDE, enabling file creation, editing, terminal command execution, browser interactions, and tool extension with user approval at each step.
by continuedev
Provides continuous AI assistance across IDEs, terminals, and CI pipelines, offering agents, chat, inline editing, and autocomplete to accelerate software development.
by github
Enables AI agents, assistants, and chatbots to interact with GitHub via natural‑language commands, providing read‑write access to repositories, issues, pull requests, workflows, security data and team activity.
by block
Automates engineering tasks by installing, executing, editing, and testing code using any large language model, providing end‑to‑end project building, debugging, workflow orchestration, and external API interaction.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by lastmile-ai
A lightweight, composable framework for building AI agents using Model Context Protocol and simple workflow patterns.
by firebase
Provides a command‑line interface to manage, test, and deploy Firebase projects, covering hosting, databases, authentication, cloud functions, extensions, and CI/CD workflows.
by gptme
Empowers large language models to act as personal AI assistants directly inside the terminal, providing capabilities such as code execution, file manipulation, web browsing, vision, and interactive tool usage.