686 B
686 B
Neovim MCP Enforcement Rule
When interacting with the user's Neovim editor (e.g., opening a file, moving the cursor, reading the active buffer, setting diagnostics), you MUST ALWAYS use the MCP tools provided by the win-nvim (Neovim) MCP server.
- You are strictly forbidden from using bash scripts,
nvim --server, or other raw terminal/shell hacks to remote-control Neovim. - You must rely entirely on the MCP tool registry (e.g.,
nvim_goto_line,nvim_get_active_buffer,nvim_get_cursor,nvim_get_visual_selection,nvim_set_diagnostics). - If the tool is eagerly loaded, use it natively as an agent tool. If lazy-loaded, invoke it via the
call_mcp_toolmechanism.