linw1995/nvim-mcp
If you are the rightful owner of nvim-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Neovim MCP Server is a Model Context Protocol server designed to integrate seamlessly with Neovim instances, allowing AI assistants to interact with the editor and access diagnostic information through structured resources.
Tools
Functions exposed to the LLM to take actions
get_targets
Discover available Neovim targets.
connect
Connect via Unix socket/named pipe.
connect_tcp
Connect via TCP.
disconnect
Disconnect from specific Neovim instance.
list_buffers
List all open buffers with names and line counts.
buffer_diagnostics
Get diagnostics for a specific buffer.
lsp_clients
Get workspace LSP clients.
buffer_code_actions
Get available code actions for buffer range.
exec_lua
Execute Lua code in Neovim.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client