mcp-neovim-server
147
Neovim MCP Server connects Model Context Protocol clients to Neovim, leveraging Vim's native editing commands for a lightweight AI text assistance layer. It handles buffer viewing and navigation, command execution, and text edits with adjustable configurations.
Neovim MCP Server
Connect Claude Desktop (or any Model Context Protocol client) to Neovim using MCP and the official neovim/node-client JavaScript library.
Features
- Connects to your nvim instance via socket file
- Views current buffers
- Gets cursor location, mode, file name
- Runs vim and shell commands
- Edits using insert or replacement
Limitations
- Proof of concept; use at your own risk
- Error handling could be improved
Configuration
- Environment variables for command permissions and socket path