arcmoonstudios
MCP Serverarcmoonstudiospublic

rust ez

Rust-EZ is a comprehensive error analysis and correction system for Rust code. It helps developers identify, understand, and fix common Rust errors through static analysis, pattern matching, and automated fixes.

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Rust
Language
-
License

About This Server

Rust-EZ is a comprehensive error analysis and correction system for Rust code. It helps developers identify, understand, and fix common Rust errors through static analysis, pattern matching, and automated fixes.

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Rust-EZ: Error Analysis & Correction System

!Rust-EZ Logo

License: MIT Rust

Rust-EZ is a comprehensive error analysis and correction system for Rust code. It helps developers identify, understand, and fix common Rust errors through static analysis, pattern matching, and automated fixes.

Features

  • Error Detection: Identify common Rust errors through static analysis
  • Error Classification: Categorize errors by type, severity, and root cause
  • Automated Fixes: Generate and apply fixes for common errors
  • IDE Integration: Seamless integration with various IDEs (VSCode, JetBrains, etc.)
  • CLI & TUI Interfaces: Command-line and terminal user interfaces for error analysis
  • MCP Server: Model Context Protocol server for integration with other tools
  • Extensible Architecture: Modular design for easy extension and customization

Project Structure

The Rust-EZ project is organized into several crates, each with a specific responsibility:

  • rust-ez-core: Core types, traits, and utilities used across all crates
  • rust-ez-analyzer: Main analyzer for error detection and classification
  • rust-ez-parser: Parser for Rust code and compiler error messages
  • rust-ez-patterns: Pattern matching for error detection and fix generation
  • rust-ez-cli-tui: Command-line and terminal user interfaces
  • rust-ez-ide: IDE integration (VSCode, JetBrains, etc.)
  • rust-ez-mcp-server: Model Context Protocol server for integration with other tools

Installation

Prerequisites

  • Rust 1.70 or higher
  • Cargo

From Source

# Clone the repository
git clone https://github.com/arcmoonstudios/rust-ez.git
cd rust-ez/servers/src/rust-ez

# Build the project
cargo build --release

# Install the CLI tool
cargo install --path rust-ez-cli-tui

Using Cargo

# Install the CLI tool
cargo install rust-ez

Usage

Command-Line Interface

# Analyze a Rust file
rust-ez cli --path path/to/file.rs

# Analyze a Rust file and fix errors
rust-ez cli --path path/to/file.rs --fix

# Analyze a directory of Rust files
rust-ez cli --path path/to/directory

# Analyze a specific error message
rust-ez analyze --message "error[E0308]: mismatched types"

Terminal User Interface

# Start the TUI
rust-ez tui

IDE Integration

VSCode

  1. Install the Rust-EZ extension from the VSCode marketplace
  2. Open a Rust project
  3. Rust-EZ will automatically analyze your code and provide suggestions

JetBrains (Coming Soon)

Support for JetBrains IDEs (IntelliJ IDEA, CLion, etc.) is coming soon.

MCP Server

# Start the MCP server
rust-ez-mcp-server

# Configure the server
rust-ez-mcp-server --config path/to/config.json

Development

Building

# Build all crates
cargo build

# Build a specific crate
cargo build -p rust-ez-core

Testing

# Run all tests
cargo test

# Run tests for a specific crate
cargo test -p rust-ez-analyzer

Benchmarking

The project includes benchmarks for various components. To run the benchmarks with Gnuplot visualization:

Prerequisites

  1. Ensure Gnuplot is installed (e.g., at C:\Program Files\gnuplot\bin\gnuplot.exe)

  2. Add Gnuplot to your system PATH:

    Temporary (Current Terminal Session):

    # In PowerShell
    $env:Path += ";C:\Program Files\gnuplot\bin"
    
    # Or in Command Prompt (cmd.exe)
    set PATH=%PATH%;C:\Program Files\gnuplot\bin
    

    Permanent (Windows):

    1. Search for "Edit the system environment variables" in the Windows search bar
    2. Click the "Environment Variables..." button
    3. In the "System variables" (or "User variables") section, find the Path variable and click "Edit..."
    4. Click "New" and add: C:\Program Files\gnuplot\bin
    5. Click "OK" on all dialog boxes
    6. Close and reopen any terminal for the new PATH to take effect

Running Benchmarks

# Run all benchmarks
cargo bench

# Run a specific benchmark
cargo bench --bench patterns_benchmarks

Using the Plotters backend instead of Gnuplot

# Run benchmarks with the Plotters backend
cargo bench -- --plotting-backend plotters

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Please make sure your code follows the project's coding style and includes appropriate tests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • The Rust community for their excellent documentation and tools
  • All contributors who have helped make this project better

Contact

  • Project Lead: Lord Xyn - LordXyn@proton.me
  • GitHub: https://github.com/arcmoonstudios/rust-ez

rust-ez

Quick Start

1

Clone the repository

git clone https://github.com/arcmoonstudios/rust-ez
2

Install dependencies

cd rust-ez
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerarcmoonstudios
Reporust-ez
LanguageRust
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation