JetBrains AI (Junie) MCP Setup: Connect MCP Servers to JetBrains AI (Junie)
What it is
JetBrains' AI Assistant and the Junie coding agent, which bring model-powered help into IntelliJ, PyCharm, and the other JetBrains IDEs.
How MCP works in JetBrains AI (Junie)
Junie and JetBrains AI Assistant are MCP clients. Servers can be added from the settings UI or by editing an mcp.json file, at project or user scope; run /mcp in Junie CLI to verify.
Config file location
.junie/mcp/mcp.json (project) or ~/.junie/mcp/mcp.json (user) holds an mcpServers object.
Add your first server
A good first server is Playwright MCP — Microsoft's browser automation server. It runs locally over stdio via npx, needs no API key, and gives the agent a real browser to drive. Here is the verified JetBrains AI (Junie) config:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}
}
}Restart or reload JetBrains AI (Junie) after saving, then confirm the server's tools show up. Swap in any other server from the directory using the same structure.
Transports & platforms
| Transports | stdio, SSE, Streamable HTTP |
|---|---|
| Platforms | macOS, Windows, Linux |
| License | Proprietary |
| Vendor | JetBrains |
FAQ
Does JetBrains AI (Junie) support MCP?
Yes. JetBrains AI (Junie) works as an MCP client over stdio, SSE, Streamable HTTP. Junie and JetBrains AI Assistant are MCP clients. Servers can be added from the settings UI or by editing an mcp.json file, at project or user scope; run /mcp in Junie CLI to verify.
Where is the JetBrains AI (Junie) MCP config?
.junie/mcp/mcp.json (project) or ~/.junie/mcp/mcp.json (user) holds an mcpServers object. The verified example above shows the exact structure it expects.
Which MCP servers work with JetBrains AI (Junie)?
Any server that speaks a transport JetBrains AI (Junie) supports (stdio, SSE, Streamable HTTP). Browse the MCP server directory on this site to find databases, browser automation, API integrations, and dev tools, then add them using the config format above.