mcp-neovim-server

by bigcodegen
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALLOW_SHELL_COMMANDSNoSet to 'true' to enable shell command execution (e.g. `!ls`). Defaults to false for security.false

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Current neovim sessionCurrent neovim text editor session
Open Neovim buffersList of all open buffers in the current Neovim session

Tools

Functions exposed to the LLM to take actions

NameDescription
vim_buffer

Current VIM text editor buffer with line numbers shown

vim_command

Send a command to VIM for navigation, spot editing, and line deletion. For shell commands like ls, use without the leading colon (e.g. '!ls' not ':!ls').

vim_status

Get the status of the VIM editor

vim_edit

Edit lines using insert or replace in the VIM editor.

vim_window

Manipulate Neovim windows (split, close, navigate)

vim_mark

Set a mark at a specific position

vim_register

Set content of a register

vim_visual

Make a visual selection