Sponsored by Deepsite.site

Mcphub.nvim

创建者
ravitemer2 years ago
A powerful Neovim plugin for managing MCP (Model Context Protocol) servers
内容

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

CryogenicPlanet yingmanwumen Yetone omarcresp petermoser watsy0007 kohane27 Kelly Copley

Special thanks to:

Composio.dev logo

✨ Features

CategoryFeatureSupportDetails
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✅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
Dev Mode✅Hot reload MCP servers on file changes for development

🎥 Demos

MCP Hub + Avante + Figma

🚀 Getting Started

Visit our documentation site for detailed guides and examples

👋 Get Help

:gift: 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:

推荐的 MCP Client
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
HyperChatHyperChat is a Chat client that strives for openness, utilizing APIs from various LLMs to achieve the best Chat experience, as well as implementing productivity tools through the MCP protocol.
CursorThe AI Code Editor
Roo Code (prev. Roo Cline)Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code editor.
ChatWiseThe second fastest AI chatbot™
chatmcpChatMCP is an AI chat client implementing the Model Context Protocol (MCP).
WindsurfThe new purpose-built IDE to harness magic
Cherry Studio🍒 Cherry Studio is a desktop client that supports for multiple LLM providers.
MCP ConnectEnables cloud-based AI services to access local Stdio based MCP servers via HTTP requests
Continue⏩ Create, share, and use custom AI code assistants with our open-source IDE extensions and hub of models, rules, prompts, docs, and other building blocks
LutraLutra is the first MCP compatible client built for everyone
Refact.aiOpen-source AI Agent for VS Code and JetBrains that autonomously solves coding tasks end-to-end.
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EXPLYT
MCP PlaygroundCall MCP Server Tools Online
A Sleek AI Assistant & MCP Client5ire is a cross-platform desktop AI assistant, MCP client. It compatible with major service providers, supports local knowledge base and tools via model context protocol servers .
ZedCode at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Cline – #1 on OpenRouterAutonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.
y-cli 🚀A Tiny Terminal Chat App for AI Models with MCP Client Support
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.