Sachin Uppal

MJO · Connect guide · JetBrains IDEs

How to connect an MCP server to JetBrains IDEs

By Sachin Uppal · 26 November 2026 · 3 min read · vendor docs checked 26 Nov 2026

MCP Journey Optimization (MJO), a term coined by Sachin Uppal, is the discipline of designing and measuring every step a person takes to find, connect, authorize, pay for and keep using a product inside an AI client such as Claude, ChatGPT, Gemini or an IDE over the Model Context Protocol.

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

Steps

  1. Open Settings | Tools | AI Assistant | Model Context Protocol (MCP). (Or type / in the AI chat and select Add Command.)
  2. Click Add.
  3. Choose the HTTP transport and enter the JSON:
    {
      "mcpServers": {
        "crushedwithit": {
          "url": "<your server URL>"
        }
      }
    }
  4. Click OK, then Apply to start the server and connect.
  5. Check the Status column. Click its icon to see the server's tools.
  6. 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 seeFixBasis
Server not connectingCheck 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 droppedSelect the server and click Reconnect.JetBrains docs
Can't add a serverYour organisation may manage servers through IDE Services or JetBrains Central. Ask its admin.JetBrains docs
Server URL ends in /sseThat's a legacy SSE server; JetBrains supports it with the same url key.JetBrains docs
Sign-in or API key neededJetBrains' 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

Sources

Unclear in the docs on the day we checked: how AI Assistant handles OAuth sign-in or headers for a remote server, plan or subscription requirements, and how to delete a server. Screenshots are being added.

Other clients: the MCP field guide compares all ten. The framework: MCP Journey Optimization (MJO).

Cite as: Uppal, S. (2026). How to connect an MCP server to JetBrains IDEs. sachinuppal.com.