Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Nvim Editor

БесплатноНе проверен

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 no

GitHubEmbed

Описание

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

from github.com/gierdo/nvim-editor-mcp

Установка Nvim Editor

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/gierdo/nvim-editor-mcp

FAQ

Nvim Editor MCP бесплатный?

Да, Nvim Editor MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Nvim Editor?

Нет, Nvim Editor работает без API-ключей и переменных окружения.

Nvim Editor — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Nvim Editor в Claude Desktop, Claude Code или Cursor?

Открой Nvim Editor на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Nvim Editor with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai