| Crates.io | nvim-mcp |
| lib.rs | nvim-mcp |
| version | 0.7.2 |
| created_at | 2025-08-08 14:49:48.616102+00 |
| updated_at | 2025-12-03 14:14:18.562423+00 |
| description | MCP server for Neovim |
| homepage | https://github.com/linw1995/nvim-mcp#readme |
| repository | https://github.com/linw1995/nvim-mcp |
| max_upload_size | |
| id | 1786867 |
| size | 525,715 |
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.
cargo install nvim-mcp
nix profile install github:linw1995/nvim-mcp#nvim-mcp
git clone https://github.com/linw1995/nvim-mcp.git && cd nvim-mcp
cargo install --path .
With a plugin manager like lazy.nvim:
return {
"linw1995/nvim-mcp",
build = "cargo install --path .",
opts = {},
}
claude or other MCP clients# Auto-connect to current project Neovim instances (recommended)
claude mcp add -s local nvim -- nvim-mcp --log-file . \
--log-level debug --connect auto
# Analyze diagnostics in current Neovim instance
claude "analyze @nvim:nvim-diagnostics://"
For detailed information, see:
Basic development setup:
# Enter development shell
nix develop .
# Run tests
cargo test -- --show-output
# Build and run
cargo run -- --connect auto
See Development Guide for complete setup instructions, testing procedures, and contribution guidelines.