How to add MCP servers to JetBrains AI Assistant
JetBrains AI Assistant brings MCP servers into IntelliJ IDEA, PyCharm and the other JetBrains IDEs. Servers are added in Settings and can be imported from Claude Desktop.
Add an MCP server to JetBrains AI Assistant
- 1Open Settings | Tools | AI Assistant | Model Context Protocol (MCP) and click Add.
- 2Paste the JSON from the server page into the New MCP Server dialog.
- 3Choose Global or Project level, then apply.
Example: Codebase Memory
{
"mcpServers": {
"codebase-memory-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Set up once in the IDE, or import
- "Import from Claude" copies the servers from your Claude Desktop config.
- Each server can be global or per project, with its own working directory.
- Admins can preconfigure servers for a whole team through JetBrains IDE Services.
- The IDE can also act as an MCP server itself, so other clients can use its tools.
Where JetBrains AI Assistant keeps MCP servers
Settings | Tools | AI Assistant | Model Context ProtocolMCP
Check it loaded: Settings → MCP server status
Limits and settings
- Servers can be set at global or project level, each with its own working directory.
- SSE is supported for legacy servers.
- Admins can preconfigure servers through JetBrains IDE Services.
When a server does not work in JetBrains AI Assistant
- Check the Status column after clicking Apply; the tools icon lists what the server offers.
- Per-server logs are in the
mcpfolder under Help → Show Log in Finder/Explorer. - Use Reconnect, or uncheck and re-enable the server, after changing its config.
JetBrains AI Assistant MCP questions
How do I add an MCP server to JetBrains AI Assistant?
Open Settings → Tools → AI Assistant → Model Context Protocol (MCP), click Add, and paste the server's JSON.
Can I import servers from Claude Desktop?
Yes. Use "Import from Claude" to reuse the servers already in your Claude Desktop config.
Which IDEs are supported?
JetBrains IDEs with AI Assistant, such as IntelliJ IDEA, PyCharm, WebStorm and GoLand.
Where are the MCP logs?
In the mcp folder of the IDE logs: Help → Show Log in Finder (macOS) or Show Log in Explorer (Windows).
Popular MCP servers for JetBrains AI Assistant
- 1
Provides a local knowledge graph that connects source code, documentation, and infrastructure to give AI agents structural context.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "codebase-memory-mcp": { "command": "npx", "args": [ "-y", "codebase-memory-mcp" ] } } } - 2
Securely execute LLM-generated code in isolated containers or local Linux and Windows sandboxes across multiple programming languages.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "llm-sandbox": { "command": "uvx", "args": [ "llm-sandbox" ] } } } - 3
Lets an AI client create, inspect, validate, and save editable 3D building scenes, including walls, rooms, doors, and furnishings.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "editor": { "command": "npx", "args": [ "-y", "@pascal-app/mcp" ] } } } - 4
Lets AI agents search, run, and read results from thousands of web scraping and automation Actors on Apify Store.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "apify-mcp-server": { "url": "https://mcp.apify.com/" } } } - 5
Provides AST-based semantic code search for local repositories using incremental re-indexing and natural language queries.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "cocoindex-code": { "command": "uvx", "args": [ "cocoindex-code" ] } } } - 6
Lets an AI client read and change Google Ads, Reddit Ads and GA4 campaigns, with a preview shown before every change.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "adloop": { "command": "uvx", "args": [ "adloop" ] } } } - 7
An agent meta-harness that provides Claude Code and Codex with specialized agent swarms, self-learning memory, and enterprise security guardrails.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "claude-flow": { "command": "npx", "args": [ "-y", "claude-flow" ] } } } - 8
Enables LLMs to interact with web pages through structured accessibility snapshots using Playwright browser automation.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "playwright-mcp": { "command": "npx", "args": [ "-y", "@playwright/mcp" ] } } } - 9
Allows an AI client to interact with Bitbucket Data Center repositories and code through the Model Context Protocol.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "atlassian-dc-mcp": { "command": "npx", "args": [ "-y", "@atlassian-dc-mcp/bitbucket" ] } } } - 10
Lets an AI agent draw and edit draw.io diagrams on a live browser canvas that you can also edit by hand.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "next-ai-drawio": { "command": "npx", "args": [ "-y", "@next-ai-drawio/mcp-server" ] } } } - 11
Packs a local or remote codebase into a single AI-friendly file with token counts so LLMs and coding agents can read or search it.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "repomix": { "command": "npx", "args": [ "-y", "repomix" ] } } } - 12
Connects AI agents and IDEs to enterprise databases using prebuilt tools or a custom framework for secure, structured queries.
Config for JetBrains AI Assistant
Settings › Tools › AI Assistant › MCP{ "mcpServers": { "mcp-toolbox": { "command": "docker", "args": [ "run", "-i", "--rm", "us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.17.0" ] } } }