---
title: "JetBrains AI Assistant MCP config: file path, key, example · DotsAgent"
description: "Add MCP servers to JetBrains AI Assistant from JetBrains: where the config file lives, the top-level key and format, remote OAuth support and a sample config."
url: https://dotsagent.io/mcp/clients/jetbrains-ai
---

JetBrains

# Add MCP servers to JetBrains AI Assistant

JetBrains AI Assistant takes MCP servers in its settings screen, where you paste JSON in the mcpServers shape.

- **Where**: Open Settings > Tools > AI Assistant > Model Context Protocol (MCP), click Add and paste the JSON, using a url for remote servers.
- **Top-level key**: `mcpServers`
- **Format**: json (pasted in UI)
- **OAuth for remote servers**: 

## Example config

This example adds GitHub's hosted server and Playwright as a local server, in the shape this client expects.

`Settings → Tools → AI Assistant → Model Context Protocol (MCP)`

```
{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/"
    },
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}
```

## Notes and quirks

- Servers can be added at global or project level.
- An Import from Claude option is available.
- Remote entries take a url; one ending in /sse is treated as SSE.
- Header and OAuth support for remote servers isn't documented.
- The IDE can also act as an MCP server itself, under Settings | Tools | MCP Server.

[Build a JetBrains AI Assistant config →](https://dotsagent.io/mcp/config#client=jetbrains-ai)

## Other clients

[Claude Desktop](https://dotsagent.io/mcp/clients/claude-desktop)

[Claude Code](https://dotsagent.io/mcp/clients/claude-code)

[Cursor](https://dotsagent.io/mcp/clients/cursor)

[VS Code (GitHub Copilot)](https://dotsagent.io/mcp/clients/vscode-copilot)

[Windsurf / Devin Desktop](https://dotsagent.io/mcp/clients/windsurf)

[Zed](https://dotsagent.io/mcp/clients/zed)

[OpenAI Codex CLI](https://dotsagent.io/mcp/clients/codex-cli)

[Gemini CLI](https://dotsagent.io/mcp/clients/gemini-cli)

[ChatGPT](https://dotsagent.io/mcp/clients/chatgpt)

[OpenClaw](https://dotsagent.io/mcp/clients/openclaw)

[Cline](https://dotsagent.io/mcp/clients/cline)

[Continue](https://dotsagent.io/mcp/clients/continue)

## Sources

1. [jetbrains.com](https://www.jetbrains.com/help/ai-assistant/mcp.html)/help/ai-assistant/mcp.html
2. [jetbrains.com](https://www.jetbrains.com/help/ai-assistant/settings-reference-mcp.html)/help/ai-assistant/settings-reference-mcp.html

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026
