Skip to content
Back to skills

Mcp Jetbrains Ide

CSecurity

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".

  • 1,689 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 3, 2026
toolsshellbashrefactoringgitdocumentation

Works with

  • terminal
  • cli
  • mcp

Security analysis

C71/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts — classic supply chain attack

Pro shows the line behind each finding and how to fix it

Scanned June 3, 2026

npx -y skills add Dicklesworthstone/pi_agent_rust --skill mcp-jetbrains-ide --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mcp Jetbrains Ide?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mcp Jetbrains Ide
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/dicklesworthstone-mcp-jetbrains-ide/badge)](https://www.skillsdirectory.com/skills/dicklesworthstone-mcp-jetbrains-ide)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mcp-jetbrains-ide
description: 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".
---

# JetBrains IDE Integration

MCP service at `http://localhost:64342/sse` (sse) with 22 tools.

## Requirements

- `mh` CLI must be installed. If not available, install with:
  ```bash
  curl -fsSL https://raw.githubusercontent.com/vaayne/mcphub/main/scripts/install.sh | sh
  ```
- JetBrains IDE must be running with MCP plugin enabled

## Usage

List tools: `mh -u http://localhost:64342/sse -t sse list`
Get tool details: `mh -u http://localhost:64342/sse -t sse inspect <tool-name>`
Invoke tool: `mh -u http://localhost:64342/sse -t sse invoke <tool-name> '{"param": "value"}'`

## Notes

- Run `inspect` before invoking unfamiliar tools to get full parameter schema
- Timeout: 30s default, use `--timeout <seconds>` to adjust
- SSE port may vary - check IDE MCP plugin settings if connection fails
- All file paths are relative to project root unless absolute

## Tools

### File Operations

| Tool                  | Description                                                          |
| --------------------- | -------------------------------------------------------------------- |
| `createNewFile`       | Create a new file at specified path, auto-creates parent directories |
| `getFileTextByPath`   | Read file contents by project-relative path                          |
| `replaceTextInFile`   | Replace text in file with flexible find/replace options              |
| `reformatFile`        | Apply code formatting rules to a file                                |
| `openFileInEditor`    | Open a file in the IDE editor                                        |
| `getAllOpenFilePaths` | Get paths of all currently open files                                |

### Search

| Tool                     | Description                                       |
| ------------------------ | ------------------------------------------------- |
| `findFilesByNameKeyword` | Find files by name keyword (case-insensitive)     |
| `findFilesByGlob`        | Find files matching glob pattern (e.g. `**/*.ts`) |
| `searchInFilesByText`    | Search for text substring across project files    |
| `searchInFilesByRegex`   | Search with regex pattern across project files    |

### Code Intelligence

| Tool                | Description                                     |
| ------------------- | ----------------------------------------------- |
| `getSymbolInfo`     | Get documentation/info about symbol at position |
| `getFileProblems`   | Analyze file for errors and warnings            |
| `renameRefactoring` | Rename symbol across entire project             |

### Project

| Tool                     | Description                         |
| ------------------------ | ----------------------------------- |
| `listDirectoryTree`      | Tree view of directory structure    |
| `getProjectModules`      | List all project modules with types |
| `getProjectDependencies` | List all project dependencies       |
| `getRepositories`        | List VCS roots in project           |

### Execution

| Tool                      | Description                           |
| ------------------------- | ------------------------------------- |
| `getRunConfigurations`    | List available run configurations     |
| `executeRunConfiguration` | Run a specific run configuration      |
| `executeTerminalCommand`  | Execute shell command in IDE terminal |

### Other

| Tool               | Description               |
| ------------------ | ------------------------- |
| `permissionPrompt` | Permission prompt utility |

## Examples

```bash
# List project structure
mh -u http://localhost:64342/sse -t sse invoke listDirectoryTree '{"path": "."}'

# Search for text in files
mh -u http://localhost:64342/sse -t sse invoke searchInFilesByText '{"query": "TODO"}'

# Read a file
mh -u http://localhost:64342/sse -t sse invoke getFileTextByPath '{"path": "src/index.ts"}'

# Rename a symbol
mh -u http://localhost:64342/sse -t sse invoke renameRefactoring '{"path": "src/utils.ts", "line": 10, "column": 5, "newName": "newFunctionName"}'

# Run a configuration
mh -u http://localhost:64342/sse -t sse invoke executeRunConfiguration '{"name": "Run Tests"}'
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.