Skip to content

ravitemer/mcphub.nvim

Repository files navigation

MCP HUB

Lua NixOS License: MIT Discord

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.

Image

πŸ’œ Sponsors

yingmanwumen Yetone omarcresp petermoser watsy0007 kohane27

✨ 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, resourceTemplates, prompts (as slash_commands)
CopilotChat.nvim βœ… In-built support Draft
Marketplace
Server Discovery βœ… Browse from verified MCP servers
Installation βœ… Manual and auto install with AI
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

πŸŽ₯ Demos

MCP Hub + Avante + Figma

login-figma.mp4

πŸš€ Getting Started

Visit our documentation site for detailed guides and examples

πŸ‘‹ Get Help

🎁 Contributing

Please read the CONTRIBUTING.md guide.

🚧 TODO

  • Neovim MCP Server (kind of) with better editing, diffs, terminal integration etc (Ideas are welcome)
  • Enhanced help view with comprehensive documentation
  • MCP Resources as variables in chat plugins
  • MCP Prompts as slash commands in chat plugins
  • Enable LLM to start and stop MCP Servers dynamically
  • Support SSE transport
  • Support /slash_commands in avante
  • Support streamable-http transport
  • Support OAuth
  • Add types
  • Better Docs
  • Add tests
  • Support #variables in avante

πŸ‘ Acknowledgements

Thanks to: