code-preview.nvim

MCP server · GitHub · ★ 185 · graded 2026-10-21Source linked

A Neovim plugin that shows a live diff preview of AI coding agent's file edits before you accept or reject them.

No outside reports on file

code-preview.nvim is distributed via GitHub (Cannon07/code-preview.nvim); review its source code, dependencies, and requested permissions before use.

Based on public adoption and transparency signals as of Oct 21, 2026. Our opinion, not a code audit or security guarantee.

Was this verdict for Code Preview.nvim helpful?

What it can access

  • Local filesNo local folder access notedLOW
  • Command executionNo shell command runner notedLOW
  • Network reachLocal or standard API callsLOW
  • CredentialsNo API token requiredLOW
  • Package sourceGitHub (Cannon07/code-preview.nvim)PUBLIC

Inferred from this listing’s public package details and description. Check the project’s source before installing.

Install

No npm or PyPI package is listed. Install from source: github.com/Cannon07/code-preview.nvim ↗

All setup options ↓

About Code Preview.nvim

Code Preview.nvim is an MCP server focused on Developer tools and Files & documents: A Neovim plugin that shows a live diff preview of AI coding agent's file edits before you accept or reject them.

It is hosted on GitHub at Cannon07/code-preview.nvim (185 GitHub stars). Based on its public metadata, it operates with standard local or API scope without broad shell execution flags noted.

Setup

These use the package this listing points to. Check the project’s own instructions before running anything.

No npm or PyPI package is listed for this MCP server. Source code and setup steps: github.com/Cannon07/code-preview.nvim.

Why this grade

CC — Moderate risk signals

Signal-based grade (2/7 points): public source code. This reflects adoption and transparency, not a code review.

Popularity and upkeep

26/100
GitHub stars
185
Listing last refreshed
2026-10-28

These are public popularity signals, not a maintenance check. Look at the repository’s commit history and open issues.

Security reports

No reports found for this package in our research (last checked 2026-10-29).

Check a specific version →

Risks to watch for

  • Dependency & version pinning: Distributed via GitHub (Cannon07/code-preview.nvim). Pin an exact release version or commit SHA rather than floating tags so upstream updates are reviewed first.

How to lower the risk

Least-privilege permissions

  • Give it access only to the specific folders, accounts or projects it needs, never your whole drive or admin account.
  • Use a separate, limited API key or login just for this tool so you can switch it off without affecting anything else.

Network isolation

  • Run it on a work computer or sandbox account, not one holding personal or company-sensitive data.
  • If your IT team can, limit which websites and services it is allowed to contact.

Monitoring

  • Check its activity history or logs weekly at first, and look at what it changed or sent.
  • Turn on alerts for new logins or unusual usage on any account it connects to.

Red flags to watch for

  • It asks for more access than its job requires, or prompts you to paste passwords.
  • It suddenly updates with new owners, or starts contacting unfamiliar websites.

Questions

How do I install Code Preview.nvim?

Code Preview.nvim does not publish a standalone npm or PyPI package. Clone or follow the setup instructions in its source repository at github.com/Cannon07/code-preview.nvim.

Are there security reports about Code Preview.nvim?

No reports found for this package in our research (last checked 2026-10-29). Code Preview.nvim currently holds Grade C (Moderate risk signals) based on public adoption and transparency signals. Review the permissions and source repository before granting access to local files, shell commands, or API keys.

Is Code Preview.nvim actively maintained?

Code Preview.nvim has 185 GitHub stars. Our directory data was last refreshed on 2026-10-28. Check recent commit activity, release tags, and open issues at github.com/Cannon07/code-preview.nvim before pinning it in production.

What are alternatives to Code Preview.nvim?

Compare Code Preview.nvim side by side with similar MCP servers in the Related tools section on this page, or browse all MCP servers on AgentArmorHQ.

README badge and team notes

Maintain or use Code Preview.nvim? Show its live grade in your GitHub README, docs site, or run a check from the terminal before you install.

AgentArmorHQ Risk Grade C for Code Preview.nvim

GitHub README Markdown:

markdown
[![AgentArmorHQ Risk Grade for Code Preview.nvim](https://agentarmorhq.com/api/badge/cannon07-code-preview-nvim)](https://agentarmorhq.com/skills/cannon07-code-preview-nvim)

HTML embed:

html
<a href="https://agentarmorhq.com/skills/cannon07-code-preview-nvim"><img src="https://agentarmorhq.com/api/badge/cannon07-code-preview-nvim" alt="AgentArmorHQ Risk Grade for Code Preview.nvim" height="20" /></a>

Terminal check:

terminal
curl -fsSL https://agentarmorhq.com/api/cli | node --input-type=module - check "cannon07-code-preview-nvim"

Share with your security lead

Need sign-off to use code-preview.nvim? Copy this note for Slack, a ticket or a pull request.

### AgentArmorHQ Security Review Memo: code-preview.nvim
- **Listing URL:** https://agentarmorhq.com/skills/cannon07-code-preview-nvim
- **Type:** App connector
- **Risk Grade:** Grade C (Moderate risk signals)
- **Outside Security Advisories on File:** 0
- **Public Adoption:** 185 GitHub stars

#### Permission & Blast-Radius Signals
- **Local files:** No local folder access noted
- **Command execution:** No shell command runner noted
- **Network reach:** Local or standard API calls
- **Credentials:** No API token required
- **Package source:** GitHub (Cannon07/code-preview.nvim)

#### Recommended Hardened Setup
- **Source Repo:** https://github.com/Cannon07/code-preview.nvim
- **Controls:** Pin an exact version in `.mcp.json`, scope access to a single workspace folder, and use a least-privilege read-only token where supported.

_Based on public adoption and transparency signals as of Oct 21, 2026. Our opinion, not a code audit or security guarantee._

Key facts

Type
App connector
Publisher
Cannon07
Source code
github.com/Cannon07/code-preview.nvim
Est. context load
~850 tokens / turn (~5 tool schemas, 0.43% of 200k context)
Popularity
185 GitHub stars
Last updated
2026-10-28
Last graded
2026-10-21

Community

Discussions for Code Preview.nvim

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Was this listing for Code Preview.nvim helpful?

Check before you install, in Claude

Your assistant answers Block, Review or No known issues for any package before it installs it.

Get this check inside Claude