mcphub.nvim
MCP ServerFreeAn MCP client for Neovim that seamlessly integrates MCP servers into your editing workflow with an intuitive interface for managing, testing, and using MCP servers with your favorite chat plugins.
Capabilities13 decomposed
mcp server lifecycle management with dual-architecture orchestration
Medium confidenceManages both local STDIO-based MCP servers and remote HTTP/SSE servers through a central MCPHub.Hub class that orchestrates an external Node.js service (mcp-hub) while maintaining Lua-native server support. Implements asynchronous communication channels with real-time state synchronization across multiple Neovim instances, handling server startup, shutdown, and health monitoring through a multi-process architecture with clear separation between the Neovim plugin layer and external service management.
Dual-architecture design supporting both native Lua-based servers running in-process and external Node.js servers, with real-time state synchronization across multiple Neovim instances through a sophisticated orchestrator pattern that maintains clear separation between plugin layer and service management
Unique among MCP clients in supporting native Lua servers alongside traditional MCP servers, enabling zero-latency local tools while maintaining compatibility with the broader MCP ecosystem
chat plugin integration with mcp tool/resource exposure
Medium confidenceTransforms MCP capabilities (tools, resources, prompts) into plugin-specific access patterns optimized for Avante.nvim, CodeCompanion.nvim, and CopilotChat.nvim through an extension system that adapts MCP semantics to each plugin's native function-calling and context-injection APIs. Implements sophisticated auto-approval mechanisms configurable globally, per-server, or through custom functions, enabling seamless tool invocation within chat workflows without manual approval overhead.
Extension system that adapts MCP semantics to plugin-specific APIs (use_mcp_tool for Avante, @{mcp} for CodeCompanion, built-in for CopilotChat) with configurable auto-approval at global/per-server/per-tool granularity, rather than exposing raw MCP protocol to plugins
More flexible than direct MCP plugin support because it abstracts plugin differences and provides granular approval control, whereas most MCP clients expose raw protocol requiring each plugin to implement its own integration logic
granular auto-approval configuration for tool invocation
Medium confidenceImplements multi-level auto-approval rules (global, per-server, per-tool, or custom function-based) that determine whether tool invocations require manual confirmation or execute automatically. Supports different approval strategies per chat plugin (function-based for Avante, real-time for CodeCompanion, global for CopilotChat) with audit logging of approval decisions.
Multi-level approval configuration (global/per-server/per-tool/custom function) with plugin-specific strategies (function-based for Avante, real-time for CodeCompanion, global for CopilotChat) and audit logging, rather than simple binary auto-approve setting
Granular approval control reduces friction for trusted tools while maintaining security for sensitive operations, whereas simple on/off auto-approval is too coarse-grained for mixed-trust environments
version compatibility validation and enforcement
Medium confidenceValidates strict version compatibility between mcphub.nvim plugin (5.13.0+), mcp-hub Node.js service (4.1.0+), and MCP servers to ensure reliable operation across the distributed architecture. Implements version checking at startup and before critical operations, with clear error messages guiding users to compatible versions.
Strict version compatibility enforcement (exact match for mcp-hub 4.1.0 and plugin 5.13.0) with clear error messages, preventing silent failures from version mismatches in distributed architecture
Strict version checking prevents subtle bugs from incompatible components, though less flexible than lenient version compatibility policies that allow version ranges
asynchronous event-driven communication with external services
Medium confidenceImplements non-blocking asynchronous communication channels between Neovim and the external mcp-hub Node.js service using event-driven patterns, preventing editor freezing during server operations. Handles concurrent requests, response buffering, and timeout management to ensure responsive UI even during long-running MCP operations.
Event-driven asynchronous communication architecture preventing editor blocking during MCP operations, with concurrent request handling and timeout management, rather than synchronous blocking calls
Maintains editor responsiveness during slow MCP operations compared to synchronous clients that freeze the editor, though adds complexity to error handling and debugging
native lua-based mcp server creation and execution
Medium confidenceEnables writing MCP servers directly in Lua that run within the Neovim process without external dependencies, eliminating inter-process communication overhead for local tools. Provides Lua APIs for defining tools and resources that conform to MCP specification, with automatic registration into the MCP ecosystem and exposure to chat plugins through the same integration system as external servers.
In-process Lua server execution within Neovim eliminating IPC overhead, with direct access to editor state through Neovim Lua API, contrasting with traditional MCP servers that run as separate processes and communicate via stdio/HTTP
Dramatically lower latency than external MCP servers (microseconds vs milliseconds) and simpler deployment for editor-specific tools, though at the cost of language flexibility and process isolation
mcp server discovery and marketplace installation
Medium confidenceProvides a browsable marketplace interface within Neovim for discovering, previewing, and installing pre-configured MCP servers with one-command setup. Integrates with a centralized MCP server registry, handling dependency resolution, configuration templating, and version management to reduce friction in onboarding new servers into the local MCP ecosystem.
Integrated marketplace browser within Neovim UI with one-command installation and automatic configuration templating, rather than requiring users to manually download, configure, and register servers from external sources
Reduces MCP onboarding friction compared to manual server setup, though less flexible than hand-crafted configurations for advanced use cases
real-time multi-instance state synchronization
Medium confidenceMaintains synchronized MCP server state across multiple Neovim instances through event-driven communication channels, ensuring that server lifecycle changes (start/stop), configuration updates, and tool availability are immediately reflected across all connected editors. Implements asynchronous event propagation with conflict resolution for concurrent state modifications.
Event-driven synchronization architecture with real-time propagation across Neovim instances through shared mcp-hub service, maintaining consistency without requiring explicit polling or manual refresh
Automatic synchronization across instances eliminates manual state management, whereas standalone MCP clients require manual coordination or file-based state sharing
slash command interface for mcp tool invocation
Medium confidenceProvides a slash command syntax (/mcp:*) within chat plugins (Avante, CodeCompanion) for explicit MCP tool invocation with inline argument specification, enabling users to trigger specific tools without relying on AI model decision-making. Implements command parsing, argument validation against tool schemas, and result formatting for seamless integration into chat conversations.
Slash command syntax (/mcp:*) providing explicit tool invocation within chat context, complementing AI-driven tool selection with user-controlled deterministic invocation
Gives users direct control over tool invocation compared to relying on AI model decisions, though requires more manual effort than automatic tool selection
configuration system with environment variable substitution
Medium confidenceManages MCP server configurations through a declarative system supporting TOML/JSON formats with environment variable interpolation, allowing users to define server startup commands, arguments, and authentication credentials without hardcoding sensitive values. Implements configuration validation, version compatibility checking, and schema enforcement to prevent misconfiguration.
Strict version compatibility validation (requiring exact mcp-hub 4.1.0 and plugin 5.13.0) combined with environment variable substitution and schema-based validation, ensuring reliable operation across distributed architecture
Centralized configuration management with validation prevents misconfiguration errors, though strict version requirements reduce flexibility compared to more lenient version compatibility policies
resource content retrieval and caching
Medium confidenceExposes MCP resources (text/binary content identified by URIs) to chat plugins through a resource access layer that handles content fetching, caching, and format conversion. Implements URI pattern matching for resource discovery and lazy-loading to avoid fetching unnecessary content, with support for both static and dynamic resource generation from MCP servers.
Resource content layer with URI-based access and lazy-loading caching, exposing MCP resources to chat plugins through plugin-specific syntax (access_mcp_resource for Avante, #{mcp:resource} for CodeCompanion)
Provides transparent resource access to chat plugins without manual content fetching, though caching strategy is simpler than production-grade caching systems with TTL and invalidation
prompt template injection into chat context
Medium confidenceExposes MCP prompt templates as system context or conversation starters within chat plugins, enabling MCP servers to provide domain-specific prompting strategies. Implements prompt variable substitution and formatting to adapt generic prompts to specific contexts, with support for multi-turn conversation templates.
MCP prompt template exposure to CodeCompanion as variables with simple string substitution, enabling MCP servers to provide domain-specific prompting without plugin-specific prompt engineering
Centralizes prompt management in MCP servers rather than hardcoding in plugins, though limited to CodeCompanion and simple variable substitution compared to advanced prompt templating systems
interactive ui for server management and testing
Medium confidenceProvides a Neovim-native UI (using Lua-based components) for browsing, configuring, starting/stopping servers, and testing tools interactively. Implements a main view showing server status, a marketplace view for discovery, and tool testing panels that allow users to invoke tools with custom arguments and inspect results without leaving the editor.
Integrated Neovim UI for server management and tool testing with marketplace browsing, providing graphical interface without leaving editor, contrasting with command-line-only MCP clients
Reduces friction for non-CLI-fluent users and provides visual feedback on server status, though less scriptable than command-line interfaces for automation
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with mcphub.nvim, ranked by overlap. Discovered automatically through the match graph.
Gru Sandbox
** - Gru-sandbox(gbox) is an open source project that provides a self-hostable sandbox for MCP integration or other AI agent usecases.
@irsooti/mcp
A set of tools to work with ModelContextProtocol
mcp
Official MCP Servers for AWS
5ire
5ire 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 .
MCP CLI Client
** - A CLI host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP).
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs
Best For
- ✓Neovim users integrating MCP servers into their editing workflow
- ✓Teams running distributed MCP server architectures with multiple editor instances
- ✓Developers building both local and remote MCP server deployments
- ✓Developers using Avante.nvim, CodeCompanion.nvim, or CopilotChat.nvim for AI-assisted coding
- ✓Teams wanting to extend chat capabilities with custom MCP tools without plugin-specific coding
- ✓Users requiring granular control over which tools auto-approve vs require manual confirmation
- ✓Teams wanting to balance security and usability in AI-assisted workflows
- ✓Users with high-trust MCP servers that should auto-execute
Known Limitations
- ⚠Requires external Node.js mcp-hub service (version 4.1.0+) running separately from Neovim
- ⚠STDIO servers must be configured with proper stdio transport in MCP config
- ⚠Remote HTTP/SSE servers require network connectivity and proper CORS/authentication setup
- ⚠State synchronization adds latency proportional to number of connected Neovim instances
- ⚠Each chat plugin has different capability support: Avante supports tools/resources/slash-commands, CodeCompanion supports tools/resources/slash-commands/variables, CopilotChat has limited MCP integration
- ⚠Auto-approval granularity varies by plugin: Avante uses function-based per-tool approval, CodeCompanion uses real-time per-tool, CopilotChat uses global approval only
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
Last commit: Jan 18, 2026
About
An MCP client for Neovim that seamlessly integrates MCP servers into your editing workflow with an intuitive interface for managing, testing, and using MCP servers with your favorite chat plugins.
Categories
Alternatives to mcphub.nvim
Are you the builder of mcphub.nvim?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →