Back to Home
ishtiaque05 icon

rubocop-mcp-server

Verified Safe

by ishtiaque05

Overview

Provides Ruby RuboCop and Rails linting capabilities to AI assistants via the Model Context Protocol (MCP) for code quality and auto-correction.

Installation

Run Command
node build/index.js

Security Notes

The server executes external `rubocop` commands using `child_process.execFile`. Arguments passed to `rubocop` (like file paths, cop names) are constructed from user input. `execFile` is generally safer than `exec` as it prevents shell injection by not interpreting arguments as shell commands. The risk of command injection is low, assuming the `rubocop` binary itself is trusted and the arguments passed are treated as literal strings by `rubocop`. No hardcoded secrets or direct network listen ports are identified, as it primarily communicates via standard I/O.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2500
Stars0
Forks0
Last Update2025-12-18

Tags

RuboCopRailsLintingMCP ServerAI Assistant