by ravitemer
Integrates Model Context Protocol servers into Neovim, offering an intuitive UI for managing, testing, and using those servers with popular chat plugins.
Mcp Hub brings Model Context Protocol (MCP) server capabilities directly into the Neovim editing experience. It acts as a bridge between MCP services—such as tools, resources, prompts, and image generation—and chat‑oriented plugins like Avante.nvim, CodeCompanion.nvim, and CopilotChat.nvim.
lazy.nvim
, packer.nvim
).:McpHub
) to discover available MCP servers from the built‑in marketplace.${}
syntax for environment variables and command execution across all config fields.servers
key, and smart file‑watching for live reloads.Q: Which chat plugins are supported? A: Avante.nvim, CodeCompanion.nvim, and CopilotChat.nvim are fully supported, with plans to add more.
Q: How do I add a new MCP server?
A: Add a JSON5 entry under the servers
key in either the global mcphub.lua
or a project‑local config file; the hub will auto‑detect it.
Q: Can I run a local MCP server written in Lua? A: Yes, Mcp Hub can load Lua‑based MCP servers directly, enabling fast development with hot‑reload (Dev Mode).
Q: What authentication methods are available? A: OAuth with PKCE flow and custom header tokens for API keys.
Q: Is there a way to watch for server changes? A: The hub includes a smart file‑watcher that reloads configurations and synchronizes across all Neovim instances.
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.
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by GLips
Provides Figma layout and styling information to AI coding agents, enabling one‑shot implementation of designs in any framework.
by idosal
Provides a remote Model Context Protocol server that transforms any public GitHub repository into an up‑to‑date documentation hub, enabling AI assistants to fetch live code and docs, dramatically reducing hallucinations.