{"type":"mcp_server","name":"mcp-neovim-server","description":"This repository provides a Model Context Protocol (MCP) server that integrates Claude Desktop with Neovim, enabling AI-powered text assistance by leveraging Vim's native editing commands and workflows. This repository provides","category":"Developer Tools","language":"TypeScript","stars":320,"forks":7,"owner":"bigcodegen","github_url":"https://github.com/bigcodegen/mcp-neovim-server","homepage":null,"setup":"## Setup\n\n1.  Start Neovim exposing a socket file, for example `--listen /tmp/nvim`.\n2.  Add the MCP Neovim Server configuration to your `claude_desktop_config.json` as provided in the README.\n3.  Optionally, set the `ALLOW_SHELL_COMMANDS` environment variable to 'true' to enable shell command execution.\n4.  Optionally, set the `NVIM_SOCKET_PATH` environment variable to the path of your Neovim socket, defaulting to '/tmp/nvim'.","tools":"## Available Tools\n\n1.  Connects to your nvim instance if you expose a socket file. (Connects to a Neovim instance via socket.)\n2.  Views your current buffers. (Allows viewing of open buffers.)\n3.  Gets cursor location, mode, file name. (Retrieves editor status information.)\n4.  Runs vim commands and optionally shell commands through vim. (Executes Vim and shell commands.)\n5.  Can make edits using insert or replacement. (Edits buffers using insert or replace.)\n6.  `nvim://session` (Current neovim text editor session)\n7.  `nvim://buffers` (List of all open buffers in the current Neovim session)\n8.  **vim_buffer** (Returns a string of numbered lines with the current active buffer content)\n9.  **vim_command** (Send a command to VIM for navigation, spot editing, and line deletion)\n10. **vim_status** (Get the status of the VIM editor)\n11. **vim_edit** (Edit lines using insert, replace, or replaceAll in the VIM editor)\n12. **vim_window** (Manipulate Neovim windows (split, vsplit, close, navigate))\n13. **vim_mark** (Set a mark at a specific position)\n14. **vim_register** (Set content of a register)\n15. **vim_visual** (Make a visual selection)","faq":null,"created_at":"2024-12-22T21:34:05+00:00","updated_at":"2025-03-28T22:02:22+00:00","source_url":"https://model-context-protocol.com/servers/neovim-mcp-server-ai-text-assistance","related_articles":[]}