mcp-neovim-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NVIM_SOCKET_PATH | No | Set to the path of your Neovim socket. Defaults to '/tmp/nvim' if not specified. | /tmp/nvim |
| ALLOW_SHELL_COMMANDS | No | Set to 'true' to enable shell command execution (e.g. `!ls`). Defaults to false for security. | false |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| vim_bufferC | Get buffer contents with line numbers |
| vim_commandC | Execute Vim commands with optional shell command support |
| vim_statusA | Get comprehensive Neovim status including cursor position, mode, marks, and registers |
| vim_editC | Edit buffer content using insert, replace, or replaceAll modes |
| vim_windowB | Manage Neovim windows: split, close, and navigate between windows |
| vim_markB | Set named marks at specific positions in the buffer |
| vim_registerC | Manage Neovim register contents |
| vim_visualC | Create visual mode selections in the buffer |
| vim_buffer_switchC | Switch between buffers by name or number |
| vim_buffer_saveC | Save current buffer or save to specific filename |
| vim_file_openC | Open files into new buffers |
| vim_searchC | Search within current buffer with regex support and options |
| vim_search_replaceC | Find and replace with global, case-insensitive, and confirm options |
| vim_grepC | Project-wide search using vimgrep with quickfix list |
| vim_healthB | Check Neovim connection health |
| vim_macroC | Record, stop, and play Neovim macros |
| vim_tabC | Manage Neovim tabs: create, close, and navigate between tabs |
| vim_foldC | Manage code folding: create, open, close, and toggle folds |
| vim_jumpC | Navigate Neovim jump list: go back, forward, or list jumps |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| neovim_workflow | Get help with common Neovim workflows and editing tasks |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Current neovim session | Current neovim text editor session |
| Open Neovim buffers | List of all open buffers in the current Neovim session |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bigcodegen/mcp-neovim-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server