Neovim MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with Neovim instances, enabling AI assistants to interact with your editor through connections and access diagnostic information via structured resources. Supports both stdio and HTTP server transport modes for different integration scenarios.
Features
- Multi-Connection Support: Manage multiple concurrent Neovim instances
- LSP Integration: Complete LSP workflow with code actions, hover, and diagnostics
- Universal Document Identifier: Work with files by buffer ID, relative path, or absolute path
- MCP Resources: Structured diagnostic data via connection-aware URI schemes
- Multi-Transport Support: Both stdio and HTTP server transport modes
- Dynamic Tool System ⚠️ (Experimental): User-extensible custom tools
- Plugin Integration: Automatic setup through Neovim plugin
Installation
Use Cargo install from crates.io
cargo install nvim-mcpUsing Nix
nix profile install github:linw1995/nvim-mcp#nvim-mcpFrom Source
git clone https://github.com/linw1995/nvim-mcp.git && cd nvim-mcp
cargo install --path .





