Agent skill
mcp-jetbrains-ide
Control JetBrains IDE (IntelliJ, WebStorm, PyCharm) via MCP. Use when manipulating IDE files, running configurations, searching code, or performing refactoring. Triggers on "open in IDE", "run configuration", "refactor code", "IDE search", "JetBrains".
Install this agent skill to your Project
npx add-skill https://github.com/vaayne/agent-kit/tree/main/skills/mcp-jetbrains-ide
SKILL.md
JetBrains IDE MCP
MCP service at http://localhost:64342/sse (sse) with 21 tools.
Requirements
mhCLI must be installed. If not available, install with:bashcurl -fsSL https://raw.githubusercontent.com/vaayne/mcphub/main/scripts/install.sh | sh
Usage
List tools: mh list -u http://localhost:64342/sse -t sse
Get tool details: mh inspect -u http://localhost:64342/sse -t sse <tool-name>
Invoke tool: mh invoke -u http://localhost:64342/sse -t sse <tool-name> '{"param": "value"}'
Notes
- Run
inspectbefore invoking unfamiliar tools to get full parameter schema - Timeout: 30s default, use
--timeout <seconds>to adjust - The IDE must be running with the MCP plugin active for this to work
Tools
| Tool | Description |
|---|---|
buildProject |
Triggers building of the project, returns build errors. Use after edits to validate changes. |
createNewFile |
Creates a new file at the specified path, optionally with initial content. |
executeRunConfiguration |
Run a specific run configuration and wait for completion. |
findFilesByGlob |
Search for files matching a glob pattern (e.g. **/*.txt). |
findFilesByNameKeyword |
Search for files by name keyword (case-insensitive). |
getAllOpenFilePaths |
Get paths of all currently open files in the editor. |
getFileProblems |
Analyze a file for errors and warnings using IDE inspections. |
getFileTextByPath |
Read file contents by project-relative path. |
getProjectDependencies |
Get list of all project dependencies. |
getProjectModules |
Get list of all modules with their types. |
getRepositories |
Get list of VCS roots in the project. |
getRunConfigurations |
Get available run configurations with details. |
getSymbolInfo |
Get Quick Documentation info for a symbol at position. |
listDirectoryTree |
Get tree representation of a directory structure. |
openFileInEditor |
Open a file in the IDE editor. |
permissionPrompt |
Handle permission prompts. |
reformatFile |
Apply code formatting rules to a file. |
renameRefactoring |
Rename a symbol with full project-wide refactoring. |
replaceTextInFile |
Replace text in a file with find/replace options. |
searchInFilesByRegex |
Search project files using regex pattern. |
searchInFilesByText |
Search project files for text substring. |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
pi-delegate
Delegate tasks to Pi subagents with preset roles (oracle, worker, reviewer, ui-engineer, librarian) or ad-hoc prompts. Use for fresh context, model specialization, second opinions, code review, isolated execution, or parallel task delegation.
mcp-context7-docs
Query up-to-date documentation and code examples for any programming library or framework. Use when looking up API docs, finding code examples, or checking library usage. Triggers on "how to use [library]", "docs for [package]", "show me examples of [framework]", "Context7 lookup".
web-fetch
Fetch and extract clean content from URLs using Jina Reader API. Use when users need to read webpage content, extract article text, or fetch URL content for analysis. Triggers on "fetch this page", "read this URL", "extract content from", "get the content of", "what does this page say".
tmux
Control interactive terminal sessions via tmux. Use when tasks need persistent REPLs, parallel CLI agents, or any process requiring a TTY that simple shell execution cannot handle.
specs-dev
Plan-first development workflow with review gates. Use when implementing features, refactoring, or any task requiring structured planning, iterative implementation with reviews, and clean commits. Triggers on requests like "implement feature X", "plan and build", "spec-driven development", or when user wants disciplined, reviewed code changes.
mcp-grep-code
Search real-world code examples from over a million public GitHub repositories. Use when finding code patterns, implementation examples, or how libraries are used in practice. Triggers on "find code examples", "how is [library] used", "search GitHub code", "grep.app search", "code pattern".
Didn't find tool you were looking for?