PN

paulburgess1357/nvim-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

69 stars 5 forks 品質 77 トレンド 8MIT

paulburgess1357/nvim-mcp は [https://github.com/paulburgess1357/nvim-mcp.] からインポートされた MCP サーバーの候補です

概要

paulburgess1357/nvim-mcp は [https://github.com/paulburgess1357/nvim-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

実行中のNeovimセッションにAIエージェントファーストクラスのアクセスを提供するMCPサーバー。 Neovim の msgpack-RPC ソケット — プラグインは必要ありません。

Cursor、Claudeコード、Codex、OpenCode、およびMCP互換クライアントで動作します。

Neovimにエージェントを接続する前に、安全に作業をお読みください。

エージェントができること

-**エディタモード、作業ディレクトリ、オープンバッファ、ウィンドウレイアウト、カーソルコンテキスト、フォルダ、選択、マーク、および診断を参照してください。 -メモリ内のバッファの編集 — すぐにフィードバックと完全なundoサポートで、検索および置換またはフルリライト。 あなたが保存するまで、ディスクに触れることはありません。

  • :w, [:e]], [:vsplit]], マクロ, コマンドラインで入力できるその他。
  • キーストローク — ナビゲーション、インサートモードを入力し、マッピングをトリガーします。
  • LSPの診断を問い合わせて下さい — 1つの緩衝か全セッションを渡る間違い、警告およびヒント。
  • ハイライトと仮想テキストでコードを注釈付け — 色の線のハイライトと、バッファの実質のコンテンツに触れないテキストのメモをインライン/ウィンドウで表示します。 -複数のインスタンスで動作します — 実行中のセッションを自動検出し、右側に接続します。 複数のインスタンスを参照してください.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

nvim-mcp

An MCP server that gives AI agents first-class access to your running Neovim session. It connects through Neovim’s native msgpack-RPC socket — no plugins required.

Works with Cursor, Claude Code, Codex, OpenCode, and any MCP-compatible client.

Before you connect an agent to Neovim, please read Working safely.

What agents can do

  • See what you see — editor mode, working directory, open buffers, window layout, cursor context, folds, selections, marks, and diagnostics.
  • Edit buffers in memory — find-and-replace or full rewrites with immediate feedback and full undo support. Nothing touches disk until you save.
  • Run any Vim command — :w, :e, :vsplit, macros, or anything else you could type at the command line.
  • Send keystrokes — navigate, enter insert mode, trigger mappings.
  • Query LSP diagnostics — errors, warnings, and hints across one buffer or the whole session.
  • Annotate code with highlights and virtual text — colored line highlights and inline/above/below text notes that never touch the buffer’s real content.
  • Work with multiple instances — auto-discovers running sessions and connects to the right one. See multiple instances.

Anything you can do in Neovim, the agent can too. See the full tool reference for details.

Demos

Quick start

nvim-mcp runs via uv (recommended) or Nix.

GitHub で README 全文を見る

インストール

uvx nvim-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "nvim-mcp": { "command": "uvx", "args": ["nvim-mcp"] } } }