Agentโ™ฅ๏ธŽAge
Catalog

rrubocop

Official

by adrianov ยท Rust

Fast RuboCop-compatible Ruby linter with MCP inspect and autocorrect tools.

io.github.adrianov/rrubocop โ€” MCP Ruby Linter & Autocorrect

This MCP server provides a fast RuboCop-compatible Ruby linter. It exposes MCP inspect and autocorrect tools, targeting RuboCop-like output and configuration through an existing .rubocop.yml, and it can lint simple Ruby/ERB without requiring a Ruby runtime.

๐Ÿ› ๏ธ Key Features

  • Fast RuboCop-compatible Ruby linting
  • MCP tools for inspect and autocorrect
  • Drop-in CLI behavior: uses .rubocop.yml and RuboCop-like offense output
  • Uses tree-sitter; no Ruby runtime required for linting or simple ERB
  • Unsupported ERB falls back to ruby / bundle exec ruby
  • Emits RuboCop-like text/JSON output
  • Single binary behavior across rbenv, rvm, system Ruby, and Docker

๐Ÿš€ Use Cases

  • Lint existing Ruby and Ruby on Rails projects using .rubocop.yml
  • Apply simple ERB linting without Ruby tooling
  • Integrate into CI/CD and developer workflows requiring static-analysis

โšก Developer Benefits

  • RuboCop-like parity for easier adoption
  • Avoids maintaining RuboCop gems for linting
  • Deterministic CLI usage across Ruby environments and Docker

โš ๏ธ Limitations

  • Complex ERB may be unsupported and requires Ruby via ruby / bundle exec ruby

Topics

mcpaiai-agentai-toolsautocorrectci-cdclicode-qualitydeveloper-toolslinterllm-friendlyperformancerailsrspecrubocoprubyruby-on-railsruststatic-analysistree-sitter