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
cargo run -- --connect autoSecurity 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
XcodeBuildMCP
Provides an MCP (Model Context Protocol) server for AI agents and other clients to programmatically build, test, run, and debug iOS and macOS applications, manage simulators/devices, and capture logs.
mcphub.nvim
Integrates Model Context Protocol (MCP) servers with Neovim to enable AI agent interaction for tools, resources, and prompts within the editing workflow.
mcp
Enables AI models (LLMs) to interact with a Neo4j graph database by providing a structured set of tools via the Model Context Protocol (MCP).
ncp
NCP acts as a universal adapter and orchestrator for Model Context Protocol (MCP) servers and tools. It provides a unified interface for discovery, execution, and management of diverse tools (local CLI, HTTP APIs, internal plugins/Photons, AI skills) through natural language and structured code interaction, enabling AI agents to interact with the broader digital ecosystem.