JetBrains (Junie & AI Assistant) Integration

Updated today

โ€ข

1 min read

Connect Perfect Wiki to JetBrains IDEs, and Junie or AI Assistant reads your team's guidelines and specs while you code.

How to connect

  1. In Junie, open Settings | Tools | Junie | MCP Settings and click +, or edit ~/.junie/mcp/mcp.json (all projects) or .junie/mcp/mcp.json (one project).
  2. Add perfect-wiki with "url": "https://api.perfectwiki.xyz/mcp". To authorize from the Junie CLI, run /mcp, select perfect-wiki and choose Authorize, then sign in to Perfect Wiki and allow access.
  3. For AI Assistant, open Settings | Tools | AI Assistant | Model Context Protocol (MCP), click Add and paste the JSON with your API token below.
  4. Ask in chat, for example "Check Perfect Wiki for our Kotlin error-handling guidelines."

AI Assistant or Junie with an API token

{
  "mcpServers": {
    "perfect-wiki": {
      "url": "https://api.perfectwiki.xyz/mcp",
      "headers": { "Authorization": "Bearer your-api-token" }
    }
  }
}

Generate the token in the Perfect Wiki settings of the knowledge base you want to expose. Each token covers one knowledge base and has read & write access.

Tip: Junie can also move your old wiki or a docs folder into Perfect Wiki: ๐Ÿค– Import with an AI agent (ChatGPT, Claude, Codexโ€ฆ)

More: ๐Ÿ”Œ Perfect Wiki MCP Server ยท JetBrains MCP docs

Was this page helpful?