MCP Servers / development / vim-mcp-server

vim-mcp-server

JSON →
httpnonedevelopment

MCP server for driving Vim

Install
How to run this server

No install command recorded.

server path: vim-mcp-server
Tools
What this server exposes
list_buffers
List all open buffers
get_buffer
Read buffer contents (optionally a line range)
edit_buffer
Replace, insert, or delete lines in a buffer
open_file
Open a file via :edit
save_buffer
Save a buffer via :write (opt-in, see above)
close_buffer
Close a buffer via :bdelete
get_cursor
Get current cursor position
set_cursor
Move cursor to a line and column
get_visual_selection
Get the current visual selection, if any
execute_command
Run an arbitrary Ex command (opt-in, see above)
get_quickfix_list
Get the current quickfix list entries
set_quickfix_list
Set the quickfix list
get_location_list
Get the location list for the current window
set_location_list
Set the location list for the current window
get_messages
Get Vim's message history (:messages output)
show_diff
Open a side-by-side diff view in a new tab (files or content)
show_git_diff
Open a side-by-side git diff in a new tab; git computes both sides inside Vim
Configuration
Environment & auth
authnone
Resources
vim-mcp-server — MCP Server · libregistry