Back to Home
fsmiamoto icon

reagent

by fsmiamoto

Overview

Provides a lightweight Model Context Protocol (MCP) server for browser-based, GitHub-style code reviews to facilitate human-in-the-loop feedback for AI coding agents.

Installation

Run Command
npx -y @fsmiamoto/reagent@latest mcp

Security Notes

The server executes Git commands using `child_process.execSync` where user-provided input (such as `commitHash`, `base`, and `head` for `git diff` or `git show`) is directly concatenated into the shell command string without apparent sanitization. This creates a critical command injection vulnerability. An attacker or an AI agent (accidentally or maliciously) providing crafted input like `abc123; rm -rf /` to parameters like `commitHash` could execute arbitrary shell commands on the host machine. The `express.json({ limit: '50mb' })` setting also presents a potential, albeit lower, risk for denial-of-service via large request bodies.

Similar Servers

Stats

Interest Score20
Security Score2
Cost ClassMedium
Avg Tokens1000
Stars1
Forks1
Last Update2026-01-02

Tags

MCP servercode reviewAI feedbackdeveloper toolsGit integration