rubocop-mcp-server
Verified Safeby 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
node build/index.jsSecurity 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
rails-mcp-server
Enables Large Language Models (LLMs) to interact with Rails projects for code analysis, exploration, and development assistance using the Model Context Protocol.
code-assistant
Standardizes communication between code editors and AI coding agents, enabling autonomous code analysis and modification via command-line, GUI, or server modes.
action_mcp
ActionMCP is a Ruby gem providing Model Context Protocol (MCP) server capabilities to Rails applications, enabling AI assistants to connect to external data sources and tools.
mcp_rails_template
This server demonstrates integrating the ActionMCP gem into a Ruby on Rails application to expose AI-callable tools, prompts, and resource templates for language models.