Back to Home
linw1995 icon

nvim-mcp

by linw1995

Overview

A Model Context Protocol (MCP) server that provides seamless integration with Neovim instances, enabling AI assistants to interact with the editor through connections and access diagnostic information.

Installation

Run Command
cargo run -- --connect auto

Security Notes

The server includes an `exec_lua` tool that allows executing arbitrary Lua code within the connected Neovim instance. While this is an intended feature for powerful integrations, it poses a critical security risk. If the server is exposed via HTTP (`--http-port` with `--http-host 0.0.0.0`) without robust external authentication/authorization, a malicious actor gaining network access to the server could execute arbitrary code within the user's Neovim, potentially compromising the editor and underlying system. There are no explicit hardcoded secrets found in the provided code.

Similar Servers

Stats

Interest Score34
Security Score3
Cost ClassHigh
Avg Tokens2000
Stars29
Forks3
Last Update2026-01-02

Tags

NeovimMCPAI AssistantLSPDeveloper Tools