AI Pair Programmer (Ruby)

by k4sku

Not rated
GitHub

About

AI-powered tools for code review, brainstorming, performance analysis, and security review in Ruby.

Details

Author
k4sku
Categories
Developer Tools

Setup

Install AI Pair Programmer (Ruby) in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/k4sku/ai-pair-programmer-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

AI-powered tools for code review, brainstorming, performance analysis, and security review in Ruby.

A Ruby implementation of an AI Pair Programmer MCP (Model Context Protocol) server that provides AI-powered tools for code review, brainstorming, performance analysis, and security review.

This server provides 5 AI-powered tools:
- pair- General collaboration and problem-solving
- review- Comprehensive code review with actionable feedback
- brainstorm- Creative ideation and solution exploration
- review_performance- Performance analysis and optimization suggestions
- review_security- Security-focused code review and vulnerability detection

The server uses inline bundler for automatic gem installation. Required gems:

- fast-mcp- Ruby MCP server framework
- ruby_llm- Unified AI model interface

export OPENROUTER_API_KEY="your_api_key_here"

- Automatically install missing gems on first run
- Start with STDIO transport for MCP clients
- Log to STDERR which should be saved by your MCP Host.

If the MCP fails to start when lunching Claude Code it's probably due to timeout. The bundler is installing dependecies. To fix that either set an envvarMCP_TIMEOUT=10000(10s) or start the MCP server in the terminal first.

The server supports these AI models via OpenRouter:

- Gemini(default) -google/gemini-2.5-pro-preview
- O3-openai/o3
- Grok-x-ai/grok-3-beta
- DeepSeek-deepseek/deepseek-r1-0528
- Opus-anthropic/claude-opus-4

Add to yourclaude_desktop_config.json:

{ "mcpServers": { "AiPairProgrammer": { "command": "ruby", "args": ["/path/to/server.rb"] } } }
Please review this Ruby code for best practices and potential issues: def process_data(items) items.map { |item| item.upcase } end
Can you analyze this code for performance bottlenecks? def find_duplicates(array) duplicates = [] array.each do |item| if array.count(item) > 1 && !duplicates.include?(item) duplicates << item end end duplicates end
Please check this authentication code for security vulnerabilities: def authenticate(username, password) user = User.find_by(username: username) if user && user.password == password session[:user_id] = user.id true else false end end
I need ideas for improving user onboarding in my Ruby on Rails app. The current flow has a 60% drop-off rate.
I'm struggling with this algorithm problem. Can you help me think through it step by step?

- FastMcp- Ruby MCP server framework with STDIO transport
- RubyLLM- Unified interface to AI models via OpenRouter
- Inline Bundler- Automatic gem installation for easy deployment

AI Assistant MCP Server by Eduardhttps://github.com/eduardm/ai_pairs_with_ai
- Fork the repository
- Create a feature branch
- Make your changes
- Test withruby test_server.rb
- Submit a pull request

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Create crafted UI components inspired by the best 21st.dev design engineers.

Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

ALAPI MCP Tools,Call hundreds of API interfaces via MCP

AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.