Nvim Editor
FreeNot checkedMCP server bridging tool calls to Neovim editor actions via RPC. Enables AI agents to open files, run Lua, manage quickfix lists, fetch diagnostics, and send no
About
MCP server bridging tool calls to Neovim editor actions via RPC. Enables AI agents to open files, run Lua, manage quickfix lists, fetch diagnostics, and send notifications.
README
MCP server bridging tool calls to Neovim editor actions via RPC.
Exposes Neovim operations (open files, run Lua, diagnostics, quickfix, notifications) as Model Context Protocol tools, so AI agents can drive your editor.
Installation
Requires uv and Python ≥ 3.11.
uv tool install .
This puts nvim-editor-mcp on your PATH.
Usage
nvim-editor-mcp auto-discovers the socket from the $NVIM env var, which is
set when the mcp is started from nvim, e.g. through
codecompanion
nvim-editor-mcp
# Explicit socket path
nvim-editor-mcp --socket /tmp/nvim.sock
The server starts in stdio MCP mode. If no socket is given and $NVIM is
unset, it starts anyway and discovers the socket on the first tool call (via
attach_nvim).
Tools
| Tool | Description |
|---|---|
attach_nvim |
Connect to a Neovim instance by socket path |
detach_nvim |
Detach from the current Neovim instance |
open_file |
Open a file at a specific line |
set_quickfix |
Populate the quickfix list |
get_diagnostics |
Fetch LSP diagnostics |
nvim_exec_lua |
Execute arbitrary Lua in Neovim |
notify |
Show a notification in Neovim |
MCP client configuration
{
"mcpServers": {
"nvim-editor-mcp": {
"command": "nvim-editor-mcp"
}
}
}
Development
Setup
uv sync
This creates a .venv and installs all runtime + dev dependencies.
Linting & formatting
uv run ruff check .
uv run ruff format .
Type checking
uv run ty check
Tests
uv run pytest
All checks (CI-style)
uv run ruff check . && uv run ruff format --check . && uv run ty check && uv run pytest
License
GPL-2.0
Installing Nvim Editor
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/gierdo/nvim-editor-mcpFAQ
Is Nvim Editor MCP free?
Yes, Nvim Editor MCP is free — one-click install via Unyly at no cost.
Does Nvim Editor need an API key?
No, Nvim Editor runs without API keys or environment variables.
Is Nvim Editor hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Nvim Editor in Claude Desktop, Claude Code or Cursor?
Open Nvim Editor on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Nvim Editor with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
