mcphub.nvim
An MCP client for Neovim that seamlessly integrates MCP servers into your editing workflow with an intuitive interface for managing, testing, and using MCP s...
Documentation
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.
๐ Sponsors
Special thanks to:
โจ Features
| 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 |
๐ฅ Demos
๐ Getting Started
Visit our documentation site for detailed guides and examples
๐ Get Help
- Check out the Troubleshooting guide
- Join our Discord server for discussions, help, and updates
:gift: Contributing
Please read the CONTRIBUTING.md guide.
๐ง TODO
- [x] Neovim MCP Server (kind of) with better editing, diffs, terminal integration etc (Ideas are welcome)
- [x] Enhanced help view with comprehensive documentation
- [x] MCP Resources as variables in chat plugins
- [x] MCP Prompts as slash commands in chat plugins
- [x] Enable LLM to start and stop MCP Servers dynamically
- [x] Support SSE transport
- [x] Support /slash_commands in avante
- [x] Support streamable-http transport
- [x] Support OAuth
- [x] Add types
- [x] Better Docs
- [ ] Add tests
- [ ] Support #variables in avante
๐ Acknowledgements
Thanks to:
- nui.nvim for inspiring our text highlighting utilities
- ravitemer/mcp-registry for providing the marketplace api
Frequently asked questions
What is mcphub.nvim?
mcphub.nvim is An MCP client for Neovim that seamlessly integrates MCP servers into your editing workflow with an intuitive interface for managing, testing, and using MCP s...
How do I install mcphub.nvim?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcphub.nvim open source?
Yes โ it is hosted on GitHub at https://github.com/ravitemer/mcphub.nvim and has 1,606 stars.
Related MCP tools
A Unified MCP Server Management App TypeScript-based implementation. Trusted by 800+ developers. Trusted by 800+ developers.
Plugin for JADX to integrate MCP server Java-based implementation. Trusted by 600+ developers. Trusted by 600+ developers.
A text-based user interface (TUI) client for interacting with MCP servers using Ollama. Features include multi-server, dynamic model switching, streaming res...
Model Context Protocol (MCP) plugin to connect with Unity Editor โ designed for OpenAI, Gemini, Claude, Deepseek and Grok interoperability
A middleware to provide an openAI compatible endpoint that can call MCP tools Python-based implementation. Trusted by 800+ developers.
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth! Python-based implementation. Trusted by 11000+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP