> For the complete documentation index, see [llms.txt](https://www.cakewalk.security/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.cakewalk.security/docs/ai-agent-access/connections-and-integrations/agent-platforms/jetbrains.md).

# JetBrains

JetBrains AI Assistant reads MCP server config from the IDE settings. Paste one JSON snippet, click Apply, then the IDE connects to the Cakewalk gateway. Applies to IntelliJ IDEA, PyCharm, WebStorm, Android Studio and other JetBrains IDEs running AI Assistant 2026.1 or later.

## Install Method

JSON config pasted into the IDE settings dialog. The IDE manages the config file behind the settings panel.

## Step 1: Open the MCP Settings

In your JetBrains IDE, go to **Settings | Tools | AI Assistant | Model Context Protocol (MCP)** and click **Add**.

## Step 2: Paste the Cakewalk Gateway Snippet

In the dialog, paste:

```json
{
  "mcpServers": {
    "cakewalk": {
      "url": "https://mcp-gateway.getcakewalk.io/mcp"
    }
  }
}
```

## Step 3: Apply

Click **Apply**. The IDE starts the configured server and establishes the connection.

## Verifying It Works

In the same MCP settings page, the cakewalk entry appears with its connection status in the **Status** column. Click the icon in the Status column to review the list of tools the server exposes. In Cakewalk, the JetBrains card on **My Agents** flips to **Connected** after the first agent call.

## Troubleshooting

* **Status column shows the server is not connected:** open the JSON dialog and confirm the snippet parses cleanly and the gateway URL has no typo.
* **Server starts but no tools appear:** click the icon in the Status column to refresh the tool list. If empty, check the IDE's AI Assistant log for connection errors.

## Learn more

* [Configure an MCP server in AI Assistant](https://www.jetbrains.com/help/ai-assistant/configure-an-mcp-server.html) from JetBrains.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.cakewalk.security/docs/ai-agent-access/connections-and-integrations/agent-platforms/jetbrains.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
