MCP.so
登录

CodeView MCP Server

@mann-uofg

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

mann-uofg

关于 CodeView MCP Server

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.

CodeView MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "codeview-mcp": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        ".venv",
        "&&",
        "source",
        ".venv/bin/activate"
      ]
    }
  }
}

CodeView MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

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.

3

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`).

4

What are the runtime dependencies?

Python 3.10+, SQLite, ChromaDB, and network access for cloud LLM calls. Secrets are stored via the system keyring.

5

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 服务器