NeoVimMCP
Provides tools for accessing and manipulating Neovim buffers, including retrieving active buffer, listing buffers, looking up buffer content, getting cursor context, publishing buffer updates, and clearing buffers.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NeoVimMCPshow me the current buffer content"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NeoVimMCP
MCP server that receives Neovim buffer updates and exposes editor context as MCP tools.
Features
MCP server over stdio for AI clients
HTTP bridge endpoint Neovim can POST to
In-memory buffer store with active buffer tracking
Tools for active buffer, list/lookup, cursor context, publish, and clear
Bridge written in C++ for mutliple nvim instances
Related MCP server: Vigentic MCP
Start server
npm install
npm startOptional env var:
NVIM_BUFFER_PORT(default4389)
MCP tools exposed
nvim_get_active_buffernvim_list_buffersnvim_get_buffernvim_get_cursor_contextnvim_publish_buffernvim_clear_buffer
Connect your MCP client
Example mcpServers entry:
{
"mcpServers": {
"nvim": {
"command": "node",
"args": ["/absolute/path/to/nvimMCP/server.js"],
"env": {
"NVIM_SOCKET_PATH": "/tmp/nvim.sock (Neovim socket)"
}
}
}
}Connect Neovim
Drop nvim/nvim-mcp.lua into your config (or source it directly), then call setup:
local nvim_mcp = dofile("/absolute/path/to/nvimMCP/nvim/nvim-mcp.lua")
nvim_mcp.setup({
endpoint = "http://127.0.0.1:4389/buffer/update",
clear_endpoint = "http://127.0.0.1:4389/buffer/clear",
debounce_ms = 150,
})Available user commands:
:NvimMcpPublish(force publish current buffer):NvimMcpClear(clear current buffer from server)
TODO: Create a mutliplex using C++ to handle multiple instances that can share across the network.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceIntegrates Neovim buffers with Claude, enabling real-time buffer awareness and direct in-editor content updates through MCP resources and tools.Last updated72918MIT
- Flicense-qualityDmaintenanceA Model Context Protocol server that utilizes a headless Neovim instance as an IDE kernel for advanced code editing and navigation. It provides tools for LSP-powered diagnostics, buffer management, and structural edits using Tree-sitter.Last updated
- FlicenseAqualityDmaintenanceEnables AI agents to navigate code using Neovim's LSP and Treesitter features, and read/write the quickfix list.Last updated14
- Flicense-qualityDmaintenanceAn MCP server that enables AI agents to control Neovim instances running in tmux sessions.Last updated
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/JaydenYip3/NeovimMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server