High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph โ average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
MCP client for Neovim chat plugins
MCP Hub connects Neovim chat plugins to MCP servers so you can browse, test, and use tools, resources, prompts, and templates from inside the editor. It supports local STDIO servers, remote HTTP and SSE servers, OAuth and header auth, and live updates when server lists change.
Builders who use Neovim chat plugins and want MCP servers available inside their editor.
You can work with MCP servers from Neovim instead of switching between your editor and separate server tools.
What it does
Chat plugin integration
Works with Avante.nvim, CodeCompanion.nvim, and CopilotChat.nvim for tools, resources, prompts, templates, and function calling where supported.
MCP transport support
Handles Streamable HTTP, SSE, and STDIO transports for remote and local servers.
Remote auth support
Supports OAuth with PKCE and header-based auth for API keys and tokens.
Marketplace and discovery
Lets you browse verified MCP servers and install them manually or with AI help.
Workspace-aware config
Detects project-local configs and merges them with global settings.
Live server syncing
Watches config files, keeps multiple Neovim instances in sync, and supports hot reload in dev mode.
Lua-native servers
Lets you define MCP tools, resources, and prompts directly in Lua.
README
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
MCP Hub + CodeCompanion + Github
MCP Hub + Avante + Figma
๐ 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
- 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:
- nui.nvim for inspiring our text highlighting utilities
- ravitemer/mcp-registry for providing the marketplace api
Files in the repo
- .github
- .mcphub
- doc
- lua
- plugin
- scripts
- tests
- .gitignore
- .luarc.json
- bundled_build.lua
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- flake.lock
- flake.nix
- LICENSE.md
- Makefile
- README.md
- SECURITY.md
- selene.toml
- stylua.toml
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More connectors

Universal provider proxy for OpenAI Codex & Claude Code โ use any LLM (Claude, Gemini, Grok, DeepSeek, Ollamaโฆ) with Codex CLI, App, SDK, and Claude Code
Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300ยตs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Stop your AI from making things up โ it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.
20 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | ่ฝป้็บง่ทจๅนณๅฐๆฐๆฎๅบ็ฎก็ๅทฅๅ ท๏ผๆฏๆ MySQLใPostgreSQLใSQLiteใRedisใMongoDBใ่พพๆขฆ็ญ 90+ ๆฐๆฎๅบ๏ผๆไพๆก้ข็ซฏใDockerใCLIใๅ ็ฝฎ AI ๅฉๆๅ MCP Serverใ










