MJO · Connect guide · JetBrains IDEs
How to connect an MCP server to JetBrains IDEs
In JetBrains IDEs, MCP servers are added to AI Assistant from its settings page, as a small JSON block. A remote server is an HTTP (Streamable HTTP) entry with a url.
For MCP Journey Optimization, JetBrains sits between the file-based and the form-based clients: a dialog, but JSON inside it. The comparison with every other client is in the field guide.
What you need
- A JetBrains IDE with AI Assistant. The steps below are from the AI Assistant 2026.3 help.
- JetBrains says an organisation using JetBrains IDE Services or JetBrains Central may preconfigure servers or block adding your own.
- The server address, e.g. for the CrushedWithIt server,
<your server URL>.
Steps
- Open Settings | Tools | AI Assistant | Model Context Protocol (MCP). (Or type / in the AI chat and select Add Command.)
- Click Add.
- Choose the HTTP transport and enter the JSON:
{ "mcpServers": { "crushedwithit": { "url": "<your server URL>" } } } - Click OK, then Apply to start the server and connect.
- Check the Status column. Click its icon to see the server's tools.
- Set the Level column (chevron) to global or the current project.
Already use Claude Desktop? Import from Claude copies your existing servers. Turning on Automatically enable new and changed MCP servers starts new or changed servers automatically.
Not to be confused with: the IDE as an MCP server
JetBrains' MCP page also covers the reverse direction, "Use your IDE as an MCP server", where outside clients such as Claude Code, Junie or VS Code connect to the IDE. That is a different setting. This guide is about AI Assistant connecting out to a remote server such as CrushedWithIt. If you landed on the wrong section of the settings, look for the Model Context Protocol (MCP) page under AI Assistant.
Try it
JetBrains says the AI calls server tools automatically when they fit your request, or you can run them with a / command in the chat. With the CrushedWithIt server as the example:
Use the crushedwithit tools to show my account and how many credits I can spend now.
Common errors and fixes
| What you see | Fix | Basis |
|---|---|---|
| Server not connecting | Check the Status column, then open the logs: Help > Show Log in Finder (macOS) or Show Log in Explorer (Windows), and open the mcp folder; there is a log per server. | JetBrains docs |
| Connection dropped | Select the server and click Reconnect. | JetBrains docs |
| Can't add a server | Your organisation may manage servers through IDE Services or JetBrains Central. Ask its admin. | JetBrains docs |
Server URL ends in /sse | That's a legacy SSE server; JetBrains supports it with the same url key. | JetBrains docs |
| Sign-in or API key needed | JetBrains' MCP page does not describe OAuth or custom headers. General: follow the provider's instructions, and check the server log if the status shows an error. | General (not in the docs) |
How to disconnect
- Stop: clear the server's checkbox and click Apply.
- Remove: JetBrains' page doesn't describe deleting a server. The settings list is where it would be; we will update this guide once the step is confirmed.
Sources
- JetBrains AI Assistant help: Model Context Protocol (MCP), checked 26 Nov 2026.
- MCP authorization specification.
Other clients: the MCP field guide compares all ten. The framework: MCP Journey Optimization (MJO).