What are the limitations of Neovim MCP Server?
It may not interact well with complex Neovim configurations or plugins. Shell command execution is disabled by default for security. A socket connection is required—it won’t work with standard Vim.
@bigcodegen
基本信息
Control Neovim using Model Context Protocol (MCP) and the official neovim/node-client JavaScript library
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"MCP Neovim Server": {
"command": "npx",
"args": [
"-y",
"mcp-neovim-server"
],
"env": {
"ALLOW_SHELL_COMMANDS": "true",
"NVIM_SOCKET_PATH": "/tmp/nvim"
}
}
}
}Get buffer contents with line numbers
Execute Vim commands with optional shell command support
Get comprehensive Neovim status including cursor position, mode, marks, and registers
Edit buffer content using insert, replace, or replaceAll modes
Manage Neovim windows: split, close, and navigate between windows
Set named marks at specific positions in the buffer
Manage Neovim register contents
Create visual mode selections in the buffer
Switch between buffers by name or number
Save current buffer or save to specific filename
Open files into new buffers
Search within current buffer with regex support and options
Find and replace with global, case-insensitive, and confirm options
Project-wide search using vimgrep with quickfix list
Check Neovim connection health
Record, stop, and play Neovim macros
Manage Neovim tabs: create, close, and navigate between tabs
Manage code folding: create, open, close, and toggle folds
Navigate Neovim jump list: go back, forward, or list jumps
Neovim MCP Server connects MCP clients like Claude Desktop to a running Neovim instance via a Unix socket. It uses Vim’s native text editing commands and the official neovim/node-client library to provide AI‑assisted code or general text editing. Designed for developers who want to pair an AI assistant directly with their Neovim session.
Start Neovim with a socket, e.g. nvim --listen /tmp/nvim. Then configure the MCP server in your MCP client (e.g. Claude Desktop) using the npx -y mcp-neovim-server command. Set the NVIM_SOCKET_PATH environment variable (default /tmp/nvim) and optionally ALLOW_SHELL_COMMANDS=true to enable shell commands via !. The server exposes 19 tools for editing, navigation, search, and window management.
It may not interact well with complex Neovim configurations or plugins. Shell command execution is disabled by default for security. A socket connection is required—it won’t work with standard Vim.
Set the environment variable `ALLOW_SHELL_COMMANDS` to `'true'` in your MCP client configuration. Default is `false`.
By default it uses `/tmp/nvim`. Override this with the `NVIM_SOCKET_PATH` environment variable.
You can either download the DXT package from the releases page and drag it to Claude Desktop, or add the `npx -y mcp-neovim-server` command to your `claude_desktop_config.json` with the appropriate environment variables.
Yes, it runs via `npx` which requires Node.js. It uses the official neovim/node-client library to communicate with Neovim.
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

Model Context Protocol Servers

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
Open-source MCP to use Blender with any LLM
评论