Skip to main content
MCP JetBrains Code Inspections

MCP JetBrains Code Inspections

⚠️ Deprecated Notice

Status: Deprecated

This project is deprecated but still functional. Starting from version 2025.2, JetBrains IDEs now include a built-in MCP server.

Recommended alternatives:

See our migration guide for details.

A Model Context Protocol (MCP) server that enables running JetBrains IDE code inspections with automatic IDE selection.

Overview

MCP JetBrains Code Inspections provides a bridge between the MCP protocol and the powerful code inspection capabilities of JetBrains IDEs. It automatically detects the appropriate IDE installed on your system and uses it to analyze your code.

🚀 Key Features

  • 🔍 Comprehensive Inspections: Access all JetBrains inspections (not just TypeScript)
  • 🎯 Automatic IDE Selection: Detects and uses the best available IDE
  • 📊 Multiple Formats: Supports JSON, XML and plain text
  • ⚡ Optimized Performance: Configurable timeout for large projects
  • 🔧 Customizable Profiles: Use your own inspection profiles
  • 🌐 Multi-Language: Supports all JetBrains IDE languages

📚 Documentation

Getting Started

Configuration

Practical Guides

Technical Documentation

💡 Quick Example

// Analyze a TypeScript file
const diagnostics = await get_jetbrains_code_inspections({
path: '/src/app.ts',
});

// Analyze a directory
const results = await get_jetbrains_code_inspections({
path: '/src/components/',
});

Configuration via environment variables:

# Configure response format and exclusions
export RESPONSE_FORMAT="json"
export EXCLUDE_INSPECTIONS="SpellCheckingInspection,TodoComment"
export INSPECTION_TIMEOUT="180000"

🛠️ Supported IDEs

The following JetBrains IDEs are fully supported:

  • IntelliJ IDEA - Java, Kotlin, Scala, Groovy
  • WebStorm - JavaScript, TypeScript, HTML, CSS, Vue, React
  • PyCharm - Python, Django, Flask
  • PhpStorm - PHP, Laravel, Symfony
  • GoLand - Go, Golang
  • RubyMine - Ruby, Rails
  • CLion - C, C++, Rust (via plugin)
  • Rider - .NET, C#, F#, Unity
  • DataGrip - SQL, Databases
  • DataSpell - Data Science, Jupyter Notebooks
  • AppCode - iOS, macOS, Swift, Objective-C
  • Android Studio - Android, Kotlin
  • RustRover - Rust
  • Aqua - Test Automation
  • Writerside - Technical Documentation

🤝 Contributing

Contributions are welcome! Check out our contribution guide.

📝 License

This project is licensed under OSL-3.0 (Open Software License 3.0). See the LICENSE file for more details.