CodeView MCP 🪄
@mann-uofg
关于 CodeView MCP 🪄
AI-powered code-review toolkit: MCP server + CLI to analyze GitHub PRs with local LLM smells, cloud LLM summaries, inline comments, risk gating, and test stub generation.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"codeview-mcp": {
"command": "python",
"args": [
"-m",
"venv",
".venv",
"&&",
"source",
".venv/bin/activate"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is CodeView MCP 🪄?
CodeView MCP 🪄 is an MCP server that performs a 30-second AI review of pull requests, combining static regex rules for critical smells, a local LLM (CodeLlama-13B) for quick heuristics, and a cloud LLM (Llama-3.1-8b-instant via Groq/OpenAI) for human-style summaries and risk scores. It targets developers who need fast, privacy-conscious PR analysis.
How to use CodeView MCP 🪄?
Clone the repository, create a Python virtual environment, install dependencies, and install the package with pip install -e .. Run a smoke test with reviewgenie/codeview ping https://github.com/psf/requests/pull/6883. Store secrets such as a GitHub PAT and Groq/OpenAI API key using the codeview_mcp.secret keyring module.
Key features of CodeView MCP 🪄
- Static regex rules for critical code smells
- Local LLM heuristics with no cloud cost
- Cloud LLM human-style summary and risk score (0–1)
- One-click inline comment accept or ignore
- SQLite diff cache and ChromaDB hunk embeddings
- OpenTelemetry tracing and GitHub back-off logic
Use cases of CodeView MCP 🪄
- Reviewing large PRs quickly for security or performance issues
- Running a CI gate that blocks merges when risk score exceeds a threshold
- Generating stub test files and opening test PRs automatically
- Auditing code with inline comments that can be accepted or dismissed
FAQ from CodeView MCP 🪄
What does the analyze tool produce?
It returns a summary, a list of smells, rule hits, and a risk score between 0 and 1, with typical latency of 6–10 seconds.
How does CodeView MCP 🪄 protect code privacy?
Only the diff snippet is sent to the cloud LLM (Groq); the full codebase never leaves your machine.
What LLMs does CodeView MCP 🪄 use?
It uses CodeLlama-13B locally and Llama-3.1-8b-instant via a cloud provider (Groq or OpenAI, configured via OPENAI_API_KEY and OPENAI_BASE_URL).
What are the runtime dependencies?
Python 3.10+, SQLite, ChromaDB, and network access for cloud LLM calls. Secrets are stored via the system keyring.
How is the server invoked or transported?
The README shows a CLI command (reviewgenie/codeview) and smoke test; the MCP transport is not specified further.
开发工具 分类下的更多 MCP 服务器
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
评论