nvim-mcp-server

brianhuster/nvim-mcp-server

3.3

If you are the rightful owner of nvim-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for Neovim that enhances integration between language models and Neovim.

Neovim MCP Server

A Model Context Protocol (MCP) server for Neovim that provides enhanced integration between language models and Neovim. This server enables AI language models to interact with Neovim, execute commands, read buffer contents, access Vim's help system, and more.

Installation

This project is currently in very early development, so there is no stable release yet. For now, you have to install from source

git clone --depth=1 https://github.com/brianhuster/nvim-mcp-server.git
cd nvim-mcp-server
npm install -g .

The CLI can then be called with nvim-mcp command.

Usage

Use with goose

This server was originally created to use with Goose AI agent. Use the following config to integrate with Goose:

extensions:
  nvim-mcp:
    args: []
    bundled: null
    cmd: nvim-mcp
    description: An extension to control a Neovim instance. Use it to execute commands, read buffer contents, get LSP diagnostics, read help, man pages,...
    enabled: true
    env_keys: []
    envs: {}
    name: nvim-mcp
    timeout: 300
    type: stdio