MCP JetBrains Code Inspections
⚠️ Deprecated Notice
This project is deprecated but still functional. Starting from version 2025.2, JetBrains IDEs now include a built-in MCP server.
Recommended alternatives:
- JetBrains IDE 2025.2+: Built-in MCP server
- Earlier versions: JetBrains MCP plugin
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
- Prerequisites - What you need before installation
- Installation - Step-by-step installation guide
- Quick Start - Your first inspection in 2 minutes
Configuration
- Overview - Available configuration options
- MCP Setup - Configure the MCP server
- Environment Variables - All configuration options
- Inspection Profiles - Manage profiles
Practical Guides
- Multi-IDE Usage - Using different IDEs
- Testing - How to test your setup
- Troubleshooting - Solving common problems
- Best Practices - Production usage patterns
Technical Documentation
- Architecture - System design
- API Reference - Complete API 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.