README.md

July 29, 2025 ยท View on GitHub

Special thanks to:

Warp sponsorship

The Intelligent Terminal

Run mcphub.nvim in Warp today


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 Oli Morris Super Memory yingmanwumen Yetone omarcresp petermoser watsy0007 kohane27 Kelly CopleyNom Social

Special thanks to:

Composio.dev logo Vapi 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โœ…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

MCP Hub + CodeCompanion + Github

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: