linw1995/nvim-mcp
A Model Context Protocol (MCP) server that provides seamless integration with Neovim instances, enabling AI assistants to interact with your editor through connections and access diagnostic information via structured resources.
e4d97a95c4a5nvim-mcp0.7.2 in Cargo.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- MEDIUM13 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
anyhow1.0.103 or later,bytes1.11.1 or later,rmcp3.9.0 or later,rustix1.1.6 or later and 6 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 33 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
None of the tools reaches any of these in the code the scanner could trace.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (33: 33 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
buffer_diagnosticstool
No description.
connecttool
No description.
connect_tcptool Connect via TCP address
Connect via TCP address
cursor_positiontool Get the current cursor position: buffer id, buffer name, window id, and zero-based row/col index
Get the current cursor position: buffer id, buffer name, window id, and zero-based row/col index
disconnecttool Disconnect from Neovim instance
Disconnect from Neovim instance
exec_luatool Execute Lua code
Execute Lua code
get_targetstool
No description.
list_bufferstool List all open buffers
List all open buffers
lsp_apply_edittool Apply workspace edits using Neovim's LSP utility functions
Apply workspace edits using Neovim's LSP utility functions
lsp_call_hierarchy_incoming_callstool Get incoming calls for a call hierarchy item
Get incoming calls for a call hierarchy item
lsp_call_hierarchy_outgoing_callstool Get outgoing calls for a call hierarchy item
Get outgoing calls for a call hierarchy item
lsp_call_hierarchy_preparetool Prepare call hierarchy for a symbol at a specific position
Prepare call hierarchy for a symbol at a specific position
lsp_clientstool Get workspace LSP clients
Get workspace LSP clients
lsp_code_actionstool Get LSP code actions
Get LSP code actions
lsp_declarationtool Get LSP declaration
Get LSP declaration
lsp_definitiontool Get LSP definition
Get LSP definition
lsp_document_symbolstool Get document symbols
Get document symbols
lsp_formattingtool Format entire document using LSP with optional auto-apply
Format entire document using LSP with optional auto-apply
lsp_hovertool Get LSP hover information
Get LSP hover information
lsp_implementationstool Get LSP implementation
Get LSP implementation
lsp_organize_importstool Sort and organize imports
Sort and organize imports
lsp_range_formattingtool Format a specific range in a document using LSP with optional auto-apply
Format a specific range in a document using LSP with optional auto-apply
lsp_referencestool Get LSP references
Get LSP references
lsp_renametool Rename symbol across workspace using LSP with optional validation
Rename symbol across workspace using LSP with optional validation
lsp_resolve_code_actiontool Resolve a code action that may have incomplete data
Resolve a code action that may have incomplete data
lsp_type_definitiontool Get LSP type definition
Get LSP type definition
lsp_type_hierarchy_preparetool Prepare type hierarchy for a symbol at a specific position
Prepare type hierarchy for a symbol at a specific position
lsp_type_hierarchy_subtypestool Get subtypes for a type hierarchy item
Get subtypes for a type hierarchy item
lsp_type_hierarchy_supertypestool Get supertypes for a type hierarchy item
Get supertypes for a type hierarchy item
lsp_workspace_symbolstool Search workspace symbols by query
Search workspace symbols by query
navigatetool Navigate to a specific position in the current buffer or open a file at a specific position
Navigate to a specific position in the current buffer or open a file at a specific position
readtool
No description.
wait_for_lsp_readytool Wait for LSP client to be ready and attached
Wait for LSP client to be ready and attached
Text the model reads (33)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_targets tool
connect tool
connect_tcp tool
Connect via TCP address
disconnect tool
Disconnect from Neovim instance
list_buffers tool
List all open buffers
exec_lua tool
Execute Lua code
wait_for_lsp_ready tool
Wait for LSP client to be ready and attached
read tool
buffer_diagnostics tool
lsp_clients tool
Get workspace LSP clients
lsp_workspace_symbols tool
Search workspace symbols by query
lsp_code_actions tool
Get LSP code actions
lsp_hover tool
Get LSP hover information
lsp_document_symbols tool
Get document symbols
lsp_references tool
Get LSP references
lsp_definition tool
Get LSP definition
lsp_type_definition tool
Get LSP type definition
lsp_implementations tool
Get LSP implementation
lsp_declaration tool
Get LSP declaration
lsp_resolve_code_action tool
Resolve a code action that may have incomplete data
lsp_apply_edit tool
Apply workspace edits using Neovim's LSP utility functions
lsp_rename tool
Rename symbol across workspace using LSP with optional validation
lsp_formatting tool
Format entire document using LSP with optional auto-apply
lsp_range_formatting tool
Format a specific range in a document using LSP with optional auto-apply
lsp_organize_imports tool
Sort and organize imports
cursor_position tool
Get the current cursor position: buffer id, buffer name, window id, and zero-based row/col index
navigate tool
Navigate to a specific position in the current buffer or open a file at a specific position
lsp_call_hierarchy_prepare tool
Prepare call hierarchy for a symbol at a specific position
lsp_call_hierarchy_incoming_calls tool
Get incoming calls for a call hierarchy item
lsp_call_hierarchy_outgoing_calls tool
Get outgoing calls for a call hierarchy item
lsp_type_hierarchy_prepare tool
Prepare type hierarchy for a symbol at a specific position
lsp_type_hierarchy_supertypes tool
Get supertypes for a type hierarchy item
lsp_type_hierarchy_subtypes tool
Get subtypes for a type hierarchy item
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 33 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 33 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 33 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 33 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 33 tool handlers traced
- Tools that start processesNot seen in the traced code of 33 capabilities; 33 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 33 capabilities; 33 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 33 capabilities; 33 more call code the scanner could not follow, where it may happen
Where the code is: 33 handlers in 1 file at commit e4d97a95c4a5
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: Cargo.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM13 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionrmcp 3.5
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 33 capabilities; 33 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (4 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (13 in production)
rustlscrates.io 0.23.40 MEDIUM 8 advisories 0.23.450.23.460.24.0-dev.2
- MEDIUMGHSA-c8m5-c952-6cm4 CVE-2026-123609 RUSTSEC-2026-0346Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
- MEDIUMRUSTSEC-2026-0349 CVE-2026-123611 GHSA-w44r-93j7-qv28Unauthenticated ServerHello can downgrade later connections to classical key exchange
- MEDIUMRUSTSEC-2026-0348 CVE-2026-123610 GHSA-h2v8-394m-p7vvBrotli certificate decompression can allocate up to 1 GiB before authentication
- MEDIUMRUSTSEC-2026-0285 CVE-2026-123613 GHSA-2mjx-qc3c-rqvcTLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
- MEDIUMRUSTSEC-2026-0346 CVE-2026-123609 GHSA-c8m5-c952-6cm4`Debug` impls for client session values expose TLS secrets
- MEDIUMGHSA-2mjx-qc3c-rqvc CVE-2026-123613 RUSTSEC-2026-0285Rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
- LOWGHSA-w44r-93j7-qv28 CVE-2026-123611 RUSTSEC-2026-0349rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share
- LOWGHSA-h2v8-394m-p7vv CVE-2026-123610 RUSTSEC-2026-0348Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
bytescrates.io 1.10.1 MEDIUM 2 advisories 1.11.1
- MEDIUMGHSA-434x-w66g-qw3r CVE-2026-25541 RUSTSEC-2026-0007bytes has integer overflow in BytesMut::reserve
- MEDIUMRUSTSEC-2026-0007 CVE-2026-25541 GHSA-434x-w66g-qw3rInteger overflow in `BytesMut::reserve`
timecrates.io 0.3.41 MEDIUM 2 advisories 0.3.47
- MEDIUMGHSA-r6v5-fh4h-64xc CVE-2026-25727 RUSTSEC-2026-0009time vulnerable to stack exhaustion Denial of Service attack
- MEDIUMRUSTSEC-2026-0009 CVE-2026-25727 GHSA-r6v5-fh4h-64xcDenial of Service via Stack Exhaustion
anyhowcrates.io 1.0.102 MEDIUM 1 advisory 1.0.103
- MEDIUMRUSTSEC-2026-0190Unsoundness in `Error::downcast_mut()`
chronocrates.io 0.4.45 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0543chrono is unmaintained
pastecrates.io 1.0.15 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2024-0436paste - no longer maintained
rmcpcrates.io 3.8.0 MEDIUM 1 advisory 3.9.0
- MEDIUMRUSTSEC-2026-0462 GHSA-c9f9-cp8h-jcj5Unbounded response body buffering in Streamable HTTP clients
rustixcrates.io 1.1.4 MEDIUM 1 advisory 1.1.6
- MEDIUMRUSTSEC-2026-0486 GHSA-jh2m-fhpj-3vr7xattr functions mark unwritten bytes as initialized when given a zero-length buffer
rustls-webpkicrates.io 0.103.13 MEDIUM 1 advisory 0.103.160.104.0-alpha.8
- MEDIUMRUSTSEC-2026-0382 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0381 RUSTSEC-2026-0383Certificate verification may accept distrusted intermediates
tokiocrates.io 1.50.0 MEDIUM 1 advisory 1.51.61.53.3
- MEDIUMRUSTSEC-2026-0386`AsyncFd::new` and related constructors violate I/O safety
tokio-iocrates.io 0.1.13 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0058`tokio-io` is unmaintained
urlcrates.io 2.5.4 MEDIUM 1 advisory 2.5.9
- MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs
webpki-root-certscrates.io 1.0.7 MEDIUM 1 advisory 0.26.111.0.10
- MEDIUMRUSTSEC-2026-0383 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0381 RUSTSEC-2026-0382Bundled root certificates allow trust in distrusted emSign intermediates
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | rmcp 3.5 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-13 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | Apache-2.0 |
| Created | 2025-08-07 |
| Topics | lsp mcp-server nvim nvim-plugin |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.